0s autopkgtest [12:35:08]: starting date and time: 2024-11-13 12:35:08+0000 0s autopkgtest [12:35:08]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [12:35:08]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.eqju47q8/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-ppc64el-15.secgroup --name adt-plucky-ppc64el-glib2.0-20241113-123508-juju-7f2275-prod-proposed-migration-environment-15-e44635f6-3cc2-45fb-8f64-3dd1fcfe7f7e --image adt/ubuntu-plucky-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-ppc64el -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/ 108s autopkgtest [12:36:56]: testbed dpkg architecture: ppc64el 108s autopkgtest [12:36:56]: testbed apt version: 2.9.8 108s autopkgtest [12:36:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 109s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 109s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 110s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [967 kB] 110s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 110s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 110s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [107 kB] 110s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [668 kB] 110s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [20.4 kB] 110s Fetched 1963 kB in 1s (2065 kB/s) 110s Reading package lists... 112s Reading package lists... 113s Building dependency tree... 113s Reading state information... 113s Calculating upgrade... 113s The following NEW packages will be installed: 113s python3.13-gdbm 113s The following packages will be upgraded: 113s libpython3-stdlib python3 python3-gdbm python3-minimal 113s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 113s Need to get 102 kB of archives. 113s After this operation, 141 kB of additional disk space will be used. 113s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-minimal ppc64el 3.12.7-1 [27.4 kB] 113s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3 ppc64el 3.12.7-1 [24.0 kB] 113s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-stdlib ppc64el 3.12.7-1 [10.0 kB] 113s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-gdbm ppc64el 3.13.0-2 [31.5 kB] 113s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-gdbm ppc64el 3.12.7-1 [8640 B] 114s Fetched 102 kB in 0s (271 kB/s) 114s (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 ... 73767 files and directories currently installed.) 114s Preparing to unpack .../python3-minimal_3.12.7-1_ppc64el.deb ... 114s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 114s Setting up python3-minimal (3.12.7-1) ... 114s (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 ... 73767 files and directories currently installed.) 114s Preparing to unpack .../python3_3.12.7-1_ppc64el.deb ... 114s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 114s Preparing to unpack .../libpython3-stdlib_3.12.7-1_ppc64el.deb ... 114s Unpacking libpython3-stdlib:ppc64el (3.12.7-1) over (3.12.6-0ubuntu1) ... 114s Selecting previously unselected package python3.13-gdbm. 114s Preparing to unpack .../python3.13-gdbm_3.13.0-2_ppc64el.deb ... 114s Unpacking python3.13-gdbm (3.13.0-2) ... 114s Preparing to unpack .../python3-gdbm_3.12.7-1_ppc64el.deb ... 114s Unpacking python3-gdbm:ppc64el (3.12.7-1) over (3.12.6-1ubuntu1) ... 114s Setting up python3.13-gdbm (3.13.0-2) ... 114s Setting up libpython3-stdlib:ppc64el (3.12.7-1) ... 114s Setting up python3 (3.12.7-1) ... 114s Setting up python3-gdbm:ppc64el (3.12.7-1) ... 114s Processing triggers for man-db (2.12.1-3) ... 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 116s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 116s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 116s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 116s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 117s Reading package lists... 117s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s Calculating upgrade... 118s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 121s autopkgtest [12:37:09]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 13:49:23 UTC 2024 121s autopkgtest [12:37:09]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 129s Get:1 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (dsc) [4656 B] 129s Get:2 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (tar) [263 kB] 129s Get:3 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (tar) [5554 kB] 129s Get:4 http://ftpmaster.internal/ubuntu plucky/main glib2.0 2.82.1-0ubuntu1 (diff) [132 kB] 130s gpgv: Signature made Tue Sep 24 13:26:08 2024 UTC 130s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 130s gpgv: Can't check signature: No public key 130s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.82.1-0ubuntu1.dsc: no acceptable signature found 130s autopkgtest [12:37:18]: testing package glib2.0 version 2.82.1-0ubuntu1 131s autopkgtest [12:37:19]: build not needed 133s autopkgtest [12:37:21]: test build: preparing testbed 134s Reading package lists... 135s Building dependency tree... 135s Reading state information... 135s Starting pkgProblemResolver with broken count: 0 135s Starting 2 pkgProblemResolver with broken count: 0 135s Done 135s The following additional packages will be installed: 135s build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 135s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 135s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 135s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libcc1-0 libffi-dev 135s libgcc-14-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 135s libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 135s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 135s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 135s libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf pkgconf-bin 135s python3-packaging uuid-dev zlib1g-dev 135s Suggested packages: 135s cpp-doc gcc-14-locales cpp-14-doc gcc-14-doc gcc-multilib manpages-dev 135s autoconf automake libtool flex bison gdb gcc-doc gdb-powerpc64le-linux-gnu 135s gir1.2-glib-2.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin libxml2-utils 135s libstdc++-14-doc 135s The following NEW packages will be installed: 135s autopkgtest-satdep build-essential cpp cpp-14 cpp-14-powerpc64le-linux-gnu 135s cpp-powerpc64le-linux-gnu g++ g++-14 g++-14-powerpc64le-linux-gnu 135s g++-powerpc64le-linux-gnu gcc gcc-14 gcc-14-powerpc64le-linux-gnu 135s gcc-powerpc64le-linux-gnu libasan8 libblkid-dev libcc1-0 libffi-dev 135s libgcc-14-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 135s libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 135s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 135s libquadmath0 libselinux1-dev libsepol-dev libstdc++-14-dev 135s libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf pkgconf-bin 135s python3-packaging uuid-dev zlib1g-dev 135s 0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded. 135s Need to get 63.5 MB/63.5 MB of archives. 135s After this operation, 236 MB of additional disk space will be used. 135s Get:1 /tmp/autopkgtest.4RlHhU/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 135s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 136s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmpc3 ppc64el 1.3.1-1build2 [62.1 kB] 136s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [10.5 MB] 136s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-14 ppc64el 14.2.0-8ubuntu1 [1034 B] 136s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [5456 B] 136s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el cpp ppc64el 4:14.1.0-2ubuntu1 [22.5 kB] 136s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libcc1-0 ppc64el 14.2.0-8ubuntu1 [48.1 kB] 136s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgomp1 ppc64el 14.2.0-8ubuntu1 [161 kB] 136s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libitm1 ppc64el 14.2.0-8ubuntu1 [31.9 kB] 136s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libasan8 ppc64el 14.2.0-8ubuntu1 [2945 kB] 136s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el liblsan0 ppc64el 14.2.0-8ubuntu1 [1322 kB] 136s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libtsan2 ppc64el 14.2.0-8ubuntu1 [2695 kB] 136s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libubsan1 ppc64el 14.2.0-8ubuntu1 [1191 kB] 136s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libquadmath0 ppc64el 14.2.0-8ubuntu1 [158 kB] 136s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgcc-14-dev ppc64el 14.2.0-8ubuntu1 [1619 kB] 136s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [20.6 MB] 137s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-14 ppc64el 14.2.0-8ubuntu1 [528 kB] 137s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [1222 B] 137s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el gcc ppc64el 4:14.1.0-2ubuntu1 [5006 B] 137s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el libstdc++-14-dev ppc64el 14.2.0-8ubuntu1 [2673 kB] 137s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14-powerpc64le-linux-gnu ppc64el 14.2.0-8ubuntu1 [12.0 MB] 137s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-14 ppc64el 14.2.0-8ubuntu1 [19.9 kB] 137s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:14.1.0-2ubuntu1 [968 B] 137s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el g++ ppc64el 4:14.1.0-2ubuntu1 [1090 B] 137s Get:26 http://ftpmaster.internal/ubuntu plucky/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 137s Get:27 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.82.1-0ubuntu1 [84.0 kB] 137s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-bin ppc64el 2.82.1-0ubuntu1 [110 kB] 137s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el libffi-dev ppc64el 3.4.6-1build1 [67.5 kB] 137s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 137s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev-bin ppc64el 2.82.1-0ubuntu1 [141 kB] 137s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el uuid-dev ppc64el 2.40.2-1ubuntu1 [55.1 kB] 137s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el libblkid-dev ppc64el 2.40.2-1ubuntu1 [277 kB] 137s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsepol-dev ppc64el 3.7-1 [502 kB] 137s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu3 [254 kB] 137s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu3 [238 kB] 137s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu3 [7108 B] 137s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu3 [817 kB] 138s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libselinux1-dev ppc64el 3.5-2ubuntu5 [191 kB] 138s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libmount-dev ppc64el 2.40.2-1ubuntu1 [33.0 kB] 138s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsysprof-capture-4-dev ppc64el 47.0-2 [61.4 kB] 138s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 138s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 138s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 138s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 138s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev ppc64el 2.82.1-0ubuntu1 [2246 kB] 138s Fetched 63.5 MB in 2s (26.8 MB/s) 138s Selecting previously unselected package libisl23:ppc64el. 138s (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 ... 73774 files and directories currently installed.) 138s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 138s Unpacking libisl23:ppc64el (0.27-1) ... 138s Selecting previously unselected package libmpc3:ppc64el. 138s Preparing to unpack .../01-libmpc3_1.3.1-1build2_ppc64el.deb ... 138s Unpacking libmpc3:ppc64el (1.3.1-1build2) ... 138s Selecting previously unselected package cpp-14-powerpc64le-linux-gnu. 138s Preparing to unpack .../02-cpp-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking cpp-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package cpp-14. 138s Preparing to unpack .../03-cpp-14_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 138s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 138s Unpacking cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 138s Selecting previously unselected package cpp. 138s Preparing to unpack .../05-cpp_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 138s Unpacking cpp (4:14.1.0-2ubuntu1) ... 138s Selecting previously unselected package libcc1-0:ppc64el. 138s Preparing to unpack .../06-libcc1-0_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking libcc1-0:ppc64el (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package libgomp1:ppc64el. 138s Preparing to unpack .../07-libgomp1_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking libgomp1:ppc64el (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package libitm1:ppc64el. 138s Preparing to unpack .../08-libitm1_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking libitm1:ppc64el (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package libasan8:ppc64el. 138s Preparing to unpack .../09-libasan8_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking libasan8:ppc64el (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package liblsan0:ppc64el. 138s Preparing to unpack .../10-liblsan0_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking liblsan0:ppc64el (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package libtsan2:ppc64el. 138s Preparing to unpack .../11-libtsan2_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking libtsan2:ppc64el (14.2.0-8ubuntu1) ... 138s Selecting previously unselected package libubsan1:ppc64el. 138s Preparing to unpack .../12-libubsan1_14.2.0-8ubuntu1_ppc64el.deb ... 138s Unpacking libubsan1:ppc64el (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package libquadmath0:ppc64el. 139s Preparing to unpack .../13-libquadmath0_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking libquadmath0:ppc64el (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package libgcc-14-dev:ppc64el. 139s Preparing to unpack .../14-libgcc-14-dev_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking libgcc-14-dev:ppc64el (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package gcc-14-powerpc64le-linux-gnu. 139s Preparing to unpack .../15-gcc-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking gcc-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package gcc-14. 139s Preparing to unpack .../16-gcc-14_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 139s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 139s Unpacking gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 139s Selecting previously unselected package gcc. 139s Preparing to unpack .../18-gcc_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 139s Unpacking gcc (4:14.1.0-2ubuntu1) ... 139s Selecting previously unselected package libstdc++-14-dev:ppc64el. 139s Preparing to unpack .../19-libstdc++-14-dev_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking libstdc++-14-dev:ppc64el (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package g++-14-powerpc64le-linux-gnu. 139s Preparing to unpack .../20-g++-14-powerpc64le-linux-gnu_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking g++-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package g++-14. 139s Preparing to unpack .../21-g++-14_14.2.0-8ubuntu1_ppc64el.deb ... 139s Unpacking g++-14 (14.2.0-8ubuntu1) ... 139s Selecting previously unselected package g++-powerpc64le-linux-gnu. 139s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 139s Unpacking g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 139s Selecting previously unselected package g++. 139s Preparing to unpack .../23-g++_4%3a14.1.0-2ubuntu1_ppc64el.deb ... 139s Unpacking g++ (4:14.1.0-2ubuntu1) ... 139s Selecting previously unselected package build-essential. 139s Preparing to unpack .../24-build-essential_12.10ubuntu1_ppc64el.deb ... 139s Unpacking build-essential (12.10ubuntu1) ... 139s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 139s Preparing to unpack .../25-libgirepository-2.0-0_2.82.1-0ubuntu1_ppc64el.deb ... 139s Unpacking libgirepository-2.0-0:ppc64el (2.82.1-0ubuntu1) ... 139s Selecting previously unselected package libglib2.0-bin. 139s Preparing to unpack .../26-libglib2.0-bin_2.82.1-0ubuntu1_ppc64el.deb ... 139s Unpacking libglib2.0-bin (2.82.1-0ubuntu1) ... 140s Selecting previously unselected package libffi-dev:ppc64el. 140s Preparing to unpack .../27-libffi-dev_3.4.6-1build1_ppc64el.deb ... 140s Unpacking libffi-dev:ppc64el (3.4.6-1build1) ... 140s Selecting previously unselected package python3-packaging. 140s Preparing to unpack .../28-python3-packaging_24.1-1_all.deb ... 140s Unpacking python3-packaging (24.1-1) ... 140s Selecting previously unselected package libglib2.0-dev-bin. 140s Preparing to unpack .../29-libglib2.0-dev-bin_2.82.1-0ubuntu1_ppc64el.deb ... 140s Unpacking libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 140s Selecting previously unselected package uuid-dev:ppc64el. 140s Preparing to unpack .../30-uuid-dev_2.40.2-1ubuntu1_ppc64el.deb ... 140s Unpacking uuid-dev:ppc64el (2.40.2-1ubuntu1) ... 140s Selecting previously unselected package libblkid-dev:ppc64el. 140s Preparing to unpack .../31-libblkid-dev_2.40.2-1ubuntu1_ppc64el.deb ... 140s Unpacking libblkid-dev:ppc64el (2.40.2-1ubuntu1) ... 140s Selecting previously unselected package libsepol-dev:ppc64el. 140s Preparing to unpack .../32-libsepol-dev_3.7-1_ppc64el.deb ... 140s Unpacking libsepol-dev:ppc64el (3.7-1) ... 140s Selecting previously unselected package libpcre2-16-0:ppc64el. 140s Preparing to unpack .../33-libpcre2-16-0_10.42-4ubuntu3_ppc64el.deb ... 140s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 140s Selecting previously unselected package libpcre2-32-0:ppc64el. 140s Preparing to unpack .../34-libpcre2-32-0_10.42-4ubuntu3_ppc64el.deb ... 140s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 140s Selecting previously unselected package libpcre2-posix3:ppc64el. 140s Preparing to unpack .../35-libpcre2-posix3_10.42-4ubuntu3_ppc64el.deb ... 140s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 140s Selecting previously unselected package libpcre2-dev:ppc64el. 140s Preparing to unpack .../36-libpcre2-dev_10.42-4ubuntu3_ppc64el.deb ... 140s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 140s Selecting previously unselected package libselinux1-dev:ppc64el. 140s Preparing to unpack .../37-libselinux1-dev_3.5-2ubuntu5_ppc64el.deb ... 140s Unpacking libselinux1-dev:ppc64el (3.5-2ubuntu5) ... 140s Selecting previously unselected package libmount-dev:ppc64el. 140s Preparing to unpack .../38-libmount-dev_2.40.2-1ubuntu1_ppc64el.deb ... 140s Unpacking libmount-dev:ppc64el (2.40.2-1ubuntu1) ... 140s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 140s Preparing to unpack .../39-libsysprof-capture-4-dev_47.0-2_ppc64el.deb ... 140s Unpacking libsysprof-capture-4-dev:ppc64el (47.0-2) ... 140s Selecting previously unselected package libpkgconf3:ppc64el. 140s Preparing to unpack .../40-libpkgconf3_1.8.1-4_ppc64el.deb ... 140s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 140s Selecting previously unselected package pkgconf-bin. 140s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_ppc64el.deb ... 140s Unpacking pkgconf-bin (1.8.1-4) ... 140s Selecting previously unselected package pkgconf:ppc64el. 140s Preparing to unpack .../42-pkgconf_1.8.1-4_ppc64el.deb ... 140s Unpacking pkgconf:ppc64el (1.8.1-4) ... 140s Selecting previously unselected package zlib1g-dev:ppc64el. 140s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 140s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 140s Selecting previously unselected package libglib2.0-dev:ppc64el. 140s Preparing to unpack .../44-libglib2.0-dev_2.82.1-0ubuntu1_ppc64el.deb ... 140s Unpacking libglib2.0-dev:ppc64el (2.82.1-0ubuntu1) ... 140s Selecting previously unselected package autopkgtest-satdep. 140s Preparing to unpack .../45-1-autopkgtest-satdep.deb ... 140s Unpacking autopkgtest-satdep (0) ... 140s Setting up libgirepository-2.0-0:ppc64el (2.82.1-0ubuntu1) ... 140s Setting up libglib2.0-bin (2.82.1-0ubuntu1) ... 140s Setting up libgomp1:ppc64el (14.2.0-8ubuntu1) ... 140s Setting up libffi-dev:ppc64el (3.4.6-1build1) ... 140s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu3) ... 140s Setting up libsysprof-capture-4-dev:ppc64el (47.0-2) ... 140s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu3) ... 140s Setting up python3-packaging (24.1-1) ... 140s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 140s Setting up uuid-dev:ppc64el (2.40.2-1ubuntu1) ... 140s Setting up libquadmath0:ppc64el (14.2.0-8ubuntu1) ... 140s Setting up libmpc3:ppc64el (1.3.1-1build2) ... 140s Setting up libsepol-dev:ppc64el (3.7-1) ... 140s Setting up pkgconf-bin (1.8.1-4) ... 140s Setting up libubsan1:ppc64el (14.2.0-8ubuntu1) ... 140s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 140s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu3) ... 140s Setting up libasan8:ppc64el (14.2.0-8ubuntu1) ... 140s Setting up libtsan2:ppc64el (14.2.0-8ubuntu1) ... 140s Setting up libisl23:ppc64el (0.27-1) ... 140s Setting up libcc1-0:ppc64el (14.2.0-8ubuntu1) ... 140s Setting up liblsan0:ppc64el (14.2.0-8ubuntu1) ... 140s Setting up libitm1:ppc64el (14.2.0-8ubuntu1) ... 140s Setting up libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 140s Setting up libblkid-dev:ppc64el (2.40.2-1ubuntu1) ... 140s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu3) ... 140s Setting up libselinux1-dev:ppc64el (3.5-2ubuntu5) ... 140s Setting up pkgconf:ppc64el (1.8.1-4) ... 140s Setting up cpp-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 140s Setting up cpp-14 (14.2.0-8ubuntu1) ... 140s Setting up libgcc-14-dev:ppc64el (14.2.0-8ubuntu1) ... 140s Setting up libstdc++-14-dev:ppc64el (14.2.0-8ubuntu1) ... 140s Setting up libmount-dev:ppc64el (2.40.2-1ubuntu1) ... 140s Setting up cpp-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 140s Setting up gcc-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 140s Setting up g++-14-powerpc64le-linux-gnu (14.2.0-8ubuntu1) ... 140s Setting up gcc-14 (14.2.0-8ubuntu1) ... 140s Setting up libglib2.0-dev:ppc64el (2.82.1-0ubuntu1) ... 140s Setting up gcc-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 140s Setting up cpp (4:14.1.0-2ubuntu1) ... 140s Setting up g++-14 (14.2.0-8ubuntu1) ... 140s Setting up g++-powerpc64le-linux-gnu (4:14.1.0-2ubuntu1) ... 140s Setting up gcc (4:14.1.0-2ubuntu1) ... 140s Setting up g++ (4:14.1.0-2ubuntu1) ... 140s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 140s Setting up build-essential (12.10ubuntu1) ... 140s Processing triggers for libc-bin (2.40-1ubuntu3) ... 140s Processing triggers for man-db (2.12.1-3) ... 141s Processing triggers for libglib2.0-0t64:ppc64el (2.82.1-0ubuntu1) ... 141s No schema files found: doing nothing. 141s Processing triggers for install-info (7.1.1-1) ... 141s Setting up autopkgtest-satdep (0) ... 143s (Reading database ... 75928 files and directories currently installed.) 143s Removing autopkgtest-satdep (0) ... 144s autopkgtest [12:37:32]: test build: [----------------------- 144s + mode=dynamic 144s + getopt -o --long static -n debian/tests/build -- 144s + getopt_temp= -- 144s + eval set -- -- 144s + set -- -- 144s + true 144s + shift 144s + break 144s + mktemp -d 144s + WORKDIR=/tmp/tmp.ASp8WYyKky 144s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 144s + cd /tmp/tmp.ASp8WYyKky 144s + [ -n ] 144s + CROSS_COMPILE= 144s + cat 144s + cat 144s + cat 144s + cat 144s + cat 144s + cat 144s + cflags= 144s + pcflags= 144s + packages=glib-2.0 144s + pkg-config --cflags --libs glib-2.0 144s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 144s + echo build (glib, dynamic): OK 144s + [ -x glib-dynamic ] 144s + foo=bar ./glib-dynamic 144s build (glib, dynamic): OK 144s + echo run (glib, dynamic): OK 144s + cflags= 144s + pcflags= 144s + packages=gobject-2.0 144s run (glib, dynamic): OK 144s + pkg-config --cflags --libs gobject-2.0 144s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 145s + echo build (gobject, dynamic): OK 145s + [ -x gobject-dynamic ] 145s + foo=bar ./gobject-dynamic 145s build (gobject, dynamic): OK 145s + echo run (gobject, dynamic): OK 145s + cflags= 145s + pcflags= 145s + packages=gio-2.0 145s run (gobject, dynamic): OK 145s + pkg-config --cflags --libs gio-2.0 145s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 145s + echo build (gio, dynamic): OK 145s + [ -x gio-dynamic ] 145s + foo=bar ./gio-dynamic 145s build (gio, dynamic): OK 145s + echo run (gio, dynamic): OK 145s + cflags= 145s + pcflags= 145s + packages=gio-unix-2.0 145s run (gio, dynamic): OK 145s + pkg-config --cflags --libs gio-unix-2.0 145s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 145s build (gio-unix, dynamic): OK 145s + echo build (gio-unix, dynamic): OK 145s + [ -x gio-unix-dynamic ] 145s + foo=bar ./gio-unix-dynamic 145s + echo run (gio-unix, dynamic): OK 145s + cflags= 145s + pcflags= 145s + packages=gmodule-2.0 145s run (gio-unix, dynamic): OK 145s + pkg-config --cflags --libs gmodule-2.0 145s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 145s + echo build (gmodule, dynamic): OK 145s + [ -x gmodule-dynamic ] 145s + foo=bar ./gmodule-dynamic 145s build (gmodule, dynamic): OK 145s + echo run (gmodule, dynamic): OK 145s + cflags= 145s + pcflags= 145s + packages=gthread-2.0 145s + pkg-config --cflags --libs gthread-2.0 145s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 145s run (gmodule, dynamic): OK 145s build (gthread, dynamic): OK 145s + echo build (gthread, dynamic): OK 145s + [ -x gthread-dynamic ] 145s + foo=bar ./gthread-dynamic 145s + echo run (gthread, dynamic): OK 145s + rm -rf /tmp/tmp.ASp8WYyKky 145s run (gthread, dynamic): OK 145s autopkgtest [12:37:33]: test build: -----------------------] 146s build PASS (superficial) 146s autopkgtest [12:37:34]: test build: - - - - - - - - - - results - - - - - - - - - - 146s autopkgtest [12:37:34]: test build-static: preparing testbed 149s Reading package lists... 149s Building dependency tree... 149s Reading state information... 150s Starting pkgProblemResolver with broken count: 0 150s Starting 2 pkgProblemResolver with broken count: 0 150s Done 150s The following NEW packages will be installed: 150s autopkgtest-satdep 150s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 150s Need to get 0 B/724 B of archives. 150s After this operation, 0 B of additional disk space will be used. 150s Get:1 /tmp/autopkgtest.4RlHhU/2-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 150s Selecting previously unselected package autopkgtest-satdep. 150s (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 ... 75928 files and directories currently installed.) 150s Preparing to unpack .../2-autopkgtest-satdep.deb ... 150s Unpacking autopkgtest-satdep (0) ... 150s Setting up autopkgtest-satdep (0) ... 152s (Reading database ... 75928 files and directories currently installed.) 152s Removing autopkgtest-satdep (0) ... 152s autopkgtest [12:37:40]: test build-static: [----------------------- 153s + mode=dynamic 153s + getopt -o --long static -n debian/tests/build -- --static 153s + getopt_temp= --static -- 153s + eval set -- --static -- 153s + set -- --static -- 153s + true 153s + mode=static 153s + shift 153s + continue 153s + true 153s + shift 153s + break 153s + mktemp -d 153s + WORKDIR=/tmp/tmp.lHuBT6p2tz 153s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 153s + cd /tmp/tmp.lHuBT6p2tz 153s + [ -n ] 153s + CROSS_COMPILE= 153s + cat 153s + cat 153s + cat 153s + cat 153s + cat 153s + cat 153s + cflags= 153s + pcflags= 153s + packages=glib-2.0 153s + cflags=-static 153s + pcflags=--static 153s + pkg-config --static --cflags --libs glib-2.0 153s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 153s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 153s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s + echo build (glib, static): OK 153s + [ -x glib-static ] 153s + foo=bar ./glib-static 153s + echo run (glib, static): OKbuild (glib, static): OK 153s 153s + run (glib, static): OK 153s cflags= 153s + pcflags= 153s + packages=gobject-2.0 153s + cflags=-static 153s + pcflags=--static 153s + pkg-config --static --cflags --libs gobject-2.0 153s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 153s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 153s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s + build (gobject, static): OK 153s echo build (gobject, static): OK 153s + [ -x gobject-static ] 153s + foo=bar ./gobject-static 153s + echo run (gobject, static): OKrun (gobject, static): OK 153s 153s + cflags= 153s + pcflags= 153s + packages=gio-2.0 153s + cflags=-static 153s + pcflags=--static 153s + continue 153s + cflags= 153s + pcflags= 153s + packages=gio-unix-2.0 153s + cflags=-static 153s + pcflags=--static 153s + continue 153s + cflags= 153s + pcflags= 153s + packages=gmodule-2.0 153s + cflags=-static 153s + pcflags=--static 153s + pkg-config --static --cflags --libs gmodule-2.0 153s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 153s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 153s (.text+0x914): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 153s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s build (gmodule, static): OK 153s + echo build (gmodule, static): OK 153s + [ -x gmodule-static ] 153s + foo=bar ./gmodule-static 153s + echo run (gmodule, static): OK 153s run (gmodule, static): OK 153s + cflags= 153s + pcflags= 153s + packages=gthread-2.0 153s + cflags=-static 153s + pcflags=--static 153s + pkg-config --static --cflags --libs gthread-2.0 153s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-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 153s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 153s (.text+0x150): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s /usr/bin/ld: (.text+0x428): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s /usr/bin/ld: (.text+0x194): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 153s build (gthread, static): OK 153s + echo build (gthread, static): OK 153s + [ -x gthread-static ] 153s + foo=bar ./gthread-static 153s + echo run (gthread, static): OK 153s + rm -rf /tmp/tmp.lHuBT6p2tz 153s run (gthread, static): OK 154s autopkgtest [12:37:42]: test build-static: -----------------------] 154s autopkgtest [12:37:42]: test build-static: - - - - - - - - - - results - - - - - - - - - - 154s build-static PASS (superficial) 155s autopkgtest [12:37:43]: test installed-tests: preparing testbed 277s autopkgtest [12:39:45]: testbed dpkg architecture: ppc64el 278s autopkgtest [12:39:46]: testbed apt version: 2.9.8 278s autopkgtest [12:39:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 278s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 279s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [967 kB] 279s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 279s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 279s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 279s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [107 kB] 279s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [668 kB] 279s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [20.4 kB] 279s Fetched 1963 kB in 1s (2218 kB/s) 279s Reading package lists... 281s Reading package lists... 282s Building dependency tree... 282s Reading state information... 282s Calculating upgrade... 282s The following NEW packages will be installed: 282s python3.13-gdbm 282s The following packages will be upgraded: 282s libpython3-stdlib python3 python3-gdbm python3-minimal 282s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 282s Need to get 102 kB of archives. 282s After this operation, 141 kB of additional disk space will be used. 282s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-minimal ppc64el 3.12.7-1 [27.4 kB] 282s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3 ppc64el 3.12.7-1 [24.0 kB] 282s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-stdlib ppc64el 3.12.7-1 [10.0 kB] 282s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-gdbm ppc64el 3.13.0-2 [31.5 kB] 282s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-gdbm ppc64el 3.12.7-1 [8640 B] 283s Fetched 102 kB in 0s (293 kB/s) 283s (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 ... 73767 files and directories currently installed.) 283s Preparing to unpack .../python3-minimal_3.12.7-1_ppc64el.deb ... 283s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 283s Setting up python3-minimal (3.12.7-1) ... 283s (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 ... 73767 files and directories currently installed.) 283s Preparing to unpack .../python3_3.12.7-1_ppc64el.deb ... 283s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 283s Preparing to unpack .../libpython3-stdlib_3.12.7-1_ppc64el.deb ... 283s Unpacking libpython3-stdlib:ppc64el (3.12.7-1) over (3.12.6-0ubuntu1) ... 283s Selecting previously unselected package python3.13-gdbm. 283s Preparing to unpack .../python3.13-gdbm_3.13.0-2_ppc64el.deb ... 283s Unpacking python3.13-gdbm (3.13.0-2) ... 283s Preparing to unpack .../python3-gdbm_3.12.7-1_ppc64el.deb ... 283s Unpacking python3-gdbm:ppc64el (3.12.7-1) over (3.12.6-1ubuntu1) ... 283s Setting up python3.13-gdbm (3.13.0-2) ... 283s Setting up libpython3-stdlib:ppc64el (3.12.7-1) ... 283s Setting up python3 (3.12.7-1) ... 284s Setting up python3-gdbm:ppc64el (3.12.7-1) ... 284s Processing triggers for man-db (2.12.1-3) ... 284s Reading package lists... 284s Building dependency tree... 284s Reading state information... 285s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 285s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 285s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 285s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 285s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 286s Reading package lists... 286s Reading package lists... 286s Building dependency tree... 286s Reading state information... 287s Calculating upgrade... 287s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 287s Reading package lists... 287s Building dependency tree... 287s Reading state information... 287s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 292s Reading package lists... 292s Building dependency tree... 292s Reading state information... 292s Starting pkgProblemResolver with broken count: 0 292s Starting 2 pkgProblemResolver with broken count: 0 292s Done 292s The following additional packages will be installed: 292s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 292s libdrm-radeon1 libfontenc1 libgbm1 libgirepository-2.0-0 libgl1 292s libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 292s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 292s libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 292s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 292s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 292s libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 292s python3-dbusmock python3-packaging x11-common x11-xkb-utils xserver-common 292s xvfb 292s Suggested packages: 292s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 292s Recommended packages: 292s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 292s xfonts-base 292s The following NEW packages will be installed: 292s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 292s libdrm-amdgpu1 libdrm-radeon1 libfontenc1 libgbm1 libgirepository-2.0-0 292s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 292s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 292s libvulkan1 libwayland-server0 libx11-xcb1 libxaw7 libxcb-dri2-0 292s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 292s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 292s libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium 292s python3-dbusmock python3-packaging x11-common x11-xkb-utils xserver-common 292s xvfb 292s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 292s Need to get 15.4 MB/15.4 MB of archives. 292s After this operation, 84.3 MB of additional disk space will be used. 292s Get:1 /tmp/autopkgtest.4RlHhU/3-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 293s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el dbus-x11 ppc64el 1.14.10-4ubuntu5 [24.4 kB] 293s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el desktop-file-utils ppc64el 0.27-2build1 [62.1 kB] 293s Get:4 http://ftpmaster.internal/ubuntu plucky/universe ppc64el gnome-desktop-testing ppc64el 2021.1-4 [17.7 kB] 293s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdrm-amdgpu1 ppc64el 2.4.123-1 [24.8 kB] 293s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdrm-radeon1 ppc64el 2.4.123-1 [29.0 kB] 293s Get:7 http://ftpmaster.internal/ubuntu plucky/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build1 [15.8 kB] 293s Get:8 http://ftpmaster.internal/ubuntu plucky/main ppc64el libwayland-server0 ppc64el 1.23.0-1 [41.3 kB] 293s Get:9 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-randr0 ppc64el 1.17.0-2 [19.1 kB] 293s Get:10 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglapi-mesa ppc64el 24.2.3-1ubuntu1 [43.7 kB] 293s Get:11 http://ftpmaster.internal/ubuntu plucky/main ppc64el libx11-xcb1 ppc64el 2:1.8.10-2 [8008 B] 293s Get:12 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-dri2-0 ppc64el 1.17.0-2 [7508 B] 293s Get:13 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2 [7842 B] 293s Get:14 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-present0 ppc64el 1.17.0-2 [6276 B] 293s Get:15 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-sync1 ppc64el 1.17.0-2 [9804 B] 293s Get:16 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2 [10.7 kB] 293s Get:17 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxshmfence1 ppc64el 1.3-1build5 [4964 B] 293s Get:18 http://ftpmaster.internal/ubuntu plucky/main ppc64el mesa-libgallium ppc64el 24.2.3-1ubuntu1 [9155 kB] 294s Get:19 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgbm1 ppc64el 24.2.3-1ubuntu1 [38.2 kB] 294s Get:20 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgirepository-2.0-0 ppc64el 2.82.1-0ubuntu1 [84.0 kB] 294s Get:21 http://ftpmaster.internal/ubuntu plucky/main ppc64el libvulkan1 ppc64el 1.3.296.0-1 [163 kB] 294s Get:22 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1-mesa-dri ppc64el 24.2.3-1ubuntu1 [34.5 kB] 294s Get:23 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-bin ppc64el 2.82.1-0ubuntu1 [110 kB] 294s Get:24 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3-packaging all 24.1-1 [41.4 kB] 294s Get:25 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglib2.0-dev-bin ppc64el 2.82.1-0ubuntu1 [141 kB] 294s Get:26 http://ftpmaster.internal/ubuntu plucky/universe ppc64el python3-dbusmock all 0.32.2-1 [90.6 kB] 294s Get:27 http://ftpmaster.internal/ubuntu plucky/universe ppc64el libglib2.0-tests ppc64el 2.82.1-0ubuntu1 [2205 kB] 294s Get:28 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-glx0 ppc64el 1.17.0-2 [26.3 kB] 294s Get:29 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxcb-shm0 ppc64el 1.17.0-2 [5980 B] 294s Get:30 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxfixes3 ppc64el 1:6.0.0-2build1 [11.8 kB] 294s Get:31 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build4 [11.1 kB] 294s Get:32 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx-mesa0 ppc64el 24.2.3-1ubuntu1 [186 kB] 294s Get:33 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-common all 1:7.7+23ubuntu3 [21.7 kB] 294s Get:34 http://ftpmaster.internal/ubuntu plucky/main ppc64el libice6 ppc64el 2:1.1.1-1 [49.9 kB] 294s Get:35 http://ftpmaster.internal/ubuntu plucky/main ppc64el libpixman-1-0 ppc64el 0.44.0-3 [334 kB] 294s Get:36 http://ftpmaster.internal/ubuntu plucky/main ppc64el libsm6 ppc64el 2:1.2.4-1 [18.4 kB] 294s Get:37 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB] 294s Get:38 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB] 294s Get:39 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxpm4 ppc64el 1:3.5.17-1build2 [49.9 kB] 294s Get:40 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxaw7 ppc64el 2:1.0.16-1 [230 kB] 294s Get:41 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxfont2 ppc64el 1:2.0.6-1build1 [116 kB] 294s Get:42 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build4 [88.9 kB] 294s Get:43 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1build1 [23.1 kB] 294s Get:44 http://ftpmaster.internal/ubuntu plucky/main ppc64el libxrandr2 ppc64el 2:1.5.4-1 [21.7 kB] 294s Get:45 http://ftpmaster.internal/ubuntu plucky/main ppc64el x11-xkb-utils ppc64el 7.7+9 [201 kB] 294s Get:46 http://ftpmaster.internal/ubuntu plucky/main ppc64el xserver-common all 2:21.1.14-1ubuntu1 [33.7 kB] 294s Get:47 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglvnd0 ppc64el 1.7.0-1build1 [72.4 kB] 294s Get:48 http://ftpmaster.internal/ubuntu plucky/main ppc64el libglx0 ppc64el 1.7.0-1build1 [42.7 kB] 294s Get:49 http://ftpmaster.internal/ubuntu plucky/main ppc64el libgl1 ppc64el 1.7.0-1build1 [107 kB] 294s Get:50 http://ftpmaster.internal/ubuntu plucky/universe ppc64el xvfb ppc64el 2:21.1.14-1ubuntu1 [1095 kB] 294s Fetched 15.4 MB in 1s (10.6 MB/s) 294s Selecting previously unselected package dbus-x11. 294s (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 ... 73774 files and directories currently installed.) 294s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu5_ppc64el.deb ... 294s Unpacking dbus-x11 (1.14.10-4ubuntu5) ... 294s Selecting previously unselected package desktop-file-utils. 294s Preparing to unpack .../01-desktop-file-utils_0.27-2build1_ppc64el.deb ... 294s Unpacking desktop-file-utils (0.27-2build1) ... 294s Selecting previously unselected package gnome-desktop-testing. 294s Preparing to unpack .../02-gnome-desktop-testing_2021.1-4_ppc64el.deb ... 294s Unpacking gnome-desktop-testing (2021.1-4) ... 294s Selecting previously unselected package libdrm-amdgpu1:ppc64el. 294s Preparing to unpack .../03-libdrm-amdgpu1_2.4.123-1_ppc64el.deb ... 294s Unpacking libdrm-amdgpu1:ppc64el (2.4.123-1) ... 294s Selecting previously unselected package libdrm-radeon1:ppc64el. 294s Preparing to unpack .../04-libdrm-radeon1_2.4.123-1_ppc64el.deb ... 294s Unpacking libdrm-radeon1:ppc64el (2.4.123-1) ... 294s Selecting previously unselected package libfontenc1:ppc64el. 294s Preparing to unpack .../05-libfontenc1_1%3a1.1.8-1build1_ppc64el.deb ... 294s Unpacking libfontenc1:ppc64el (1:1.1.8-1build1) ... 294s Selecting previously unselected package libwayland-server0:ppc64el. 294s Preparing to unpack .../06-libwayland-server0_1.23.0-1_ppc64el.deb ... 294s Unpacking libwayland-server0:ppc64el (1.23.0-1) ... 294s Selecting previously unselected package libxcb-randr0:ppc64el. 294s Preparing to unpack .../07-libxcb-randr0_1.17.0-2_ppc64el.deb ... 294s Unpacking libxcb-randr0:ppc64el (1.17.0-2) ... 294s Selecting previously unselected package libglapi-mesa:ppc64el. 294s Preparing to unpack .../08-libglapi-mesa_24.2.3-1ubuntu1_ppc64el.deb ... 294s Unpacking libglapi-mesa:ppc64el (24.2.3-1ubuntu1) ... 294s Selecting previously unselected package libx11-xcb1:ppc64el. 294s Preparing to unpack .../09-libx11-xcb1_2%3a1.8.10-2_ppc64el.deb ... 294s Unpacking libx11-xcb1:ppc64el (2:1.8.10-2) ... 294s Selecting previously unselected package libxcb-dri2-0:ppc64el. 294s Preparing to unpack .../10-libxcb-dri2-0_1.17.0-2_ppc64el.deb ... 294s Unpacking libxcb-dri2-0:ppc64el (1.17.0-2) ... 294s Selecting previously unselected package libxcb-dri3-0:ppc64el. 294s Preparing to unpack .../11-libxcb-dri3-0_1.17.0-2_ppc64el.deb ... 294s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2) ... 294s Selecting previously unselected package libxcb-present0:ppc64el. 294s Preparing to unpack .../12-libxcb-present0_1.17.0-2_ppc64el.deb ... 294s Unpacking libxcb-present0:ppc64el (1.17.0-2) ... 294s Selecting previously unselected package libxcb-sync1:ppc64el. 294s Preparing to unpack .../13-libxcb-sync1_1.17.0-2_ppc64el.deb ... 294s Unpacking libxcb-sync1:ppc64el (1.17.0-2) ... 294s Selecting previously unselected package libxcb-xfixes0:ppc64el. 294s Preparing to unpack .../14-libxcb-xfixes0_1.17.0-2_ppc64el.deb ... 294s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2) ... 294s Selecting previously unselected package libxshmfence1:ppc64el. 294s Preparing to unpack .../15-libxshmfence1_1.3-1build5_ppc64el.deb ... 294s Unpacking libxshmfence1:ppc64el (1.3-1build5) ... 295s Selecting previously unselected package mesa-libgallium:ppc64el. 295s Preparing to unpack .../16-mesa-libgallium_24.2.3-1ubuntu1_ppc64el.deb ... 295s Unpacking mesa-libgallium:ppc64el (24.2.3-1ubuntu1) ... 295s Selecting previously unselected package libgbm1:ppc64el. 295s Preparing to unpack .../17-libgbm1_24.2.3-1ubuntu1_ppc64el.deb ... 295s Unpacking libgbm1:ppc64el (24.2.3-1ubuntu1) ... 295s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 295s Preparing to unpack .../18-libgirepository-2.0-0_2.82.1-0ubuntu1_ppc64el.deb ... 295s Unpacking libgirepository-2.0-0:ppc64el (2.82.1-0ubuntu1) ... 295s Selecting previously unselected package libvulkan1:ppc64el. 295s Preparing to unpack .../19-libvulkan1_1.3.296.0-1_ppc64el.deb ... 295s Unpacking libvulkan1:ppc64el (1.3.296.0-1) ... 295s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 295s Preparing to unpack .../20-libgl1-mesa-dri_24.2.3-1ubuntu1_ppc64el.deb ... 295s Unpacking libgl1-mesa-dri:ppc64el (24.2.3-1ubuntu1) ... 295s Selecting previously unselected package libglib2.0-bin. 295s Preparing to unpack .../21-libglib2.0-bin_2.82.1-0ubuntu1_ppc64el.deb ... 295s Unpacking libglib2.0-bin (2.82.1-0ubuntu1) ... 295s Selecting previously unselected package python3-packaging. 295s Preparing to unpack .../22-python3-packaging_24.1-1_all.deb ... 295s Unpacking python3-packaging (24.1-1) ... 295s Selecting previously unselected package libglib2.0-dev-bin. 295s Preparing to unpack .../23-libglib2.0-dev-bin_2.82.1-0ubuntu1_ppc64el.deb ... 295s Unpacking libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 295s Selecting previously unselected package python3-dbusmock. 295s Preparing to unpack .../24-python3-dbusmock_0.32.2-1_all.deb ... 295s Unpacking python3-dbusmock (0.32.2-1) ... 295s Selecting previously unselected package libglib2.0-tests. 295s Preparing to unpack .../25-libglib2.0-tests_2.82.1-0ubuntu1_ppc64el.deb ... 295s Unpacking libglib2.0-tests (2.82.1-0ubuntu1) ... 295s Selecting previously unselected package libxcb-glx0:ppc64el. 295s Preparing to unpack .../26-libxcb-glx0_1.17.0-2_ppc64el.deb ... 295s Unpacking libxcb-glx0:ppc64el (1.17.0-2) ... 295s Selecting previously unselected package libxcb-shm0:ppc64el. 295s Preparing to unpack .../27-libxcb-shm0_1.17.0-2_ppc64el.deb ... 295s Unpacking libxcb-shm0:ppc64el (1.17.0-2) ... 295s Selecting previously unselected package libxfixes3:ppc64el. 295s Preparing to unpack .../28-libxfixes3_1%3a6.0.0-2build1_ppc64el.deb ... 295s Unpacking libxfixes3:ppc64el (1:6.0.0-2build1) ... 295s Selecting previously unselected package libxxf86vm1:ppc64el. 295s Preparing to unpack .../29-libxxf86vm1_1%3a1.1.4-1build4_ppc64el.deb ... 295s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 295s Selecting previously unselected package libglx-mesa0:ppc64el. 295s Preparing to unpack .../30-libglx-mesa0_24.2.3-1ubuntu1_ppc64el.deb ... 295s Unpacking libglx-mesa0:ppc64el (24.2.3-1ubuntu1) ... 295s Selecting previously unselected package x11-common. 295s Preparing to unpack .../31-x11-common_1%3a7.7+23ubuntu3_all.deb ... 295s Unpacking x11-common (1:7.7+23ubuntu3) ... 295s Selecting previously unselected package libice6:ppc64el. 295s Preparing to unpack .../32-libice6_2%3a1.1.1-1_ppc64el.deb ... 295s Unpacking libice6:ppc64el (2:1.1.1-1) ... 295s Selecting previously unselected package libpixman-1-0:ppc64el. 295s Preparing to unpack .../33-libpixman-1-0_0.44.0-3_ppc64el.deb ... 295s Unpacking libpixman-1-0:ppc64el (0.44.0-3) ... 295s Selecting previously unselected package libsm6:ppc64el. 295s Preparing to unpack .../34-libsm6_2%3a1.2.4-1_ppc64el.deb ... 295s Unpacking libsm6:ppc64el (2:1.2.4-1) ... 295s Selecting previously unselected package libxt6t64:ppc64el. 295s Preparing to unpack .../35-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ... 295s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 295s Selecting previously unselected package libxmu6:ppc64el. 295s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ... 295s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ... 295s Selecting previously unselected package libxpm4:ppc64el. 295s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1build2_ppc64el.deb ... 295s Unpacking libxpm4:ppc64el (1:3.5.17-1build2) ... 295s Selecting previously unselected package libxaw7:ppc64el. 295s Preparing to unpack .../38-libxaw7_2%3a1.0.16-1_ppc64el.deb ... 295s Unpacking libxaw7:ppc64el (2:1.0.16-1) ... 295s Selecting previously unselected package libxfont2:ppc64el. 295s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1build1_ppc64el.deb ... 295s Unpacking libxfont2:ppc64el (1:2.0.6-1build1) ... 295s Selecting previously unselected package libxkbfile1:ppc64el. 295s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build4_ppc64el.deb ... 295s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build4) ... 295s Selecting previously unselected package libxrender1:ppc64el. 295s Preparing to unpack .../41-libxrender1_1%3a0.9.10-1.1build1_ppc64el.deb ... 295s Unpacking libxrender1:ppc64el (1:0.9.10-1.1build1) ... 295s Selecting previously unselected package libxrandr2:ppc64el. 295s Preparing to unpack .../42-libxrandr2_2%3a1.5.4-1_ppc64el.deb ... 295s Unpacking libxrandr2:ppc64el (2:1.5.4-1) ... 295s Selecting previously unselected package x11-xkb-utils. 295s Preparing to unpack .../43-x11-xkb-utils_7.7+9_ppc64el.deb ... 295s Unpacking x11-xkb-utils (7.7+9) ... 295s Selecting previously unselected package xserver-common. 295s Preparing to unpack .../44-xserver-common_2%3a21.1.14-1ubuntu1_all.deb ... 295s Unpacking xserver-common (2:21.1.14-1ubuntu1) ... 295s Selecting previously unselected package libglvnd0:ppc64el. 295s Preparing to unpack .../45-libglvnd0_1.7.0-1build1_ppc64el.deb ... 295s Unpacking libglvnd0:ppc64el (1.7.0-1build1) ... 295s Selecting previously unselected package libglx0:ppc64el. 295s Preparing to unpack .../46-libglx0_1.7.0-1build1_ppc64el.deb ... 295s Unpacking libglx0:ppc64el (1.7.0-1build1) ... 295s Selecting previously unselected package libgl1:ppc64el. 295s Preparing to unpack .../47-libgl1_1.7.0-1build1_ppc64el.deb ... 295s Unpacking libgl1:ppc64el (1.7.0-1build1) ... 295s Selecting previously unselected package xvfb. 295s Preparing to unpack .../48-xvfb_2%3a21.1.14-1ubuntu1_ppc64el.deb ... 295s Unpacking xvfb (2:21.1.14-1ubuntu1) ... 296s Selecting previously unselected package autopkgtest-satdep. 296s Preparing to unpack .../49-3-autopkgtest-satdep.deb ... 296s Unpacking autopkgtest-satdep (0) ... 296s Setting up gnome-desktop-testing (2021.1-4) ... 296s Setting up libxcb-dri3-0:ppc64el (1.17.0-2) ... 296s Setting up libpixman-1-0:ppc64el (0.44.0-3) ... 296s Setting up libwayland-server0:ppc64el (1.23.0-1) ... 296s Setting up libx11-xcb1:ppc64el (2:1.8.10-2) ... 296s Setting up libxcb-xfixes0:ppc64el (1.17.0-2) ... 296s Setting up desktop-file-utils (0.27-2build1) ... 296s Setting up libxpm4:ppc64el (1:3.5.17-1build2) ... 296s Setting up libxrender1:ppc64el (1:0.9.10-1.1build1) ... 296s Setting up libgirepository-2.0-0:ppc64el (2.82.1-0ubuntu1) ... 296s Setting up libdrm-radeon1:ppc64el (2.4.123-1) ... 296s Setting up libglvnd0:ppc64el (1.7.0-1build1) ... 296s Setting up libxcb-glx0:ppc64el (1.17.0-2) ... 296s Setting up x11-common (1:7.7+23ubuntu3) ... 296s Setting up libglib2.0-bin (2.82.1-0ubuntu1) ... 296s Setting up libxcb-shm0:ppc64el (1.17.0-2) ... 296s Setting up python3-dbusmock (0.32.2-1) ... 296s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 296s Setting up libxcb-present0:ppc64el (1.17.0-2) ... 296s Setting up libfontenc1:ppc64el (1:1.1.8-1build1) ... 296s Setting up python3-packaging (24.1-1) ... 296s Setting up libxfixes3:ppc64el (1:6.0.0-2build1) ... 296s Setting up libxcb-sync1:ppc64el (1.17.0-2) ... 296s Setting up libxrandr2:ppc64el (2:1.5.4-1) ... 296s Setting up libglapi-mesa:ppc64el (24.2.3-1ubuntu1) ... 296s Setting up libvulkan1:ppc64el (1.3.296.0-1) ... 296s Setting up libxcb-dri2-0:ppc64el (1.17.0-2) ... 296s Setting up libxshmfence1:ppc64el (1.3-1build5) ... 296s Setting up dbus-x11 (1.14.10-4ubuntu5) ... 296s Setting up libxcb-randr0:ppc64el (1.17.0-2) ... 296s Setting up libxkbfile1:ppc64el (1:1.1.0-1build4) ... 296s Setting up libxfont2:ppc64el (1:2.0.6-1build1) ... 296s Setting up libdrm-amdgpu1:ppc64el (2.4.123-1) ... 296s Setting up libglib2.0-dev-bin (2.82.1-0ubuntu1) ... 296s Setting up libice6:ppc64el (2:1.1.1-1) ... 296s Setting up mesa-libgallium:ppc64el (24.2.3-1ubuntu1) ... 296s Setting up libgbm1:ppc64el (24.2.3-1ubuntu1) ... 296s Setting up libgl1-mesa-dri:ppc64el (24.2.3-1ubuntu1) ... 296s Setting up libglib2.0-tests (2.82.1-0ubuntu1) ... 297s Setting up libsm6:ppc64el (2:1.2.4-1) ... 297s Setting up libglx-mesa0:ppc64el (24.2.3-1ubuntu1) ... 297s Setting up libglx0:ppc64el (1.7.0-1build1) ... 297s Setting up libgl1:ppc64el (1.7.0-1build1) ... 297s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 297s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ... 297s Setting up libxaw7:ppc64el (2:1.0.16-1) ... 297s Setting up x11-xkb-utils (7.7+9) ... 297s Setting up xserver-common (2:21.1.14-1ubuntu1) ... 297s Setting up xvfb (2:21.1.14-1ubuntu1) ... 297s Setting up autopkgtest-satdep (0) ... 297s Processing triggers for man-db (2.12.1-3) ... 297s Processing triggers for libc-bin (2.40-1ubuntu3) ... 300s (Reading database ... 75225 files and directories currently installed.) 300s Removing autopkgtest-satdep (0) ... 308s autopkgtest [12:40:16]: test installed-tests: [----------------------- 308s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 308s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 308s group entry: ubuntu:x:1000: 308s Environment: 308s ADTTMP=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp 308s ADT_ARTIFACTS=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts 308s ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1 308s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts 308s AUTOPKGTEST_TESTBED_ARCH=ppc64el 308s AUTOPKGTEST_TEST_ARCH=ppc64el 308s AUTOPKGTEST_TMP=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp 308s DEBIAN_FRONTEND=noninteractive 308s DEB_BUILD_OPTIONS=parallel=2 308s GIO_USE_VFS=local 308s GIO_USE_VOLUME_MONITOR=unix 308s HOME=/home/ubuntu 308s LANG=C.UTF-8 308s LOGNAME=ubuntu 308s MAIL=/var/mail/ubuntu 308s OLDPWD=/home/ubuntu 308s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 308s PWD=/tmp/autopkgtest.4RlHhU/build.7fc/src 308s SHELL=/bin/bash 308s SHLVL=1 308s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests 308s SUDO_GID=1000 308s SUDO_UID=1000 308s SUDO_USER=ubuntu 308s TERM=linux 308s USER=ubuntu 308s XDG_RUNTIME_DIR=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp 308s http_proxy=http://squid.internal:3128 308s https_proxy=http://squid.internal:3128 308s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 308s run-with-locales: de_DE=ISO-8859-1... 308s Character set: ISO-8859-1 308s Source file: de_DE 308s Output: /tmp/tmp.GNpFjmgAtw/de_DE 309s run-with-locales: de_DE.utf8... 309s Character set: UTF-8 309s Source file: de_DE 309s Output: /tmp/tmp.GNpFjmgAtw/de_DE.utf8 310s run-with-locales: de_DE@euro.utf8... 310s Character set: UTF-8 310s Source file: de_DE@euro 310s Output: /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8 311s run-with-locales: el_GR.utf8... 311s Character set: UTF-8 311s Source file: el_GR 311s Output: /tmp/tmp.GNpFjmgAtw/el_GR.utf8 313s run-with-locales: en_GB=ISO-8859-1... 313s Character set: ISO-8859-1 313s Source file: en_GB 313s Output: /tmp/tmp.GNpFjmgAtw/en_GB 313s run-with-locales: en_GB.utf8... 313s Character set: UTF-8 313s Source file: en_GB 313s Output: /tmp/tmp.GNpFjmgAtw/en_GB.utf8 314s run-with-locales: en_US=ISO-8859-1... 314s Character set: ISO-8859-1 314s Source file: en_US 314s Output: /tmp/tmp.GNpFjmgAtw/en_US 315s run-with-locales: en_US.utf8... 315s Character set: UTF-8 315s Source file: en_US 315s Output: /tmp/tmp.GNpFjmgAtw/en_US.utf8 316s run-with-locales: es_ES.utf8... 316s Character set: UTF-8 316s Source file: es_ES 316s Output: /tmp/tmp.GNpFjmgAtw/es_ES.utf8 317s run-with-locales: fa_IR=UTF-8... 317s Character set: UTF-8 317s Source file: fa_IR 317s Output: /tmp/tmp.GNpFjmgAtw/fa_IR 319s run-with-locales: fa_IR.utf8... 319s Character set: UTF-8 319s Source file: fa_IR 319s Output: /tmp/tmp.GNpFjmgAtw/fa_IR.utf8 320s run-with-locales: fr_FR.utf8... 320s Character set: UTF-8 320s Source file: fr_FR 320s Output: /tmp/tmp.GNpFjmgAtw/fr_FR.utf8 322s run-with-locales: hr_HR.utf8... 322s Character set: UTF-8 322s Source file: hr_HR 322s Output: /tmp/tmp.GNpFjmgAtw/hr_HR.utf8 323s run-with-locales: ja_JP.utf8... 323s Character set: UTF-8 323s Source file: ja_JP 323s Output: /tmp/tmp.GNpFjmgAtw/ja_JP.utf8 324s run-with-locales: ja_JP.EUC-JP... 324s Character set: EUC-JP 324s Source file: ja_JP 324s Output: /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp 324s run-with-locales: lt_LT.utf8... 324s Character set: UTF-8 324s Source file: lt_LT 324s Output: /tmp/tmp.GNpFjmgAtw/lt_LT.utf8 326s run-with-locales: pl_PL=ISO-8859-2... 326s Character set: ISO-8859-2 326s Source file: pl_PL 326s Output: /tmp/tmp.GNpFjmgAtw/pl_PL 326s run-with-locales: pl_PL.ISO-8859-2... 326s Character set: ISO-8859-2 326s Source file: pl_PL 326s Output: /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592 326s run-with-locales: pl_PL.utf8... 326s Character set: UTF-8 326s Source file: pl_PL 326s Output: /tmp/tmp.GNpFjmgAtw/pl_PL.utf8 328s run-with-locales: ru_RU=ISO-8859-5... 328s Character set: ISO-8859-5 328s Source file: ru_RU 328s Output: /tmp/tmp.GNpFjmgAtw/ru_RU 328s run-with-locales: ru_RU.utf8... 328s Character set: UTF-8 328s Source file: ru_RU 328s Output: /tmp/tmp.GNpFjmgAtw/ru_RU.utf8 330s run-with-locales: sr_RS=UTF-8... 330s Character set: UTF-8 330s Source file: sr_RS 330s Output: /tmp/tmp.GNpFjmgAtw/sr_RS 331s run-with-locales: sr_RS@latin=UTF-8... 331s Character set: UTF-8 331s Source file: sr_RS@latin 331s Output: /tmp/tmp.GNpFjmgAtw/sr_RS@latin 332s run-with-locales: sv_SE=ISO-8859-1... 332s Character set: ISO-8859-1 332s Source file: sv_SE 332s Output: /tmp/tmp.GNpFjmgAtw/sv_SE 333s run-with-locales: sv_SE.utf8... 333s Character set: UTF-8 333s Source file: sv_SE 333s Output: /tmp/tmp.GNpFjmgAtw/sv_SE.utf8 334s run-with-locales: tr_TR=ISO-8859-9... 334s Character set: ISO-8859-9 334s Source file: tr_TR 334s Output: /tmp/tmp.GNpFjmgAtw/tr_TR 334s run-with-locales: tr_TR.utf8... 334s Character set: UTF-8 334s Source file: tr_TR 334s Output: /tmp/tmp.GNpFjmgAtw/tr_TR.utf8 336s run-with-locales: tt_RU=UTF-8... 336s Character set: UTF-8 336s Source file: tt_RU 336s Output: /tmp/tmp.GNpFjmgAtw/tt_RU 337s run-with-locales: tt_RU.utf8... 337s Character set: UTF-8 337s Source file: tt_RU 337s Output: /tmp/tmp.GNpFjmgAtw/tt_RU.utf8 338s run-with-locales: tt_RU@iqtelif=UTF-8... 338s Character set: UTF-8 338s Source file: tt_RU@iqtelif 338s Output: /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif 340s /tmp/tmp.GNpFjmgAtw 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/el_GR.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/lt_LT.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/sr_RS@latin/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/fr_FR.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/tt_RU@iqtelif/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/es_ES.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/fa_IR.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/de_DE@euro.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/tr_TR 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/tr_TR/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/pl_PL 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/pl_PL/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/pl_PL.iso88592/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/de_DE 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/de_DE/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/sv_SE.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/tr_TR.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/tt_RU 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/tt_RU/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/fa_IR 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/fa_IR/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/ru_RU.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/ja_JP.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/sv_SE 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/sv_SE/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/pl_PL.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/en_US 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/en_US/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/ja_JP.eucjp/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/sr_RS 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/sr_RS/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/en_US.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/en_GB 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/en_GB/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/de_DE.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/en_GB.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/hr_HR.utf8/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/ru_RU 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/ru_RU/LC_COLLATE 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_NUMERIC 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_TIME 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_TELEPHONE 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_ADDRESS 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_PAPER 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_NAME 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_MEASUREMENT 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_IDENTIFICATION 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_MONETARY 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_CTYPE 340s /tmp/tmp.GNpFjmgAtw/tt_RU.utf8/LC_COLLATE 340s 1..319 340s # Running test: glib/utf8-performance.test 340s TAP version 14 340s # random seed: R02Sc979aaf8185cea6296f0b06845329f4b 340s 1..36 340s # Start of utf8 tests 340s # Start of perf tests 340s # Start of get_char tests 340s # max perf: inf MB/s 340s ok 1 /utf8/perf/get_char/ascii 340s # max perf: inf MB/s 340s ok 2 /utf8/perf/get_char/latin1 340s # max perf: 160.0 MB/s 340s ok 3 /utf8/perf/get_char/cyrillic 340s # max perf: inf MB/s 340s ok 4 /utf8/perf/get_char/han 340s # End of get_char tests 340s # Start of get_char-backwards tests 340s # max perf: inf MB/s 340s ok 5 /utf8/perf/get_char-backwards/ascii 340s # max perf: 67.0 MB/s 340s ok 6 /utf8/perf/get_char-backwards/latin1 340s # max perf: 160.0 MB/s 340s ok 7 /utf8/perf/get_char-backwards/cyrillic 340s # max perf: 156.0 MB/s 340s ok 8 /utf8/perf/get_char-backwards/han 340s # End of get_char-backwards tests 340s # Start of get_char_validated tests 340s # max perf: inf MB/s 340s ok 9 /utf8/perf/get_char_validated/ascii 340s # max perf: inf MB/s 340s ok 10 /utf8/perf/get_char_validated/latin1 340s # max perf: 160.0 MB/s 340s ok 11 /utf8/perf/get_char_validated/cyrillic 340s # max perf: 156.0 MB/s 340s ok 12 /utf8/perf/get_char_validated/han 340s # End of get_char_validated tests 340s # Start of utf8_to_ucs4 tests 340s # max perf: 21.5 MB/s 340s ok 13 /utf8/perf/utf8_to_ucs4/ascii 340s # max perf: inf MB/s 340s ok 14 /utf8/perf/utf8_to_ucs4/latin1 340s # max perf: 160.0 MB/s 340s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 340s # max perf: inf MB/s 340s ok 16 /utf8/perf/utf8_to_ucs4/han 340s # End of utf8_to_ucs4 tests 340s # Start of utf8_to_ucs4-sized tests 340s # max perf: 43.0 MB/s 340s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 340s # max perf: inf MB/s 340s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 340s # max perf: 160.0 MB/s 340s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 340s # max perf: 156.0 MB/s 340s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 340s # End of utf8_to_ucs4-sized tests 340s # Start of utf8_to_ucs4_fast tests 340s # max perf: 43.0 MB/s 340s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 340s # max perf: inf MB/s 340s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 340s # max perf: inf MB/s 340s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 340s # max perf: inf MB/s 340s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 340s # End of utf8_to_ucs4_fast tests 340s # Start of utf8_to_ucs4_fast-sized tests 340s # max perf: inf MB/s 340s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 340s # max perf: 67.0 MB/s 340s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 340s # max perf: 160.0 MB/s 340s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 340s # max perf: inf MB/s 340s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 340s # End of utf8_to_ucs4_fast-sized tests 340s # Start of utf8_validate tests 340s # max perf: inf MB/s 340s ok 29 /utf8/perf/utf8_validate/ascii 340s # max perf: inf MB/s 340s ok 30 /utf8/perf/utf8_validate/latin1 340s # max perf: 160.0 MB/s 340s ok 31 /utf8/perf/utf8_validate/cyrillic 340s # max perf: inf MB/s 340s ok 32 /utf8/perf/utf8_validate/han 340s # End of utf8_validate tests 340s # Start of utf8_validate-sized tests 340s # max perf: inf MB/s 340s ok 33 /utf8/perf/utf8_validate-sized/ascii 340s # max perf: 67.0 MB/s 340s ok 34 /utf8/perf/utf8_validate-sized/latin1 340s # max perf: inf MB/s 340s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 340s # max perf: 156.0 MB/s 340s ok 36 /utf8/perf/utf8_validate-sized/han 340s # End of utf8_validate-sized tests 340s # End of perf tests 340s # End of utf8 tests 340s ok - glib/utf8-performance.test 340s # Running test: glib/guuid.test 340s TAP version 14 340s # random seed: R02S29059c30104679ff1799bdaab8942403 340s 1..2 340s # Start of uuid tests 340s ok 1 /uuid/string 340s ok 2 /uuid/random 340s # End of uuid tests 340s ok - glib/guuid.test 340s # Running test: glib/memory-monitor.test 340s TAP version 14 340s # random seed: R02S9db1076a73c53d461f9b77bf69d41941 340s 1..1 340s # Start of memory-monitor tests 340s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 340s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 340s ok 1 /memory-monitor/default 340s # End of memory-monitor tests 340s ok - glib/memory-monitor.test 340s # Running test: glib/logging.test 340s TAP version 14 340s # random seed: R02Sdb76050c6b5beefa42b04b3d1583abe3 340s 1..17 340s # Start of logging tests 340s ok 1 /logging/default-handler 340s ok 2 /logging/warnings 340s ok 3 /logging/fatal-log-mask 340s # bu-DEBUG: message 340s # ba-DEBUG: message 340s # ba-INFO: message 340s ok 4 /logging/set-handler 340s ok 5 /logging/print-handler 340s ok 6 /logging/printerr-handler 340s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 340s # The Log Message Handler 340s # 340s # The Good Fail Message Handler 340s # 340s ok 7 /logging/653052 340s ok 8 /logging/gibberish 340s # Start of default-handler tests 340s # Start of subprocess tests 340s # End of subprocess tests 340s # End of default-handler tests 340s # End of logging tests 340s # Start of structured-logging tests 340s ok 9 /structured-logging/no-state 340s ok 10 /structured-logging/some-state 340s ok 11 /structured-logging/robustness 340s ok 12 /structured-logging/roundtrip1 340s ok 13 /structured-logging/roundtrip2 340s ok 14 /structured-logging/roundtrip3 340s ok 15 /structured-logging/variant1 340s ok 16 /structured-logging/variant2 340s ok 17 /structured-logging/set-writer-func-twice 340s # End of structured-logging tests 340s ok - glib/logging.test 340s # Running test: glib/basics-gobject.test 340s TAP version 14 340s # random seed: R02S013e276d3ebd6458af3d29c68fa298b1 340s 1..1 340s # Start of gobject tests 340s # private data during initialization: 54321 == 54321 340s # MAIN: emit test-signal: 340s # ::test_signal default_handler called 340s # ::test_signal default_handler called 340s # ::test_signal default_handler called 340s # signal return: "" 340s # MAIN: call iface print-string on test and derived object: 340s # Iface-FOO: "iface-string-from-test-type" from 0x1bc1e1a2f7a0 340s # Iface-BAR: "iface-string-from-derived-type" from 0x1bc1e1a2f6c0 340s # chaining: 340s # Iface-FOO: "iface-string-from-derived-type" from 0x1bc1e1a2f6c0 340s # private data after initialization: 54321 == 54321 340s ok 1 /gobject/basics 340s # End of gobject tests 340s ok - glib/basics-gobject.test 340s # Running test: glib/gdbus-auth.test 340s TAP version 14 340s # random seed: R02S5c32f55f63c71e86eb89002b1ba59791 340s 1..5 340s # Start of gdbus tests 340s # Start of auth tests 340s # Start of client tests 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/EXTERNAL/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/EXTERNAL/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/EXTERNAL/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/EXTERNAL/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/EXTERNAL/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/EXTERNAL/.dirs/runtime 340s ok 1 /gdbus/auth/client/EXTERNAL 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 340s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 340s # End of client tests 340s # Start of server tests 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/ANONYMOUS/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/ANONYMOUS/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/ANONYMOUS/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/ANONYMOUS/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/ANONYMOUS/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 340s ok 3 /gdbus/auth/server/ANONYMOUS 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/EXTERNAL/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/EXTERNAL/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/EXTERNAL/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/EXTERNAL/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/EXTERNAL/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/EXTERNAL/.dirs/runtime 340s ok 4 /gdbus/auth/server/EXTERNAL 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UUA2W2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 340s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 340s # End of server tests 340s # End of auth tests 340s # End of gdbus tests 340s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 340s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 340s ok - glib/gdbus-auth.test 340s # Running test: glib/fileutils.test 340s TAP version 14 340s # random seed: R02S9b8e52d64263878739e4b6712394de81 340s 1..27 340s # Start of fileutils tests 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/paths/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/paths/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/paths/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/paths/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/paths/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/paths/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/paths/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/paths/.dirs/runtime 340s ok 1 /fileutils/paths 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-path/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-path/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/build-path/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-path/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/build-path/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-path/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-path/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/build-path/.dirs/runtime 340s ok 2 /fileutils/build-path 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-pathv/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-pathv/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/build-pathv/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-pathv/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/build-pathv/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-pathv/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-pathv/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/build-pathv/.dirs/runtime 340s ok 3 /fileutils/build-pathv 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-filename/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-filename/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/build-filename/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-filename/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/build-filename/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-filename/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-filename/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/build-filename/.dirs/runtime 340s ok 4 /fileutils/build-filename 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-filenamev/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-filenamev/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/build-filenamev/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-filenamev/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/build-filenamev/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-filenamev/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/build-filenamev/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/build-filenamev/.dirs/runtime 340s ok 5 /fileutils/build-filenamev 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents/.dirs/runtime 340s # We do not have CAP_DAC_OVERRIDE or equivalent 340s ok 6 /fileutils/mkdir-with-parents 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents-permission/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents-permission/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents-permission/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents-permission/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents-permission/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/mkdir-with-parents-permission/.dirs/runtime 340s # We do not have CAP_DAC_OVERRIDE or equivalent 340s ok 7 /fileutils/mkdir-with-parents-permission 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/format-size-for-display/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/format-size-for-display/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/format-size-for-display/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/format-size-for-display/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/format-size-for-display/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/format-size-for-display/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/format-size-for-display/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/format-size-for-display/.dirs/runtime 340s ok 8 /fileutils/format-size-for-display 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/errors/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/errors/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/errors/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/errors/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/errors/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/errors/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/errors/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/errors/.dirs/runtime 340s ok 9 /fileutils/errors 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/basename/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/basename/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/basename/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/basename/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/basename/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/basename/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/basename/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/basename/.dirs/runtime 340s ok 10 /fileutils/basename 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-basename/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-basename/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/get-basename/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-basename/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/get-basename/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-basename/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-basename/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/get-basename/.dirs/runtime 340s ok 11 /fileutils/get-basename 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/dirname/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/dirname/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/dirname/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/dirname/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/dirname/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/dirname/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/dirname/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/dirname/.dirs/runtime 340s ok 12 /fileutils/dirname 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/dir-make-tmp/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/dir-make-tmp/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/dir-make-tmp/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/dir-make-tmp/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/dir-make-tmp/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/dir-make-tmp/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/dir-make-tmp/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/dir-make-tmp/.dirs/runtime 340s ok 13 /fileutils/dir-make-tmp 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/file-open-tmp/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/file-open-tmp/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/file-open-tmp/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/file-open-tmp/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/file-open-tmp/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/file-open-tmp/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/file-open-tmp/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/file-open-tmp/.dirs/runtime 340s ok 14 /fileutils/file-open-tmp 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/file-test/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/file-test/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/file-test/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/file-test/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/file-test/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/file-test/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/file-test/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/file-test/.dirs/runtime 340s ok 15 /fileutils/file-test 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkstemp/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkstemp/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/mkstemp/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkstemp/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/mkstemp/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkstemp/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkstemp/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/mkstemp/.dirs/runtime 340s ok 16 /fileutils/mkstemp 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdtemp/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdtemp/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/mkdtemp/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdtemp/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/mkdtemp/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdtemp/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/mkdtemp/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/mkdtemp/.dirs/runtime 340s ok 17 /fileutils/mkdtemp 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-contents/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-contents/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/get-contents/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-contents/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/get-contents/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-contents/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-contents/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/get-contents/.dirs/runtime 340s ok 18 /fileutils/get-contents 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-contents-large-file/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-contents-large-file/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/get-contents-large-file/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-contents-large-file/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/get-contents-large-file/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-contents-large-file/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/get-contents-large-file/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/get-contents-large-file/.dirs/runtime 340s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/set-contents/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/set-contents/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/set-contents/.dirs/runtime 340s ok 20 /fileutils/set-contents 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/.dirs/runtime 340s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 340s # Flags 0 and test 0 340s # Flags 0 and test 1 340s # Flags 0 and test 2 340s # Flags 0 and test 3 340s # Flags 0 and test 4 340s # Flags 0 and test 5 340s # Flags 1 and test 0 340s # Flags 1 and test 1 340s # Flags 1 and test 2 340s # Flags 1 and test 3 340s # Flags 1 and test 4 340s # Flags 1 and test 5 340s # Flags 2 and test 0 340s # Flags 2 and test 1 340s # Flags 2 and test 2 340s # Flags 2 and test 3 340s # Flags 2 and test 4 340s # Flags 2 and test 5 340s # Flags 3 and test 0 340s # Flags 3 and test 1 340s # Flags 3 and test 2 340s # Flags 3 and test 3 340s # Flags 3 and test 4 340s # Flags 3 and test 5 340s # Flags 4 and test 0 340s # Flags 4 and test 1 340s # Flags 4 and test 2 340s # Flags 4 and test 3 340s # Flags 4 and test 4 340s # Flags 4 and test 5 340s # Flags 5 and test 0 340s # Flags 5 and test 1 340s # Flags 5 and test 2 340s # Flags 5 and test 3 340s # Flags 5 and test 4 340s # Flags 5 and test 5 340s # Flags 6 and test 0 340s # Flags 6 and test 1 340s # Flags 6 and test 2 340s # Flags 6 and test 3 340s # Flags 6 and test 4 340s # Flags 6 and test 5 340s ok 21 /fileutils/set-contents-full 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/read-link/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/read-link/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/read-link/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/read-link/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/read-link/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/read-link/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/read-link/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/read-link/.dirs/runtime 340s ok 22 /fileutils/read-link 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/stdio-wrappers/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/stdio-wrappers/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/stdio-wrappers/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/stdio-wrappers/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/stdio-wrappers/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/stdio-wrappers/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/stdio-wrappers/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/stdio-wrappers/.dirs/runtime 340s # We do not have CAP_DAC_OVERRIDE or equivalent 340s ok 23 /fileutils/stdio-wrappers 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/fopen-modes/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/fopen-modes/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/fopen-modes/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/fopen-modes/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/fopen-modes/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/fopen-modes/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/fopen-modes/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/fopen-modes/.dirs/runtime 340s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 340s # Testing fopen() mode 'w' 340s # Testing fopen() mode 'r' 340s # Testing fopen() mode 'a' 340s # Testing fopen() mode 'w+' 340s # Testing fopen() mode 'r+' 340s # Testing fopen() mode 'a+' 340s # Testing fopen() mode 'wb' 340s # Testing fopen() mode 'rb' 340s # Testing fopen() mode 'ab' 340s # Testing fopen() mode 'w+b' 340s # Testing fopen() mode 'r+b' 340s # Testing fopen() mode 'a+b' 340s # Testing fopen() mode 'wb+' 340s # Testing fopen() mode 'rb+' 340s # Testing fopen() mode 'ab+' 340s ok 24 /fileutils/fopen-modes 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/clear-fd/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/clear-fd/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/clear-fd/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/clear-fd/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/clear-fd/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/clear-fd/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/clear-fd/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/clear-fd/.dirs/runtime 340s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 340s # Will be closed by autocleanup: 3, -42 340s # Testing error handling 340s ok 25 /fileutils/clear-fd 340s # Start of set-contents-full tests 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-file/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-file/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-file/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-file/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-file/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-file/.dirs/runtime 340s # We do not have CAP_DAC_OVERRIDE or equivalent 340s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 340s ok 26 /fileutils/set-contents-full/read-only-file 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-directory/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-directory/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-directory/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-directory/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-directory/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_0TM2W2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 340s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 340s # Flags 0 340s # We do not have CAP_DAC_OVERRIDE or equivalent 340s # Flags 1 340s # We do not have CAP_DAC_OVERRIDE or equivalent 340s # Flags 2 340s # We do not have CAP_DAC_OVERRIDE or equivalent 340s # Flags 3 340s # We do not have CAP_DAC_OVERRIDE or equivalent 340s # Flags 4 340s # We do not have CAP_DAC_OVERRIDE or equivalent 340s # Flags 5 340s # We do not have CAP_DAC_OVERRIDE or equivalent 340s # Flags 6 340s # We do not have CAP_DAC_OVERRIDE or equivalent 340s ok 27 /fileutils/set-contents-full/read-only-directory 340s # End of set-contents-full tests 340s # Start of clear-fd tests 340s # Start of subprocess tests 340s # End of subprocess tests 340s # End of clear-fd tests 340s # End of fileutils tests 340s Unable to clean up temporary directory /tmp/test_fileutils_0TM2W2/glib-file-set-contents-full-rodir-KRY4W2: Directory not empty 340s Unable to clean up temporary directory /tmp/test_fileutils_0TM2W2/glib-file-set-contents-full-rodir-K0B3W2: Directory not empty 340s Unable to clean up temporary directory /tmp/test_fileutils_0TM2W2/glib-file-set-contents-full-rodir-EJ82W2: Directory not empty 340s Unable to clean up temporary directory /tmp/test_fileutils_0TM2W2/glib-file-set-contents-full-rodir-HCA3W2: Directory not empty 340s Unable to clean up temporary directory /tmp/test_fileutils_0TM2W2/glib-file-set-contents-full-rodir-MX32W2: Directory not empty 340s Unable to clean up temporary directory /tmp/test_fileutils_0TM2W2/glib-file-set-contents-full-rodir-W2C3W2: Directory not empty 340s Unable to clean up temporary directory /tmp/test_fileutils_0TM2W2/glib-file-set-contents-full-rodir-7T12W2: Directory not empty 340s Unable to clean up temporary directory /tmp/test_fileutils_0TM2W2: Directory not empty 340s ok - glib/fileutils.test 340s # Running test: glib/memory-monitor-portal.test 340s TAP version 13 340s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 340s 1..1 340s ok - glib/memory-monitor-portal.test 340s # Running test: glib/portal-support-env-var.test 340s TAP version 14 340s # random seed: R02S4b0b2756558eb69fc28a076b58651790 340s 1..1 340s # Start of portal-support tests 340s ok 1 /portal-support/env-var 340s # End of portal-support tests 340s ok - glib/portal-support-env-var.test 340s # Running test: glib/portal-support-flatpak-network-only.test 340s TAP version 14 340s # random seed: R02Sc4fcb94f421a4ec71fb092a11b21187d 340s 1..1 340s # Start of portal-support tests 340s # Start of flatpak tests 340s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_E1YDX2/portal-support/flatpak/network/.dirs/home 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_E1YDX2/portal-support/flatpak/network/.dirs/cache 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_E1YDX2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_E1YDX2/portal-support/flatpak/network/.dirs/system-config2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_E1YDX2/portal-support/flatpak/network/.dirs/config 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_E1YDX2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_E1YDX2/portal-support/flatpak/network/.dirs/system-data2 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_E1YDX2/portal-support/flatpak/network/.dirs/data 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_E1YDX2/portal-support/flatpak/network/.dirs/state 340s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_E1YDX2/portal-support/flatpak/network/.dirs/runtime 340s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_E1YDX2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 340s ok 1 /portal-support/flatpak/network 340s # End of flatpak tests 340s # End of portal-support tests 340s ok - glib/portal-support-flatpak-network-only.test 340s # Running test: glib/converter-stream.test 340s TAP version 14 340s # random seed: R02Sb2b073764900ab0b2c780c577f7ff4ed 340s 1..17 340s # Start of converter tests 340s ok 1 /converter/basics 340s # End of converter tests 340s # Start of converter-input-stream tests 340s ok 2 /converter-input-stream/expander 341s ok 3 /converter-input-stream/compressor 341s # Start of truncation tests 341s ok 4 /converter-input-stream/truncation/zlib 341s ok 5 /converter-input-stream/truncation/gzip 341s ok 6 /converter-input-stream/truncation/raw 341s # End of truncation tests 341s # Start of charset tests 341s ok 7 /converter-input-stream/charset/utf8->latin1 341s ok 8 /converter-input-stream/charset/latin1->utf8 341s ok 9 /converter-input-stream/charset/fallbacks 341s # End of charset tests 341s # End of converter-input-stream tests 341s # Start of converter-output-stream tests 341s # Start of roundtrip tests 341s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 341s ok 10 /converter-output-stream/roundtrip/zlib-0 341s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 341s ok 11 /converter-output-stream/roundtrip/zlib-9 341s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 342s ok 12 /converter-output-stream/roundtrip/gzip-0 342s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 342s ok 13 /converter-output-stream/roundtrip/gzip-9 342s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 342s ok 14 /converter-output-stream/roundtrip/raw-0 342s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 342s ok 15 /converter-output-stream/roundtrip/raw-9 342s # End of roundtrip tests 342s # End of converter-output-stream tests 342s # Start of converter-stream tests 342s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 342s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x39b6a009ec0 and GSocketClientAsyncConnectData 0x39b6a3f52c0 342s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 342s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 342s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x39b6a013020 for GSocketClientAsyncConnectData 0x39b6a3f52c0 342s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 342s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 342s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 342s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 342s ok 16 /converter-stream/pollable 342s ok 17 /converter-stream/leftover 342s # End of converter-stream tests 342s ok - glib/converter-stream.test 342s # Running test: glib/performance-threaded.test 342s Running test "liststore-is-a" 343s 2209 runs, min/avg/max = 0.447/0.453/0.689 ms 343s Running test "liststore-interface-peek" 344s 2693 runs, min/avg/max = 0.356/0.371/0.656 ms 344s Running test "liststore-interface-peek-same" 345s # Executing: glib/performance-threaded.test 345s 2738 runs, min/avg/max = 0.350/0.365/0.889 ms 345s ok - glib/performance-threaded.test 345s # Running test: glib/socket-address.test 345s TAP version 14 345s # random seed: R02Sa07795a39051fb391b12379f6c3532b4 345s 1..2 345s # Start of socket tests 345s # Start of address tests 345s # Start of unix tests 345s ok 1 /socket/address/unix/construct 345s ok 2 /socket/address/unix/to-string 345s # End of unix tests 345s # End of address tests 345s # End of socket tests 345s ok - glib/socket-address.test 345s # Running test: glib/gdbus-connection-flush.test 345s TAP version 14 345s # random seed: R02S7ded26be5f84fa0cd944f1c828e1a487 345s 1..2 345s # Start of gdbus tests 345s # Start of connection tests 345s # Start of flush tests 345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/busy/.dirs/home 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/busy/.dirs/cache 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/busy/.dirs/system-config2 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/busy/.dirs/config 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/busy/.dirs/system-data2 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/busy/.dirs/data 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/busy/.dirs/state 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/busy/.dirs/runtime 345s ok 1 /gdbus/connection/flush/busy 345s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/idle/.dirs/home 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/idle/.dirs/cache 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/idle/.dirs/system-config2 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/idle/.dirs/config 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/idle/.dirs/system-data2 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/idle/.dirs/data 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/idle/.dirs/state 345s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_D8E5W2/gdbus/connection/flush/idle/.dirs/runtime 345s ok 2 /gdbus/connection/flush/idle 345s # End of flush tests 345s # End of connection tests 345s # End of gdbus tests 345s ok - glib/gdbus-connection-flush.test 345s # Running test: glib/gvariant.test 345s TAP version 14 345s # random seed: R02Sccec0a9ae46f7b15bad0bd661ce65dc8 345s 1..64 345s # Start of gvariant tests 345s ok 1 /gvariant/type 345s ok 2 /gvariant/typeinfo 345s ok 3 /gvariant/string 345s ok 4 /gvariant/utf8 346s ok 5 /gvariant/containers 346s ok 6 /gvariant/format-strings 346s ok 7 /gvariant/invalid-varargs 346s ok 8 /gvariant/varargs 346s ok 9 /gvariant/valist 346s ok 10 /gvariant/builder-memory 346s ok 11 /gvariant/hashing 346s ok 12 /gvariant/byteswap 346s ok 13 /gvariant/parser 346s ok 14 /gvariant/parse-failures 346s ok 15 /gvariant/parse-positional 346s ok 16 /gvariant/floating 346s ok 17 /gvariant/bytestring 346s ok 18 /gvariant/lookup-value 346s ok 19 /gvariant/lookup 346s ok 20 /gvariant/compare 346s ok 21 /gvariant/equal 346s ok 22 /gvariant/fixed-array 346s ok 23 /gvariant/check-format-string 346s ok 24 /gvariant/checksum-basic 346s ok 25 /gvariant/checksum-nested 346s ok 26 /gvariant/gbytes 346s ok 27 /gvariant/print-context 346s ok 28 /gvariant/error-quark 346s ok 29 /gvariant/stack-builder-init 346s ok 30 /gvariant/stack-dict-init 346s ok 31 /gvariant/unaligned-construction 346s # Start of type tests 346s # Start of string-scan tests 346s # Start of recursion tests 346s ok 32 /gvariant/type/string-scan/recursion/tuple 346s ok 33 /gvariant/type/string-scan/recursion/array 346s # End of recursion tests 346s # End of string-scan tests 346s # End of type tests 346s # Start of serialiser tests 346s ok 34 /gvariant/serialiser/maybe 347s ok 35 /gvariant/serialiser/array 347s ok 36 /gvariant/serialiser/tuple 347s ok 37 /gvariant/serialiser/variant 347s ok 38 /gvariant/serialiser/strings 350s # Executing: glib/gvariant.test 350s ok 39 /gvariant/serialiser/byteswap 350s # slow test /gvariant/serialiser/byteswap executed in 3.33 secs 350s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 350s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 350s ok 40 /gvariant/serialiser/children 350s # Start of fuzz tests 351s ok 41 /gvariant/serialiser/fuzz/1% 351s # slow test /gvariant/serialiser/fuzz/1% executed in 0.63 secs 355s # Executing: glib/gvariant.test 356s ok 42 /gvariant/serialiser/fuzz/5% 356s # slow test /gvariant/serialiser/fuzz/5% executed in 5.29 secs 356s ok 43 /gvariant/serialiser/fuzz/9% 357s ok 44 /gvariant/serialiser/fuzz/13% 358s ok 45 /gvariant/serialiser/fuzz/17% 358s # slow test /gvariant/serialiser/fuzz/17% executed in 1.58 secs 358s # End of fuzz tests 358s # End of serialiser tests 358s # Start of varargs tests 358s # Start of subprocess tests 358s # End of subprocess tests 358s # End of varargs tests 358s # Start of byteswap tests 358s # /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. 358s ok 46 /gvariant/byteswap/non-normal-non-aligned 358s # End of byteswap tests 358s # Start of parser tests 358s ok 47 /gvariant/parser/integer-bounds 358s ok 48 /gvariant/parser/recursion 358s # Start of recursion tests 358s ok 49 /gvariant/parser/recursion/typedecls 358s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 358s # Text form 0: @mmmu 5 358s # Text form 1: @mmmas ['hello'] 358s # Text form 2: @mmmu just just nothing 358s # Text form 3: @mmmas just just nothing 358s # Text form 4: @mmmu just nothing 358s # Text form 5: @mmmas just nothing 358s # Text form 6: @mmmu nothing 358s # Text form 7: @mmmas nothing 358s ok 50 /gvariant/parser/recursion/maybes 358s # End of recursion tests 358s # End of parser tests 358s # Start of parse tests 358s # Start of subprocess tests 358s # End of subprocess tests 358s # End of parse tests 358s # Start of normal-checking tests 358s ok 51 /gvariant/normal-checking/tuples 358s ok 52 /gvariant/normal-checking/array-offsets 358s ok 53 /gvariant/normal-checking/array-offsets2 358s ok 54 /gvariant/normal-checking/tuple-offsets 358s ok 55 /gvariant/normal-checking/tuple-offsets2 358s ok 56 /gvariant/normal-checking/tuple-offsets3 358s ok 57 /gvariant/normal-checking/tuple-offsets4 358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 358s ok 58 /gvariant/normal-checking/tuple-offsets5 358s ok 59 /gvariant/normal-checking/empty-object-path 358s # Start of array-offsets tests 358s ok 60 /gvariant/normal-checking/array-offsets/overlapped 358s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 358s # End of array-offsets tests 358s # Start of tuple-offsets tests 358s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 358s # End of tuple-offsets tests 358s # End of normal-checking tests 358s # Start of recursion-limits tests 358s ok 63 /gvariant/recursion-limits/variant-in-variant 358s ok 64 /gvariant/recursion-limits/array-in-variant 358s # End of recursion-limits tests 358s # End of gvariant tests 358s ok - glib/gvariant.test 358s # Running test: glib/atomic-c-99.test 358s TAP version 14 358s # random seed: R02Sfacddb0ce049f340ead0c274ee528d15 358s 1..2 358s # Start of atomic tests 358s ok 1 /atomic/types 358s ok 2 /atomic/threaded 358s # End of atomic tests 358s ok - glib/atomic-c-99.test 358s # Running test: glib/list.test 358s TAP version 14 358s # random seed: R02S3913097dcf0e9291a00d4f5e9835938e 358s 1..20 358s # Start of list tests 358s ok 1 /list/sort 358s ok 2 /list/sort-with-data 358s ok 3 /list/insert-before-link 358s ok 4 /list/insert-sorted 358s ok 5 /list/insert-sorted-with-data 358s ok 6 /list/reverse 358s ok 7 /list/nth 358s ok 8 /list/concat 358s ok 9 /list/remove 358s ok 10 /list/remove-all 358s ok 11 /list/first-last 358s ok 12 /list/insert 358s ok 13 /list/free-full 358s ok 14 /list/copy 358s ok 15 /list/copy-deep 358s ok 16 /list/delete-link 358s ok 17 /list/prepend 358s ok 18 /list/position 358s ok 19 /list/double-free 358s # Start of sort tests 358s ok 20 /list/sort/stable 358s # End of sort tests 358s # End of list tests 358s ok - glib/list.test 358s # Running test: glib/giomodule.test 358s TAP version 14 358s # random seed: R02S8e3dac4e4a260f43de54e36d0b75b9d8 358s 1..3 358s # Start of giomodule tests 358s ok 1 /giomodule/extension-point 358s ok 2 /giomodule/module-scan-all 358s ok 3 /giomodule/module-scan-all-with-scope 358s # End of giomodule tests 358s ok - glib/giomodule.test 358s # Running test: glib/win32-appinfo.test 358s TAP version 14 358s # random seed: R02S11ec82d1fc0ffe959d73eb1cf2281563 358s 1..5 358s # Start of appinfo tests 358s ok 1 /appinfo/utf16-strfuncs 358s ok 2 /appinfo/win32-extract-executable 358s ok 3 /appinfo/win32-rundll32-fixup 358s ok 4 /appinfo/win32-parse-filename 358s ok 5 /appinfo/win32-utf16-conversion-fail 358s # Start of subprocess tests 358s # End of subprocess tests 358s # End of appinfo tests 358s ok - glib/win32-appinfo.test 358s # Running test: glib/io-channel.test 358s TAP version 14 358s # random seed: R02S73c73af576eb6a643ebc85c6657e656b 358s 1..2 358s # Start of io-channel tests 358s # Line one 358s # 358s # Line two 358s # 358s # Line three 358s # 358s # /* Hello */ 358s # 358s # \x1234\x567890\x6666 358s # 358s # read 62 bytes, wrote 62 bytes 358s ok 1 /io-channel/read-write 358s # Start of read-line tests 358s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 358s ok 2 /io-channel/read-line/embedded-nuls 358s # End of read-line tests 358s # End of io-channel tests 358s ok - glib/io-channel.test 358s # Running test: glib/utils-c-99.test 358s TAP version 14 358s # random seed: R02Sde65e672e5fd8b34503d2f41dcf0ff5b 358s 1..40 358s # Start of utils tests 358s ok 1 /utils/language-names 358s ok 2 /utils/locale-variants 358s ok 3 /utils/version 358s ok 4 /utils/appname 358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 358s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 358s ok 5 /utils/prgname-thread-safety 358s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 358s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 358s ok 6 /utils/tmpdir 358s ok 7 /utils/basic_bits 358s ok 8 /utils/bits 358s ok 9 /utils/swap 358s ok 10 /utils/find-program 358s ok 11 /utils/find-program-for-path 358s ok 12 /utils/debug 358s ok 13 /utils/codeset 358s ok 14 /utils/codeset2 358s ok 15 /utils/console-charset 358s ok 16 /utils/gettext 358s ok 17 /utils/username 358s ok 18 /utils/realname 358s ok 19 /utils/hostname 358s ok 20 /utils/xdgdirs 358s ok 21 /utils/specialdir 358s # NAME: Ubuntu 358s ok 22 /utils/os-info 358s ok 23 /utils/clear-pointer 358s ok 24 /utils/clear-pointer-cast 358s ok 25 /utils/take-pointer 358s ok 26 /utils/clear-source 358s ok 27 /utils/misc-mem 358s # /utils/aligned-mem summary: Aligned memory allocator 358s # Alignment must not be zero 358s # Alignment must be a power of two 358s # Alignment must be a multiple of sizeof(void*) 358s ok 28 /utils/aligned-mem 358s # /utils/free-sized summary: Check that g_free_sized() works 358s ok 29 /utils/free-sized 358s ok 30 /utils/nullify 358s ok 31 /utils/atexit 358s ok 32 /utils/check-setuid 358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 358s ok 33 /utils/int-limits 358s ok 34 /utils/clear-list 358s ok 35 /utils/clear-slist 358s # Start of specialdir tests 358s ok 36 /utils/specialdir/desktop 358s # End of specialdir tests 358s # Start of clear-pointer tests 358s ok 37 /utils/clear-pointer/side-effects 358s # End of clear-pointer tests 358s # Start of aligned-mem tests 358s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 358s ok 38 /utils/aligned-mem/alignment 358s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 358s ok 39 /utils/aligned-mem/zeroed 358s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 358s ok 40 /utils/aligned-mem/free-sized 358s # Start of subprocess tests 358s # End of subprocess tests 358s # End of aligned-mem tests 358s # End of utils tests 358s ok - glib/utils-c-99.test 358s # Running test: glib/file.test 358s TAP version 14 358s # random seed: R02S9f377337ad37546c997d4b89a3885fe7 358s 1..55 358s # Start of file tests 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/basic/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/basic/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/basic/.dirs/system-config1:/tmp/test_file_OYGCX2/file/basic/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/basic/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/basic/.dirs/system-data1:/tmp/test_file_OYGCX2/file/basic/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/basic/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/basic/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/basic/.dirs/runtime 358s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 358s ok 1 /file/basic 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/build-filename/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/build-filename/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/build-filename/.dirs/system-config1:/tmp/test_file_OYGCX2/file/build-filename/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/build-filename/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/build-filename/.dirs/system-data1:/tmp/test_file_OYGCX2/file/build-filename/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/build-filename/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/build-filename/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/build-filename/.dirs/runtime 358s ok 2 /file/build-filename 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/build-filenamev/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/build-filenamev/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_OYGCX2/file/build-filenamev/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/build-filenamev/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_OYGCX2/file/build-filenamev/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/build-filenamev/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/build-filenamev/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/build-filenamev/.dirs/runtime 358s ok 3 /file/build-filenamev 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/parent/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/parent/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/parent/.dirs/system-config1:/tmp/test_file_OYGCX2/file/parent/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/parent/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/parent/.dirs/system-data1:/tmp/test_file_OYGCX2/file/parent/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/parent/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/parent/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/parent/.dirs/runtime 358s ok 4 /file/parent 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/child/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/child/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/child/.dirs/system-config1:/tmp/test_file_OYGCX2/file/child/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/child/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/child/.dirs/system-data1:/tmp/test_file_OYGCX2/file/child/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/child/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/child/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/child/.dirs/runtime 358s ok 5 /file/child 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/empty-path/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/empty-path/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/empty-path/.dirs/system-config1:/tmp/test_file_OYGCX2/file/empty-path/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/empty-path/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/empty-path/.dirs/system-data1:/tmp/test_file_OYGCX2/file/empty-path/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/empty-path/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/empty-path/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/empty-path/.dirs/runtime 358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 358s # /file/empty-path summary: Check that creating a file with an empty path results in errors 358s ok 6 /file/empty-path 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/type/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/type/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/type/.dirs/system-config1:/tmp/test_file_OYGCX2/file/type/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/type/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/type/.dirs/system-data1:/tmp/test_file_OYGCX2/file/type/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/type/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/type/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/type/.dirs/runtime 358s ok 7 /file/type 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/parse-name/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/parse-name/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/parse-name/.dirs/system-config1:/tmp/test_file_OYGCX2/file/parse-name/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/parse-name/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/parse-name/.dirs/system-data1:/tmp/test_file_OYGCX2/file/parse-name/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/parse-name/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/parse-name/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/parse-name/.dirs/runtime 358s ok 8 /file/parse-name 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/replace-load/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/replace-load/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/replace-load/.dirs/system-config1:/tmp/test_file_OYGCX2/file/replace-load/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/replace-load/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/replace-load/.dirs/system-data1:/tmp/test_file_OYGCX2/file/replace-load/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/replace-load/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/replace-load/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/replace-load/.dirs/runtime 358s ok 9 /file/replace-load 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/replace-cancel/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/replace-cancel/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_OYGCX2/file/replace-cancel/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/replace-cancel/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_OYGCX2/file/replace-cancel/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/replace-cancel/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/replace-cancel/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/replace-cancel/.dirs/runtime 358s # Bug Reference: https://bugzilla.gnome.org/629301 358s ok 10 /file/replace-cancel 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/replace-symlink/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/replace-symlink/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_OYGCX2/file/replace-symlink/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/replace-symlink/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_OYGCX2/file/replace-symlink/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/replace-symlink/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/replace-symlink/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/replace-symlink/.dirs/runtime 358s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 358s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 358s # Using temporary directory /tmp/test_file_OYGCX2/g_file_replace_symlink_GU4AX2 358s ok 11 /file/replace-symlink 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/async-new-tmp/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/async-new-tmp/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_OYGCX2/file/async-new-tmp/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/async-new-tmp/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_OYGCX2/file/async-new-tmp/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/async-new-tmp/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/async-new-tmp/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/async-new-tmp/.dirs/runtime 358s ok 12 /file/async-new-tmp 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/async-new-tmp-dir/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/async-new-tmp-dir/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_OYGCX2/file/async-new-tmp-dir/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/async-new-tmp-dir/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_OYGCX2/file/async-new-tmp-dir/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/async-new-tmp-dir/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/async-new-tmp-dir/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/async-new-tmp-dir/.dirs/runtime 358s ok 13 /file/async-new-tmp-dir 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/async-delete/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/async-delete/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/async-delete/.dirs/system-config1:/tmp/test_file_OYGCX2/file/async-delete/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/async-delete/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/async-delete/.dirs/system-data1:/tmp/test_file_OYGCX2/file/async-delete/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/async-delete/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/async-delete/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/async-delete/.dirs/runtime 358s ok 14 /file/async-delete 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/async-make-symlink/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/async-make-symlink/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_OYGCX2/file/async-make-symlink/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/async-make-symlink/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_OYGCX2/file/async-make-symlink/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/async-make-symlink/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/async-make-symlink/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/async-make-symlink/.dirs/runtime 358s ok 15 /file/async-make-symlink 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/copy-preserve-mode/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/copy-preserve-mode/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_OYGCX2/file/copy-preserve-mode/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/copy-preserve-mode/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_OYGCX2/file/copy-preserve-mode/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/copy-preserve-mode/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/copy-preserve-mode/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/copy-preserve-mode/.dirs/runtime 358s # Current umask: 2 358s # Vector 0 358s # Vector 1 358s # Vector 2 358s # Vector 3 358s # Vector 4 358s # Vector 5 358s # Vector 6 358s # Vector 7 358s # Vector 8 358s # Vector 9 358s # Vector 10 358s ok 16 /file/copy-preserve-mode 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/copy-async-with-closures/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/copy-async-with-closures/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_OYGCX2/file/copy-async-with-closures/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/copy-async-with-closures/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_OYGCX2/file/copy-async-with-closures/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/copy-async-with-closures/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/copy-async-with-closures/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/copy-async-with-closures/.dirs/runtime 358s ok 17 /file/copy-async-with-closures 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/measure/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/measure/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/measure/.dirs/system-config1:/tmp/test_file_OYGCX2/file/measure/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/measure/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/measure/.dirs/system-data1:/tmp/test_file_OYGCX2/file/measure/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/measure/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/measure/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/measure/.dirs/runtime 358s ok 18 /file/measure 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/measure-async/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/measure-async/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/measure-async/.dirs/system-config1:/tmp/test_file_OYGCX2/file/measure-async/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/measure-async/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/measure-async/.dirs/system-data1:/tmp/test_file_OYGCX2/file/measure-async/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/measure-async/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/measure-async/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/measure-async/.dirs/runtime 358s ok 19 /file/measure-async 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/load-bytes/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/load-bytes/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/load-bytes/.dirs/system-config1:/tmp/test_file_OYGCX2/file/load-bytes/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/load-bytes/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/load-bytes/.dirs/system-data1:/tmp/test_file_OYGCX2/file/load-bytes/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/load-bytes/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/load-bytes/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/load-bytes/.dirs/runtime 358s ok 20 /file/load-bytes 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/load-bytes-async/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/load-bytes-async/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_OYGCX2/file/load-bytes-async/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/load-bytes-async/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_OYGCX2/file/load-bytes-async/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/load-bytes-async/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/load-bytes-async/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/load-bytes-async/.dirs/runtime 358s ok 21 /file/load-bytes-async 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/load-bytes-4gb/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/load-bytes-4gb/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_OYGCX2/file/load-bytes-4gb/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/load-bytes-4gb/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_OYGCX2/file/load-bytes-4gb/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/load-bytes-4gb/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/load-bytes-4gb/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/load-bytes-4gb/.dirs/runtime 358s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/load-contents-4gb/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/load-contents-4gb/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_OYGCX2/file/load-contents-4gb/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/load-contents-4gb/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_OYGCX2/file/load-contents-4gb/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/load-contents-4gb/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/load-contents-4gb/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/load-contents-4gb/.dirs/runtime 358s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/load-contents-4gb-async/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/load-contents-4gb-async/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_OYGCX2/file/load-contents-4gb-async/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/load-contents-4gb-async/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_OYGCX2/file/load-contents-4gb-async/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/load-contents-4gb-async/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/load-contents-4gb-async/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/load-contents-4gb-async/.dirs/runtime 358s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/writev/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/writev/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/writev/.dirs/system-config1:/tmp/test_file_OYGCX2/file/writev/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/writev/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/writev/.dirs/system-data1:/tmp/test_file_OYGCX2/file/writev/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/writev/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/writev/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/writev/.dirs/runtime 358s ok 25 /file/writev 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/build-attribute-list-for-copy/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/build-attribute-list-for-copy/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_OYGCX2/file/build-attribute-list-for-copy/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/build-attribute-list-for-copy/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_OYGCX2/file/build-attribute-list-for-copy/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/build-attribute-list-for-copy/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/build-attribute-list-for-copy/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/build-attribute-list-for-copy/.dirs/runtime 358s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 358s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 358s # 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::* 358s # 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::* 358s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 358s # Attributes for copy: standard::size,xattr::* 358s # Attributes for copy: standard::size,unix::mode,xattr::* 358s ok 26 /file/build-attribute-list-for-copy 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/move_async/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/move_async/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/move_async/.dirs/system-config1:/tmp/test_file_OYGCX2/file/move_async/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/move_async/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/move_async/.dirs/system-data1:/tmp/test_file_OYGCX2/file/move_async/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/move_async/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/move_async/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/move_async/.dirs/runtime 358s ok 27 /file/move_async 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/move-async-with-closures/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/move-async-with-closures/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_OYGCX2/file/move-async-with-closures/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/move-async-with-closures/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_OYGCX2/file/move-async-with-closures/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/move-async-with-closures/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/move-async-with-closures/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/move-async-with-closures/.dirs/runtime 358s ok 28 /file/move-async-with-closures 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/query-zero-length-content-type/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/query-zero-length-content-type/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_OYGCX2/file/query-zero-length-content-type/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/query-zero-length-content-type/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_OYGCX2/file/query-zero-length-content-type/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/query-zero-length-content-type/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/query-zero-length-content-type/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/query-zero-length-content-type/.dirs/runtime 358s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 358s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 358s ok 29 /file/query-zero-length-content-type 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/runtime 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/data/applications 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/config 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/config 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/config 358s ok 30 /file/query-default-handler-file 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/runtime 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/data/applications 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/config 358s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_OYGCX2/file/query-default-handler-file/.dirs/config to /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/config 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/config 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/config 358s ok 31 /file/query-default-handler-file-async 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/runtime 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/data/applications 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/config 358s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_OYGCX2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/config 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/config 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/config 358s ok 32 /file/query-default-handler-uri 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/runtime 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/data/applications 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/config 358s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_OYGCX2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/config 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/config 358s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_OYGCX2/file/query-default-handler-uri-async/.dirs/config 358s ok 33 /file/query-default-handler-uri-async 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/enumerator-cancellation/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/enumerator-cancellation/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_OYGCX2/file/enumerator-cancellation/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/enumerator-cancellation/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_OYGCX2/file/enumerator-cancellation/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/enumerator-cancellation/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/enumerator-cancellation/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/enumerator-cancellation/.dirs/runtime 358s ok 34 /file/enumerator-cancellation 358s # Start of async-create-delete tests 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/async-create-delete/0/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/0/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_OYGCX2/file/async-create-delete/0/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/0/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_OYGCX2/file/async-create-delete/0/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/0/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/0/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/async-create-delete/0/.dirs/runtime 358s ok 35 /file/async-create-delete/0 358s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/async-create-delete/1/.dirs/home 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/1/.dirs/cache 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_OYGCX2/file/async-create-delete/1/.dirs/system-config2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/1/.dirs/config 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_OYGCX2/file/async-create-delete/1/.dirs/system-data2 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/1/.dirs/data 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/1/.dirs/state 358s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/async-create-delete/1/.dirs/runtime 359s ok 36 /file/async-create-delete/1 359s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/async-create-delete/10/.dirs/home 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/10/.dirs/cache 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_OYGCX2/file/async-create-delete/10/.dirs/system-config2 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/10/.dirs/config 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_OYGCX2/file/async-create-delete/10/.dirs/system-data2 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/10/.dirs/data 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/10/.dirs/state 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/async-create-delete/10/.dirs/runtime 359s ok 37 /file/async-create-delete/10 359s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/async-create-delete/25/.dirs/home 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/25/.dirs/cache 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_OYGCX2/file/async-create-delete/25/.dirs/system-config2 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/25/.dirs/config 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_OYGCX2/file/async-create-delete/25/.dirs/system-data2 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/25/.dirs/data 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/25/.dirs/state 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/async-create-delete/25/.dirs/runtime 359s ok 38 /file/async-create-delete/25 359s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/async-create-delete/4096/.dirs/home 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/4096/.dirs/cache 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_OYGCX2/file/async-create-delete/4096/.dirs/system-config2 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/4096/.dirs/config 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_OYGCX2/file/async-create-delete/4096/.dirs/system-data2 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/4096/.dirs/data 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/async-create-delete/4096/.dirs/state 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/async-create-delete/4096/.dirs/runtime 359s ok 39 /file/async-create-delete/4096 359s # End of async-create-delete tests 359s # Start of replace-symlink tests 359s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/replace-symlink/using-etag/.dirs/home 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/replace-symlink/using-etag/.dirs/cache 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_OYGCX2/file/replace-symlink/using-etag/.dirs/system-config2 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/replace-symlink/using-etag/.dirs/config 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_OYGCX2/file/replace-symlink/using-etag/.dirs/system-data2 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/replace-symlink/using-etag/.dirs/data 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/replace-symlink/using-etag/.dirs/state 359s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/replace-symlink/using-etag/.dirs/runtime 359s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 359s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 359s # Using temporary directory /tmp/test_file_OYGCX2/g_file_replace_symlink_using_etag_1ML0W2 360s # Executing: glib/file.test 361s ok 40 /file/replace-symlink/using-etag 361s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 361s # End of replace-symlink tests 361s # Start of replace tests 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/replace/write-only/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/replace/write-only/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_OYGCX2/file/replace/write-only/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/replace/write-only/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_OYGCX2/file/replace/write-only/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/replace/write-only/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/replace/write-only/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/replace/write-only/.dirs/runtime 361s # /file/replace/write-only summary: Test various situations for g_file_replace() 361s # Current umask: 2 361s # Test 0, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_SOT0W2 361s # Test 1, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_QUT0W2 361s # Test 2, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_7YR0W2 361s # Test 3, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_AZ20W2 361s # Test 4, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_FD20W2 361s # Test 5, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_5I20W2 361s # Test 6, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_0CY0W2 361s # Test 7, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_2C60W2 361s # Test 8, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_K150W2 361s # Test 9, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_H350W2 361s # Test 10, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_BC2ZW2 361s # Test 11, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_96ZZW2 361s # Test 12, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_PRZZW2 361s # Test 13, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_UXZZW2 361s # Test 14, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_B1WZW2 361s # Test 15, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_YP7ZW2 361s # Test 16, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_SN5ZW2 361s # Test 17, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_383ZW2 361s # Test 18, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_WR2ZW2 361s # Test 19, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_03C0W2 361s # Test 20, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_INC0W2 361s # Test 21, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_OWA0W2 361s # Test 22, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_HJK0W2 361s # Test 23, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_U4J0W2 361s # Test 24, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_QXH0W2 361s # Test 25, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_75F0W2 361s # Test 26, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_VPF0W2 361s # Test 27, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_34E0W2 361s # Test 28, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_BR21W2 361s # Test 29, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_X701W2 361s # Test 30, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_CD11W2 361s # Test 31, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_AS01W2 361s # Test 32, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_N6B2W2 361s # Test 33, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_7IA2W2 361s # Test 34, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_S691W2 361s # Test 35, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_7J91W2 361s # Test 36, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_RP71W2 361s # Test 37, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_LII2W2 361s # Test 38, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_04G2W2 361s # Test 39, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_PFF2W2 361s # Test 40, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_PTD2W2 361s # Test 41, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_PXM2W2 361s # Test 42, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_J3K2W2 361s # Test 43, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_1FJ2W2 361s # Test 44, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_K2F1W2 361s # Test 45, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_QHF1W2 361s # Test 46, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_7XD1W2 361s # Test 47, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_QYD1W2 361s # Test 48, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_PBC1W2 361s # We do not have CAP_DAC_OVERRIDE or equivalent 361s ok 41 /file/replace/write-only 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/replace/read-write/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/replace/read-write/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_OYGCX2/file/replace/read-write/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/replace/read-write/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_OYGCX2/file/replace/read-write/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/replace/read-write/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/replace/read-write/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/replace/read-write/.dirs/runtime 361s # /file/replace/read-write summary: Test various situations for g_file_replace() 361s # Current umask: 2 361s # Test 0, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_J5B1W2 361s # Test 1, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_ZKB1W2 361s # Test 2, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_7LM1W2 361s # Test 3, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_T9K1W2 361s # Test 4, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_DNK1W2 361s # Test 5, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_8TK1W2 361s # Test 6, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_9TI1W2 361s # Test 7, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_BNH1W2 361s # Test 8, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_C6G1W2 361s # Test 9, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_FFH1W2 361s # Test 10, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_3ZR1W2 361s # Test 11, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_H3P1W2 361s # Test 12, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_8FP1W2 361s # Test 13, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_UNP1W2 361s # Test 14, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_PMN1W2 361s # Test 15, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_Q4X1W2 361s # Test 16, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_8LW1W2 361s # Test 17, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_T4U1W2 361s # Test 18, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_VPK3W2 361s # Test 19, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_8NI3W2 361s # Test 20, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_75G3W2 361s # Test 21, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_I3F3W2 361s # Test 22, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_SQQ3W2 361s # Test 23, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_R4P3W2 361s # Test 24, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_F6O3W2 361s # Test 25, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_EKN3W2 361s # Test 26, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_0WM3W2 361s # Test 27, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_MAN3W2 361s # Test 28, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_9KL3W2 361s # Test 29, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_0HW3W2 361s # Test 30, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_AAW3W2 361s # Test 31, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_ABW3W2 361s # Test 32, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_03T3W2 361s # Test 33, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_7HS3W2 361s # Test 34, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_ZOS3W2 361s # Test 35, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_S3R3W2 361s # Test 36, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_8J33W2 361s # Test 37, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_RZ13W2 361s # Test 38, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_2Z03W2 361s # Test 39, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_IGZ3W2 361s # Test 40, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_8WX3W2 361s # Test 41, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_OUT2W2 361s # Test 42, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_WDS2W2 361s # Test 43, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_HTQ2W2 361s # Test 44, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_BY12W2 361s # Test 45, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_AD12W2 361s # Test 46, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_NPZ2W2 361s # Test 47, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_OXZ2W2 361s # Test 48, using temporary directory /tmp/test_file_OYGCX2/g_file_replace_65X2W2 361s # We do not have CAP_DAC_OVERRIDE or equivalent 361s ok 42 /file/replace/read-write 361s # End of replace tests 361s # Start of copy tests 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/copy/progress/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/copy/progress/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/copy/progress/.dirs/system-config1:/tmp/test_file_OYGCX2/file/copy/progress/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/copy/progress/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/copy/progress/.dirs/system-data1:/tmp/test_file_OYGCX2/file/copy/progress/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/copy/progress/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/copy/progress/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/copy/progress/.dirs/runtime 361s ok 43 /file/copy/progress 361s # End of copy tests 361s # Start of writev tests 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/writev/no-bytes-written/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/writev/no-bytes-written/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_OYGCX2/file/writev/no-bytes-written/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/writev/no-bytes-written/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_OYGCX2/file/writev/no-bytes-written/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/writev/no-bytes-written/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/writev/no-bytes-written/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/writev/no-bytes-written/.dirs/runtime 361s ok 44 /file/writev/no-bytes-written 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/writev/no-vectors/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/writev/no-vectors/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_OYGCX2/file/writev/no-vectors/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/writev/no-vectors/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_OYGCX2/file/writev/no-vectors/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/writev/no-vectors/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/writev/no-vectors/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/writev/no-vectors/.dirs/runtime 361s ok 45 /file/writev/no-vectors 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/writev/empty-vectors/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/writev/empty-vectors/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_OYGCX2/file/writev/empty-vectors/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/writev/empty-vectors/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_OYGCX2/file/writev/empty-vectors/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/writev/empty-vectors/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/writev/empty-vectors/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/writev/empty-vectors/.dirs/runtime 361s ok 46 /file/writev/empty-vectors 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/writev/too-big-vectors/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/writev/too-big-vectors/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_OYGCX2/file/writev/too-big-vectors/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/writev/too-big-vectors/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_OYGCX2/file/writev/too-big-vectors/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/writev/too-big-vectors/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/writev/too-big-vectors/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/writev/too-big-vectors/.dirs/runtime 361s ok 47 /file/writev/too-big-vectors 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/writev/async/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/writev/async/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/writev/async/.dirs/system-config1:/tmp/test_file_OYGCX2/file/writev/async/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/writev/async/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/writev/async/.dirs/system-data1:/tmp/test_file_OYGCX2/file/writev/async/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/writev/async/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/writev/async/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/writev/async/.dirs/runtime 361s ok 48 /file/writev/async 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/writev/async_all/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/writev/async_all/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_OYGCX2/file/writev/async_all/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/writev/async_all/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_OYGCX2/file/writev/async_all/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/writev/async_all/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/writev/async_all/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/writev/async_all/.dirs/runtime 361s ok 49 /file/writev/async_all 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/writev/async_all-empty-vectors/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-empty-vectors/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_OYGCX2/file/writev/async_all-empty-vectors/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-empty-vectors/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_OYGCX2/file/writev/async_all-empty-vectors/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-empty-vectors/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-empty-vectors/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/writev/async_all-empty-vectors/.dirs/runtime 361s ok 50 /file/writev/async_all-empty-vectors 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/writev/async_all-no-vectors/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-no-vectors/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_OYGCX2/file/writev/async_all-no-vectors/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-no-vectors/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_OYGCX2/file/writev/async_all-no-vectors/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-no-vectors/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-no-vectors/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/writev/async_all-no-vectors/.dirs/runtime 361s ok 51 /file/writev/async_all-no-vectors 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/writev/async_all-to-big-vectors/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-to-big-vectors/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_OYGCX2/file/writev/async_all-to-big-vectors/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-to-big-vectors/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_OYGCX2/file/writev/async_all-to-big-vectors/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-to-big-vectors/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-to-big-vectors/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/writev/async_all-to-big-vectors/.dirs/runtime 361s ok 52 /file/writev/async_all-to-big-vectors 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/writev/async_all-cancellation/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-cancellation/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_OYGCX2/file/writev/async_all-cancellation/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-cancellation/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_OYGCX2/file/writev/async_all-cancellation/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-cancellation/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/writev/async_all-cancellation/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/writev/async_all-cancellation/.dirs/runtime 361s ok 53 /file/writev/async_all-cancellation 361s # End of writev tests 361s # Start of from-uri tests 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/from-uri/ignores-query-string/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/from-uri/ignores-query-string/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_OYGCX2/file/from-uri/ignores-query-string/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/from-uri/ignores-query-string/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_OYGCX2/file/from-uri/ignores-query-string/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/from-uri/ignores-query-string/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/from-uri/ignores-query-string/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/from-uri/ignores-query-string/.dirs/runtime 361s ok 54 /file/from-uri/ignores-query-string 361s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_OYGCX2/file/from-uri/ignores-fragment/.dirs/home 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_OYGCX2/file/from-uri/ignores-fragment/.dirs/cache 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_OYGCX2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_OYGCX2/file/from-uri/ignores-fragment/.dirs/system-config2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_OYGCX2/file/from-uri/ignores-fragment/.dirs/config 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_OYGCX2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_OYGCX2/file/from-uri/ignores-fragment/.dirs/system-data2 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_OYGCX2/file/from-uri/ignores-fragment/.dirs/data 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_OYGCX2/file/from-uri/ignores-fragment/.dirs/state 361s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_OYGCX2/file/from-uri/ignores-fragment/.dirs/runtime 361s ok 55 /file/from-uri/ignores-fragment 361s # End of from-uri tests 361s # End of file tests 361s ok - glib/file.test 361s # Running test: glib/tls-interaction.test 361s TAP version 14 361s # random seed: R02S2fb5009fe671630065426276f7187647 361s 1..42 361s # Start of tls-interaction tests 361s # Start of ask-password tests 361s # Start of invoke-with-loop tests 361s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 361s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 361s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 361s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 361s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 361s # End of invoke-with-loop tests 361s # Start of invoke-without-loop tests 361s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 361s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 361s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 361s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 361s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 361s # End of invoke-without-loop tests 361s # Start of invoke-in-loop tests 361s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 361s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 361s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 361s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 361s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 361s # End of invoke-in-loop tests 361s # Start of sync tests 361s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 361s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 361s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 361s # End of sync tests 361s # Start of async tests 361s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 361s ok 20 /tls-interaction/ask-password/async/async-implementation-success 361s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 361s # End of async tests 361s # End of ask-password tests 361s # Start of request-certificate tests 361s # Start of invoke-with-loop tests 361s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 361s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 361s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 361s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 361s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 361s # End of invoke-with-loop tests 361s # Start of invoke-without-loop tests 361s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 361s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 361s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 361s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 361s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 361s # End of invoke-without-loop tests 361s # Start of invoke-in-loop tests 361s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 361s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 361s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 361s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 361s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 361s # End of invoke-in-loop tests 361s # Start of sync tests 361s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 361s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 361s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 361s # End of sync tests 361s # Start of async tests 361s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 361s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 361s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 361s # End of async tests 361s # End of request-certificate tests 361s # End of tls-interaction tests 361s ok - glib/tls-interaction.test 361s # Running test: glib/gdbus-address-get-session.test 361s TAP version 14 361s # random seed: R02S2826bdd552415e5008a270f1a5d5244d 361s 1..2 361s # Start of gdbus tests 361s ok 1 /gdbus/x11-autolaunch 361s ok 2 /gdbus/xdg-runtime 361s # End of gdbus tests 361s ok - glib/gdbus-address-get-session.test 361s # Running test: glib/objects-refcount1.test 361s TAP version 14 361s # random seed: R02S5dc67621b295c2b7195877bfa471e457 361s 1..1 361s # Start of gobject tests 361s # Start of refcount tests 361s # init 0x1aa829cfe740 361s # 361s # init 0x1aa829cfe8d0 361s # 365s # Executing: glib/objects-refcount1.test 366s # dispose 0x1aa829cfe740! 366s # 366s # dispose 0x1aa829cfe8d0! 366s # 366s ok 1 /gobject/refcount/object-basics 366s # slow test /gobject/refcount/object-basics executed in 5.00 secs 366s # End of refcount tests 366s # End of gobject tests 366s ok - glib/objects-refcount1.test 366s # Running test: glib/gdbus-serialization.test 366s TAP version 14 366s # random seed: R02S6fda0e3c29561dbac6eef65a39462488 366s 1..18 366s # Start of gdbus tests 366s # Start of message-serialize tests 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/basic/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/basic/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/basic/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/basic/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/basic/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/basic/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/basic/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/basic/.dirs/runtime 366s ok 1 /gdbus/message-serialize/basic 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/complex/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/complex/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/complex/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/complex/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/complex/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/complex/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/complex/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/complex/.dirs/runtime 366s ok 2 /gdbus/message-serialize/complex 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/invalid/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/invalid/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/invalid/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/invalid/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/invalid/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/invalid/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/invalid/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/invalid/.dirs/runtime 366s ok 3 /gdbus/message-serialize/invalid 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/.dirs/runtime 366s ok 4 /gdbus/message-serialize/header-checks 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/double-array/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/double-array/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/double-array/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/double-array/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/double-array/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/double-array/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/double-array/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/double-array/.dirs/runtime 366s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 366s ok 5 /gdbus/message-serialize/double-array 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/empty-structure/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/empty-structure/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/empty-structure/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/empty-structure/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/empty-structure/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/empty-structure/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/empty-structure/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/empty-structure/.dirs/runtime 366s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 366s ok 6 /gdbus/message-serialize/empty-structure 366s # Start of header-checks tests 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/valid/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/valid/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/valid/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/valid/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/valid/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 366s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 366s ok 7 /gdbus/message-serialize/header-checks/valid 366s # End of header-checks tests 366s # End of message-serialize tests 366s # Start of message-parse tests 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 366s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 366s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/non-signature-header/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/non-signature-header/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/non-signature-header/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/non-signature-header/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/non-signature-header/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/non-signature-header/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/non-signature-header/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/non-signature-header/.dirs/runtime 366s ok 9 /gdbus/message-parse/non-signature-header 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-signature-header/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-signature-header/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-signature-header/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-signature-header/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-signature-header/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-signature-header/.dirs/runtime 366s ok 10 /gdbus/message-parse/empty-signature-header 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/multiple-signature-header/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/multiple-signature-header/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/multiple-signature-header/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/multiple-signature-header/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/multiple-signature-header/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 366s ok 11 /gdbus/message-parse/multiple-signature-header 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/over-long-signature-header/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/over-long-signature-header/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/over-long-signature-header/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/over-long-signature-header/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/over-long-signature-header/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 366s ok 12 /gdbus/message-parse/over-long-signature-header 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-header-nesting/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-header-nesting/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-header-nesting/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-header-nesting/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-header-nesting/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 366s ok 13 /gdbus/message-parse/deep-header-nesting 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-body-nesting/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-body-nesting/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-body-nesting/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-body-nesting/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-body-nesting/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 366s ok 14 /gdbus/message-parse/deep-body-nesting 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/truncated/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/truncated/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/truncated/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/truncated/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/truncated/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/truncated/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/truncated/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/truncated/.dirs/runtime 366s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 366s ok 15 /gdbus/message-parse/truncated 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-structure/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-structure/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-structure/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-structure/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-structure/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-structure/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-structure/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/empty-structure/.dirs/runtime 366s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 366s ok 16 /gdbus/message-parse/empty-structure 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/missing-header/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/missing-header/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/missing-header/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/missing-header/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/missing-header/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/missing-header/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/missing-header/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/missing-header/.dirs/runtime 366s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 366s ok 17 /gdbus/message-parse/missing-header 366s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/invalid-header-type/.dirs/home 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/invalid-header-type/.dirs/cache 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/invalid-header-type/.dirs/config 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/invalid-header-type/.dirs/data 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/invalid-header-type/.dirs/state 366s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_U0G5W2/gdbus/message-parse/invalid-header-type/.dirs/runtime 366s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 366s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 366s ok 18 /gdbus/message-parse/invalid-header-type 366s # End of message-parse tests 366s # End of gdbus tests 366s ok - glib/gdbus-serialization.test 366s # Running test: glib/socket.test 366s TAP version 14 366s # random seed: R02S96425ca0e908f1e4cd6dd4524a1feef5 366s 1..28 366s # Start of socket tests 367s ok 1 /socket/ipv4_sync 367s # slow test /socket/ipv4_sync executed in 1.00 secs 368s ok 2 /socket/ipv4_async 368s # slow test /socket/ipv4_async executed in 1.00 secs 368s ok 3 /socket/ipv6_sync 368s ok 4 /socket/ipv6_async 368s ok 5 /socket/ipv6_v4mapped 369s ok 6 /socket/close_graceful 369s # slow test /socket/close_graceful executed in 1.00 secs 369s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 369s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 369s ok 8 /socket/fd_reuse 369s ok 9 /socket/address 369s ok 10 /socket/unix-from-fd 369s ok 11 /socket/unix-connection 369s ok 12 /socket/unix-connection-ancillary-data 369s ok 13 /socket/source-postmortem 369s ok 14 /socket/read_write 369s ok 15 /socket/read_writev 369s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 369s ok 16 /socket/receive_bytes 369s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 369s ok 17 /socket/receive_bytes_from 369s # Start of ipv4_sync tests 369s ok 18 /socket/ipv4_sync/datagram 369s # Start of datagram tests 370s # Executing: glib/socket.test 370s ok 19 /socket/ipv4_sync/datagram/timeouts 370s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 370s # End of datagram tests 370s # End of ipv4_sync tests 370s # Start of ipv6_sync tests 370s ok 20 /socket/ipv6_sync/datagram 370s # Start of datagram tests 371s ok 21 /socket/ipv6_sync/datagram/timeouts 371s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 371s # End of datagram tests 371s # End of ipv6_sync tests 371s # Start of reuse tests 371s ok 22 /socket/reuse/tcp 371s ok 23 /socket/reuse/udp 371s # End of reuse tests 371s # Start of get_available tests 371s ok 24 /socket/get_available/datagram 371s ok 25 /socket/get_available/stream 371s # End of get_available tests 371s # Start of credentials tests 371s # Supported on this OS: GCredentials:linux-ucred:pid=0 371s ok 26 /socket/credentials/tcp_client 371s # Supported on this OS: GCredentials:linux-ucred:pid=0 371s ok 27 /socket/credentials/tcp_server 371s # Supported on this OS: GCredentials:linux-ucred:pid=3078,uid=1000,gid=1000 371s ok 28 /socket/credentials/unix_socketpair 371s # End of credentials tests 371s # End of socket tests 371s ok - glib/socket.test 371s # Running test: glib/test-printf.test 371s TAP version 14 371s # random seed: R02S04a8d875cc36d59f83f16bc1c241e71a 371s 1..22 371s # Start of snprintf tests 371s ok 1 /snprintf/retval-and-trunc 371s ok 2 /snprintf/%d 371s ok 3 /snprintf/%d-invalid 371s ok 4 /snprintf/%o 371s ok 5 /snprintf/%u 371s ok 6 /snprintf/%x 371s ok 7 /snprintf/%X 371s ok 8 /snprintf/%f 371s ok 9 /snprintf/%e 371s ok 10 /snprintf/%c 371s ok 11 /snprintf/%s 371s ok 12 /snprintf/%n 371s ok 13 /snprintf/test-percent 371s ok 14 /snprintf/test-positional-params 371s ok 15 /snprintf/test-64bit 371s # End of snprintf tests 371s # Start of printf tests 371s ok 16 /printf/test-percent 371s ok 17 /printf/test-positional-params 371s ok 18 /printf/test-64bit 371s # Start of test-64bit tests 371s # Start of subprocess tests 371s # End of subprocess tests 371s # End of test-64bit tests 371s # End of printf tests 371s # Start of sprintf tests 371s ok 19 /sprintf/test-positional-params 371s ok 20 /sprintf/upper-bound 371s # End of sprintf tests 371s # Start of vasprintf tests 371s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 371s ok 21 /vasprintf/invalid-format-placeholder 371s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 371s ok 22 /vasprintf/invalid-wide-string 371s # End of vasprintf tests 371s ok - glib/test-printf.test 371s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 371s TAP version 14 371s # random seed: R02Sdee1842ed76887de942c1317b0857b6d 371s 1..8 371s # Start of gdbus tests 371s # Start of codegen tests 371s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/annotations/.dirs/home 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/annotations/.dirs/cache 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/annotations/.dirs/system-config2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/annotations/.dirs/config 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/annotations/.dirs/system-data2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/annotations/.dirs/data 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/annotations/.dirs/state 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/annotations/.dirs/runtime 371s ok 1 /gdbus/codegen/annotations 371s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/interface_stability/.dirs/home 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/interface_stability/.dirs/cache 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/interface_stability/.dirs/system-config2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/interface_stability/.dirs/config 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/interface_stability/.dirs/system-data2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/interface_stability/.dirs/data 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/interface_stability/.dirs/state 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/interface_stability/.dirs/runtime 371s ok 2 /gdbus/codegen/interface_stability 371s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/object-manager/.dirs/home 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/object-manager/.dirs/cache 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/object-manager/.dirs/system-config2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/object-manager/.dirs/config 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/object-manager/.dirs/system-data2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/object-manager/.dirs/data 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/object-manager/.dirs/state 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/object-manager/.dirs/runtime 371s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 371s ok 3 /gdbus/codegen/object-manager 371s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/property-naming/.dirs/home 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/property-naming/.dirs/cache 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/property-naming/.dirs/system-config2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/property-naming/.dirs/config 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/property-naming/.dirs/system-data2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/property-naming/.dirs/data 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/property-naming/.dirs/state 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/property-naming/.dirs/runtime 371s ok 4 /gdbus/codegen/property-naming 371s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/autocleanups/.dirs/home 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/autocleanups/.dirs/cache 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/autocleanups/.dirs/system-config2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/autocleanups/.dirs/config 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/autocleanups/.dirs/system-data2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/autocleanups/.dirs/data 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/autocleanups/.dirs/state 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/autocleanups/.dirs/runtime 371s ok 5 /gdbus/codegen/autocleanups 371s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/deprecations/.dirs/home 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/deprecations/.dirs/cache 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/deprecations/.dirs/system-config2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/deprecations/.dirs/config 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/deprecations/.dirs/system-data2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/deprecations/.dirs/data 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/deprecations/.dirs/state 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/deprecations/.dirs/runtime 371s ok 6 /gdbus/codegen/deprecations 371s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/standalone-interface-info/.dirs/home 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/standalone-interface-info/.dirs/cache 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/standalone-interface-info/.dirs/config 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/standalone-interface-info/.dirs/data 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/standalone-interface-info/.dirs/state 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/standalone-interface-info/.dirs/runtime 371s ok 7 /gdbus/codegen/standalone-interface-info 371s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/unix-fd-list/.dirs/home 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/unix-fd-list/.dirs/cache 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/unix-fd-list/.dirs/system-config2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/unix-fd-list/.dirs/config 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/unix-fd-list/.dirs/system-data2 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/unix-fd-list/.dirs/data 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/unix-fd-list/.dirs/state 371s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_EMCBX2/gdbus/codegen/unix-fd-list/.dirs/runtime 371s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 371s ok 8 /gdbus/codegen/unix-fd-list 371s # End of codegen tests 371s # End of gdbus tests 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s ok - glib/gdbus-test-codegen-min-required-2-64.test 371s # Running test: glib/utf8-misc.test 371s TAP version 14 371s # random seed: R02S0a010e52c000df21ddf99d913551751e 371s 1..7 371s # Start of utf8 tests 371s ok 1 /utf8/strlen 371s ok 2 /utf8/strncpy 371s ok 3 /utf8/strrchr 371s ok 4 /utf8/reverse 371s ok 5 /utf8/substring 371s ok 6 /utf8/make-valid 371s ok 7 /utf8/truncate-middle 371s # End of utf8 tests 371s ok - glib/utf8-misc.test 371s # Running test: glib/credentials.test 371s TAP version 14 371s # random seed: R02Sbccfdad62b0d23a7ae5e244e554a74e6 371s 1..1 371s # Start of credentials tests 371s # GCredentials:linux-ucred:pid=3116,uid=1000,gid=1000 371s # GCredentials:linux-ucred:pid=3116,uid=0,gid=1000 371s ok 1 /credentials/basic 371s # End of credentials tests 371s ok - glib/credentials.test 371s # Running test: glib/fdo-notification-backend.test 371s TAP version 14 371s # random seed: R02Sef410d28912439895c5f7c4fb31a5e56 371s 1..2 371s # Start of fdo-notification-backend tests 371s # Test constructing a GFdoNotificationBackend 371s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s ok 1 /fdo-notification-backend/construction 371s # Start of dbus tests 371s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 371s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 371s ok 2 /fdo-notification-backend/dbus/activate-action 371s # End of dbus tests 371s # End of fdo-notification-backend tests 371s ok - glib/fdo-notification-backend.test 371s # Running test: glib/checksum.test 371s TAP version 14 371s # random seed: R02S56185a1a240dc01063794ddeec0cdfee 371s 1..1851 371s # Start of checksum tests 371s ok 1 /checksum/unsupported 371s # Start of MD5 tests 371s ok 2 /checksum/MD5/0 371s ok 3 /checksum/MD5/1 371s ok 4 /checksum/MD5/2 371s ok 5 /checksum/MD5/3 371s ok 6 /checksum/MD5/4 371s ok 7 /checksum/MD5/5 371s ok 8 /checksum/MD5/6 371s ok 9 /checksum/MD5/7 371s ok 10 /checksum/MD5/8 371s ok 11 /checksum/MD5/9 371s ok 12 /checksum/MD5/10 371s ok 13 /checksum/MD5/11 371s ok 14 /checksum/MD5/12 371s ok 15 /checksum/MD5/13 371s ok 16 /checksum/MD5/14 371s ok 17 /checksum/MD5/15 371s ok 18 /checksum/MD5/16 371s ok 19 /checksum/MD5/17 371s ok 20 /checksum/MD5/18 371s ok 21 /checksum/MD5/19 371s ok 22 /checksum/MD5/20 371s ok 23 /checksum/MD5/21 371s ok 24 /checksum/MD5/22 371s ok 25 /checksum/MD5/23 371s ok 26 /checksum/MD5/24 371s ok 27 /checksum/MD5/25 371s ok 28 /checksum/MD5/26 371s ok 29 /checksum/MD5/27 371s ok 30 /checksum/MD5/28 371s ok 31 /checksum/MD5/29 371s ok 32 /checksum/MD5/30 371s ok 33 /checksum/MD5/31 371s ok 34 /checksum/MD5/32 371s ok 35 /checksum/MD5/33 371s ok 36 /checksum/MD5/34 371s ok 37 /checksum/MD5/35 371s ok 38 /checksum/MD5/36 371s ok 39 /checksum/MD5/37 371s ok 40 /checksum/MD5/38 371s ok 41 /checksum/MD5/39 371s ok 42 /checksum/MD5/40 371s ok 43 /checksum/MD5/41 371s ok 44 /checksum/MD5/42 371s ok 45 /checksum/MD5/43 371s ok 46 /checksum/MD5/44 371s ok 47 /checksum/MD5/45 371s ok 48 /checksum/MD5/46 371s ok 49 /checksum/MD5/47 371s ok 50 /checksum/MD5/48 371s ok 51 /checksum/MD5/49 371s ok 52 /checksum/MD5/50 371s ok 53 /checksum/MD5/51 371s ok 54 /checksum/MD5/52 371s ok 55 /checksum/MD5/53 371s ok 56 /checksum/MD5/54 371s ok 57 /checksum/MD5/55 371s ok 58 /checksum/MD5/56 371s ok 59 /checksum/MD5/57 371s ok 60 /checksum/MD5/58 371s ok 61 /checksum/MD5/59 371s ok 62 /checksum/MD5/60 371s ok 63 /checksum/MD5/61 371s ok 64 /checksum/MD5/62 371s ok 65 /checksum/MD5/63 371s ok 66 /checksum/MD5/64 371s ok 67 /checksum/MD5/65 371s ok 68 /checksum/MD5/66 371s ok 69 /checksum/MD5/67 371s ok 70 /checksum/MD5/68 371s ok 71 /checksum/MD5/69 371s ok 72 /checksum/MD5/70 371s ok 73 /checksum/MD5/71 371s ok 74 /checksum/MD5/72 371s ok 75 /checksum/MD5/73 371s ok 76 /checksum/MD5/74 371s ok 77 /checksum/MD5/75 371s ok 78 /checksum/MD5/76 371s ok 79 /checksum/MD5/77 371s ok 80 /checksum/MD5/78 371s ok 81 /checksum/MD5/79 371s ok 82 /checksum/MD5/80 371s ok 83 /checksum/MD5/81 371s ok 84 /checksum/MD5/82 371s ok 85 /checksum/MD5/83 371s ok 86 /checksum/MD5/84 371s ok 87 /checksum/MD5/85 371s ok 88 /checksum/MD5/86 371s ok 89 /checksum/MD5/87 371s ok 90 /checksum/MD5/88 371s ok 91 /checksum/MD5/89 371s ok 92 /checksum/MD5/90 371s ok 93 /checksum/MD5/91 371s ok 94 /checksum/MD5/92 371s ok 95 /checksum/MD5/93 371s ok 96 /checksum/MD5/94 371s ok 97 /checksum/MD5/95 371s ok 98 /checksum/MD5/96 371s ok 99 /checksum/MD5/97 371s ok 100 /checksum/MD5/98 371s ok 101 /checksum/MD5/99 371s ok 102 /checksum/MD5/100 371s ok 103 /checksum/MD5/101 371s ok 104 /checksum/MD5/102 371s ok 105 /checksum/MD5/103 371s ok 106 /checksum/MD5/104 371s ok 107 /checksum/MD5/105 371s ok 108 /checksum/MD5/106 371s ok 109 /checksum/MD5/107 371s ok 110 /checksum/MD5/108 371s ok 111 /checksum/MD5/109 371s ok 112 /checksum/MD5/110 371s ok 113 /checksum/MD5/111 371s ok 114 /checksum/MD5/112 371s ok 115 /checksum/MD5/113 371s ok 116 /checksum/MD5/114 371s ok 117 /checksum/MD5/115 371s ok 118 /checksum/MD5/116 371s ok 119 /checksum/MD5/117 371s ok 120 /checksum/MD5/118 371s ok 121 /checksum/MD5/119 371s ok 122 /checksum/MD5/120 371s ok 123 /checksum/MD5/121 371s ok 124 /checksum/MD5/122 371s ok 125 /checksum/MD5/123 371s ok 126 /checksum/MD5/124 371s ok 127 /checksum/MD5/125 371s ok 128 /checksum/MD5/126 371s ok 129 /checksum/MD5/127 371s ok 130 /checksum/MD5/128 371s ok 131 /checksum/MD5/129 371s ok 132 /checksum/MD5/130 371s ok 133 /checksum/MD5/131 371s ok 134 /checksum/MD5/132 371s ok 135 /checksum/MD5/133 371s ok 136 /checksum/MD5/134 371s ok 137 /checksum/MD5/135 371s ok 138 /checksum/MD5/136 371s ok 139 /checksum/MD5/137 371s ok 140 /checksum/MD5/138 371s ok 141 /checksum/MD5/139 371s ok 142 /checksum/MD5/140 371s ok 143 /checksum/MD5/141 371s ok 144 /checksum/MD5/142 371s ok 145 /checksum/MD5/143 371s ok 146 /checksum/MD5/144 371s ok 147 /checksum/MD5/145 371s ok 148 /checksum/MD5/146 371s ok 149 /checksum/MD5/147 371s ok 150 /checksum/MD5/148 371s ok 151 /checksum/MD5/149 371s ok 152 /checksum/MD5/150 371s ok 153 /checksum/MD5/151 371s ok 154 /checksum/MD5/152 371s ok 155 /checksum/MD5/153 371s ok 156 /checksum/MD5/154 371s ok 157 /checksum/MD5/155 371s ok 158 /checksum/MD5/156 371s ok 159 /checksum/MD5/157 371s ok 160 /checksum/MD5/158 371s ok 161 /checksum/MD5/159 371s ok 162 /checksum/MD5/160 371s ok 163 /checksum/MD5/161 371s ok 164 /checksum/MD5/162 371s ok 165 /checksum/MD5/163 371s ok 166 /checksum/MD5/164 371s ok 167 /checksum/MD5/165 371s ok 168 /checksum/MD5/166 371s ok 169 /checksum/MD5/167 371s ok 170 /checksum/MD5/168 371s ok 171 /checksum/MD5/169 371s ok 172 /checksum/MD5/170 371s ok 173 /checksum/MD5/171 371s ok 174 /checksum/MD5/172 371s ok 175 /checksum/MD5/173 371s ok 176 /checksum/MD5/174 371s ok 177 /checksum/MD5/175 371s ok 178 /checksum/MD5/176 371s ok 179 /checksum/MD5/177 371s ok 180 /checksum/MD5/178 371s ok 181 /checksum/MD5/179 371s ok 182 /checksum/MD5/180 371s ok 183 /checksum/MD5/181 371s ok 184 /checksum/MD5/182 371s ok 185 /checksum/MD5/183 371s ok 186 /checksum/MD5/string 371s ok 187 /checksum/MD5/bytes 371s # Start of reset tests 371s ok 188 /checksum/MD5/reset/0 371s ok 189 /checksum/MD5/reset/1 371s ok 190 /checksum/MD5/reset/2 371s ok 191 /checksum/MD5/reset/3 371s ok 192 /checksum/MD5/reset/4 371s ok 193 /checksum/MD5/reset/5 371s ok 194 /checksum/MD5/reset/6 371s ok 195 /checksum/MD5/reset/7 371s ok 196 /checksum/MD5/reset/8 371s ok 197 /checksum/MD5/reset/9 371s ok 198 /checksum/MD5/reset/10 371s ok 199 /checksum/MD5/reset/11 371s ok 200 /checksum/MD5/reset/12 371s ok 201 /checksum/MD5/reset/13 371s ok 202 /checksum/MD5/reset/14 371s ok 203 /checksum/MD5/reset/15 371s ok 204 /checksum/MD5/reset/16 371s ok 205 /checksum/MD5/reset/17 371s ok 206 /checksum/MD5/reset/18 371s ok 207 /checksum/MD5/reset/19 371s ok 208 /checksum/MD5/reset/20 371s ok 209 /checksum/MD5/reset/21 371s ok 210 /checksum/MD5/reset/22 371s ok 211 /checksum/MD5/reset/23 371s ok 212 /checksum/MD5/reset/24 371s ok 213 /checksum/MD5/reset/25 371s ok 214 /checksum/MD5/reset/26 371s ok 215 /checksum/MD5/reset/27 371s ok 216 /checksum/MD5/reset/28 371s ok 217 /checksum/MD5/reset/29 371s ok 218 /checksum/MD5/reset/30 371s ok 219 /checksum/MD5/reset/31 371s ok 220 /checksum/MD5/reset/32 371s ok 221 /checksum/MD5/reset/33 371s ok 222 /checksum/MD5/reset/34 371s ok 223 /checksum/MD5/reset/35 371s ok 224 /checksum/MD5/reset/36 371s ok 225 /checksum/MD5/reset/37 371s ok 226 /checksum/MD5/reset/38 371s ok 227 /checksum/MD5/reset/39 371s ok 228 /checksum/MD5/reset/40 371s ok 229 /checksum/MD5/reset/41 371s ok 230 /checksum/MD5/reset/42 371s ok 231 /checksum/MD5/reset/43 371s ok 232 /checksum/MD5/reset/44 371s ok 233 /checksum/MD5/reset/45 371s ok 234 /checksum/MD5/reset/46 371s ok 235 /checksum/MD5/reset/47 371s ok 236 /checksum/MD5/reset/48 371s ok 237 /checksum/MD5/reset/49 371s ok 238 /checksum/MD5/reset/50 371s ok 239 /checksum/MD5/reset/51 371s ok 240 /checksum/MD5/reset/52 371s ok 241 /checksum/MD5/reset/53 371s ok 242 /checksum/MD5/reset/54 371s ok 243 /checksum/MD5/reset/55 371s ok 244 /checksum/MD5/reset/56 371s ok 245 /checksum/MD5/reset/57 371s ok 246 /checksum/MD5/reset/58 371s ok 247 /checksum/MD5/reset/59 371s ok 248 /checksum/MD5/reset/60 371s ok 249 /checksum/MD5/reset/61 371s ok 250 /checksum/MD5/reset/62 371s ok 251 /checksum/MD5/reset/63 371s ok 252 /checksum/MD5/reset/64 371s ok 253 /checksum/MD5/reset/65 371s ok 254 /checksum/MD5/reset/66 371s ok 255 /checksum/MD5/reset/67 371s ok 256 /checksum/MD5/reset/68 371s ok 257 /checksum/MD5/reset/69 371s ok 258 /checksum/MD5/reset/70 371s ok 259 /checksum/MD5/reset/71 371s ok 260 /checksum/MD5/reset/72 371s ok 261 /checksum/MD5/reset/73 371s ok 262 /checksum/MD5/reset/74 371s ok 263 /checksum/MD5/reset/75 371s ok 264 /checksum/MD5/reset/76 371s ok 265 /checksum/MD5/reset/77 371s ok 266 /checksum/MD5/reset/78 371s ok 267 /checksum/MD5/reset/79 371s ok 268 /checksum/MD5/reset/80 371s ok 269 /checksum/MD5/reset/81 371s ok 270 /checksum/MD5/reset/82 371s ok 271 /checksum/MD5/reset/83 371s ok 272 /checksum/MD5/reset/84 371s ok 273 /checksum/MD5/reset/85 371s ok 274 /checksum/MD5/reset/86 371s ok 275 /checksum/MD5/reset/87 371s ok 276 /checksum/MD5/reset/88 371s ok 277 /checksum/MD5/reset/89 371s ok 278 /checksum/MD5/reset/90 371s ok 279 /checksum/MD5/reset/91 371s ok 280 /checksum/MD5/reset/92 371s ok 281 /checksum/MD5/reset/93 371s ok 282 /checksum/MD5/reset/94 371s ok 283 /checksum/MD5/reset/95 371s ok 284 /checksum/MD5/reset/96 371s ok 285 /checksum/MD5/reset/97 371s ok 286 /checksum/MD5/reset/98 371s ok 287 /checksum/MD5/reset/99 371s ok 288 /checksum/MD5/reset/100 371s ok 289 /checksum/MD5/reset/101 371s ok 290 /checksum/MD5/reset/102 371s ok 291 /checksum/MD5/reset/103 371s ok 292 /checksum/MD5/reset/104 371s ok 293 /checksum/MD5/reset/105 371s ok 294 /checksum/MD5/reset/106 371s ok 295 /checksum/MD5/reset/107 371s ok 296 /checksum/MD5/reset/108 371s ok 297 /checksum/MD5/reset/109 372s ok 298 /checksum/MD5/reset/110 372s ok 299 /checksum/MD5/reset/111 372s ok 300 /checksum/MD5/reset/112 372s ok 301 /checksum/MD5/reset/113 372s ok 302 /checksum/MD5/reset/114 372s ok 303 /checksum/MD5/reset/115 372s ok 304 /checksum/MD5/reset/116 372s ok 305 /checksum/MD5/reset/117 372s ok 306 /checksum/MD5/reset/118 372s ok 307 /checksum/MD5/reset/119 372s ok 308 /checksum/MD5/reset/120 372s ok 309 /checksum/MD5/reset/121 372s ok 310 /checksum/MD5/reset/122 372s ok 311 /checksum/MD5/reset/123 372s ok 312 /checksum/MD5/reset/124 372s ok 313 /checksum/MD5/reset/125 372s ok 314 /checksum/MD5/reset/126 372s ok 315 /checksum/MD5/reset/127 372s ok 316 /checksum/MD5/reset/128 372s ok 317 /checksum/MD5/reset/129 372s ok 318 /checksum/MD5/reset/130 372s ok 319 /checksum/MD5/reset/131 372s ok 320 /checksum/MD5/reset/132 372s ok 321 /checksum/MD5/reset/133 372s ok 322 /checksum/MD5/reset/134 372s ok 323 /checksum/MD5/reset/135 372s ok 324 /checksum/MD5/reset/136 372s ok 325 /checksum/MD5/reset/137 372s ok 326 /checksum/MD5/reset/138 372s ok 327 /checksum/MD5/reset/139 372s ok 328 /checksum/MD5/reset/140 372s ok 329 /checksum/MD5/reset/141 372s ok 330 /checksum/MD5/reset/142 372s ok 331 /checksum/MD5/reset/143 372s ok 332 /checksum/MD5/reset/144 372s ok 333 /checksum/MD5/reset/145 372s ok 334 /checksum/MD5/reset/146 372s ok 335 /checksum/MD5/reset/147 372s ok 336 /checksum/MD5/reset/148 372s ok 337 /checksum/MD5/reset/149 372s ok 338 /checksum/MD5/reset/150 372s ok 339 /checksum/MD5/reset/151 372s ok 340 /checksum/MD5/reset/152 372s ok 341 /checksum/MD5/reset/153 372s ok 342 /checksum/MD5/reset/154 372s ok 343 /checksum/MD5/reset/155 372s ok 344 /checksum/MD5/reset/156 372s ok 345 /checksum/MD5/reset/157 372s ok 346 /checksum/MD5/reset/158 372s ok 347 /checksum/MD5/reset/159 372s ok 348 /checksum/MD5/reset/160 372s ok 349 /checksum/MD5/reset/161 372s ok 350 /checksum/MD5/reset/162 372s ok 351 /checksum/MD5/reset/163 372s ok 352 /checksum/MD5/reset/164 372s ok 353 /checksum/MD5/reset/165 372s ok 354 /checksum/MD5/reset/166 372s ok 355 /checksum/MD5/reset/167 372s ok 356 /checksum/MD5/reset/168 372s ok 357 /checksum/MD5/reset/169 372s ok 358 /checksum/MD5/reset/170 372s ok 359 /checksum/MD5/reset/171 372s ok 360 /checksum/MD5/reset/172 372s ok 361 /checksum/MD5/reset/173 372s ok 362 /checksum/MD5/reset/174 372s ok 363 /checksum/MD5/reset/175 372s ok 364 /checksum/MD5/reset/176 372s ok 365 /checksum/MD5/reset/177 372s ok 366 /checksum/MD5/reset/178 372s ok 367 /checksum/MD5/reset/179 372s ok 368 /checksum/MD5/reset/180 372s ok 369 /checksum/MD5/reset/181 372s ok 370 /checksum/MD5/reset/182 372s ok 371 /checksum/MD5/reset/183 372s # End of reset tests 372s # End of MD5 tests 372s # Start of SHA1 tests 372s ok 372 /checksum/SHA1/0 372s ok 373 /checksum/SHA1/1 372s ok 374 /checksum/SHA1/2 372s ok 375 /checksum/SHA1/3 372s ok 376 /checksum/SHA1/4 372s ok 377 /checksum/SHA1/5 372s ok 378 /checksum/SHA1/6 372s ok 379 /checksum/SHA1/7 372s ok 380 /checksum/SHA1/8 372s ok 381 /checksum/SHA1/9 372s ok 382 /checksum/SHA1/10 372s ok 383 /checksum/SHA1/11 372s ok 384 /checksum/SHA1/12 372s ok 385 /checksum/SHA1/13 372s ok 386 /checksum/SHA1/14 372s ok 387 /checksum/SHA1/15 372s ok 388 /checksum/SHA1/16 372s ok 389 /checksum/SHA1/17 372s ok 390 /checksum/SHA1/18 372s ok 391 /checksum/SHA1/19 372s ok 392 /checksum/SHA1/20 372s ok 393 /checksum/SHA1/21 372s ok 394 /checksum/SHA1/22 372s ok 395 /checksum/SHA1/23 372s ok 396 /checksum/SHA1/24 372s ok 397 /checksum/SHA1/25 372s ok 398 /checksum/SHA1/26 372s ok 399 /checksum/SHA1/27 372s ok 400 /checksum/SHA1/28 372s ok 401 /checksum/SHA1/29 372s ok 402 /checksum/SHA1/30 372s ok 403 /checksum/SHA1/31 372s ok 404 /checksum/SHA1/32 372s ok 405 /checksum/SHA1/33 372s ok 406 /checksum/SHA1/34 372s ok 407 /checksum/SHA1/35 372s ok 408 /checksum/SHA1/36 372s ok 409 /checksum/SHA1/37 372s ok 410 /checksum/SHA1/38 372s ok 411 /checksum/SHA1/39 372s ok 412 /checksum/SHA1/40 372s ok 413 /checksum/SHA1/41 372s ok 414 /checksum/SHA1/42 372s ok 415 /checksum/SHA1/43 372s ok 416 /checksum/SHA1/44 372s ok 417 /checksum/SHA1/45 372s ok 418 /checksum/SHA1/46 372s ok 419 /checksum/SHA1/47 372s ok 420 /checksum/SHA1/48 372s ok 421 /checksum/SHA1/49 372s ok 422 /checksum/SHA1/50 372s ok 423 /checksum/SHA1/51 372s ok 424 /checksum/SHA1/52 372s ok 425 /checksum/SHA1/53 372s ok 426 /checksum/SHA1/54 372s ok 427 /checksum/SHA1/55 372s ok 428 /checksum/SHA1/56 372s ok 429 /checksum/SHA1/57 372s ok 430 /checksum/SHA1/58 372s ok 431 /checksum/SHA1/59 372s ok 432 /checksum/SHA1/60 372s ok 433 /checksum/SHA1/61 372s ok 434 /checksum/SHA1/62 372s ok 435 /checksum/SHA1/63 372s ok 436 /checksum/SHA1/64 372s ok 437 /checksum/SHA1/65 372s ok 438 /checksum/SHA1/66 372s ok 439 /checksum/SHA1/67 372s ok 440 /checksum/SHA1/68 372s ok 441 /checksum/SHA1/69 372s ok 442 /checksum/SHA1/70 372s ok 443 /checksum/SHA1/71 372s ok 444 /checksum/SHA1/72 372s ok 445 /checksum/SHA1/73 372s ok 446 /checksum/SHA1/74 372s ok 447 /checksum/SHA1/75 372s ok 448 /checksum/SHA1/76 372s ok 449 /checksum/SHA1/77 372s ok 450 /checksum/SHA1/78 372s ok 451 /checksum/SHA1/79 372s ok 452 /checksum/SHA1/80 372s ok 453 /checksum/SHA1/81 372s ok 454 /checksum/SHA1/82 372s ok 455 /checksum/SHA1/83 372s ok 456 /checksum/SHA1/84 372s ok 457 /checksum/SHA1/85 372s ok 458 /checksum/SHA1/86 372s ok 459 /checksum/SHA1/87 372s ok 460 /checksum/SHA1/88 372s ok 461 /checksum/SHA1/89 372s ok 462 /checksum/SHA1/90 372s ok 463 /checksum/SHA1/91 372s ok 464 /checksum/SHA1/92 372s ok 465 /checksum/SHA1/93 372s ok 466 /checksum/SHA1/94 372s ok 467 /checksum/SHA1/95 372s ok 468 /checksum/SHA1/96 372s ok 469 /checksum/SHA1/97 372s ok 470 /checksum/SHA1/98 372s ok 471 /checksum/SHA1/99 372s ok 472 /checksum/SHA1/100 372s ok 473 /checksum/SHA1/101 372s ok 474 /checksum/SHA1/102 372s ok 475 /checksum/SHA1/103 372s ok 476 /checksum/SHA1/104 372s ok 477 /checksum/SHA1/105 372s ok 478 /checksum/SHA1/106 372s ok 479 /checksum/SHA1/107 372s ok 480 /checksum/SHA1/108 372s ok 481 /checksum/SHA1/109 372s ok 482 /checksum/SHA1/110 372s ok 483 /checksum/SHA1/111 372s ok 484 /checksum/SHA1/112 372s ok 485 /checksum/SHA1/113 372s ok 486 /checksum/SHA1/114 372s ok 487 /checksum/SHA1/115 372s ok 488 /checksum/SHA1/116 372s ok 489 /checksum/SHA1/117 372s ok 490 /checksum/SHA1/118 372s ok 491 /checksum/SHA1/119 372s ok 492 /checksum/SHA1/120 372s ok 493 /checksum/SHA1/121 372s ok 494 /checksum/SHA1/122 372s ok 495 /checksum/SHA1/123 372s ok 496 /checksum/SHA1/124 372s ok 497 /checksum/SHA1/125 372s ok 498 /checksum/SHA1/126 372s ok 499 /checksum/SHA1/127 372s ok 500 /checksum/SHA1/128 372s ok 501 /checksum/SHA1/129 372s ok 502 /checksum/SHA1/130 372s ok 503 /checksum/SHA1/131 372s ok 504 /checksum/SHA1/132 372s ok 505 /checksum/SHA1/133 372s ok 506 /checksum/SHA1/134 372s ok 507 /checksum/SHA1/135 372s ok 508 /checksum/SHA1/136 372s ok 509 /checksum/SHA1/137 372s ok 510 /checksum/SHA1/138 372s ok 511 /checksum/SHA1/139 372s ok 512 /checksum/SHA1/140 372s ok 513 /checksum/SHA1/141 372s ok 514 /checksum/SHA1/142 372s ok 515 /checksum/SHA1/143 372s ok 516 /checksum/SHA1/144 372s ok 517 /checksum/SHA1/145 372s ok 518 /checksum/SHA1/146 372s ok 519 /checksum/SHA1/147 372s ok 520 /checksum/SHA1/148 372s ok 521 /checksum/SHA1/149 372s ok 522 /checksum/SHA1/150 372s ok 523 /checksum/SHA1/151 372s ok 524 /checksum/SHA1/152 372s ok 525 /checksum/SHA1/153 372s ok 526 /checksum/SHA1/154 372s ok 527 /checksum/SHA1/155 372s ok 528 /checksum/SHA1/156 372s ok 529 /checksum/SHA1/157 372s ok 530 /checksum/SHA1/158 372s ok 531 /checksum/SHA1/159 372s ok 532 /checksum/SHA1/160 372s ok 533 /checksum/SHA1/161 372s ok 534 /checksum/SHA1/162 372s ok 535 /checksum/SHA1/163 372s ok 536 /checksum/SHA1/164 372s ok 537 /checksum/SHA1/165 372s ok 538 /checksum/SHA1/166 372s ok 539 /checksum/SHA1/167 372s ok 540 /checksum/SHA1/168 372s ok 541 /checksum/SHA1/169 372s ok 542 /checksum/SHA1/170 372s ok 543 /checksum/SHA1/171 372s ok 544 /checksum/SHA1/172 372s ok 545 /checksum/SHA1/173 372s ok 546 /checksum/SHA1/174 372s ok 547 /checksum/SHA1/175 372s ok 548 /checksum/SHA1/176 372s ok 549 /checksum/SHA1/177 372s ok 550 /checksum/SHA1/178 372s ok 551 /checksum/SHA1/179 372s ok 552 /checksum/SHA1/180 372s ok 553 /checksum/SHA1/181 372s ok 554 /checksum/SHA1/182 372s ok 555 /checksum/SHA1/183 372s ok 556 /checksum/SHA1/string 372s ok 557 /checksum/SHA1/bytes 372s # Start of reset tests 372s ok 558 /checksum/SHA1/reset/0 372s ok 559 /checksum/SHA1/reset/1 372s ok 560 /checksum/SHA1/reset/2 372s ok 561 /checksum/SHA1/reset/3 372s ok 562 /checksum/SHA1/reset/4 372s ok 563 /checksum/SHA1/reset/5 372s ok 564 /checksum/SHA1/reset/6 372s ok 565 /checksum/SHA1/reset/7 372s ok 566 /checksum/SHA1/reset/8 372s ok 567 /checksum/SHA1/reset/9 372s ok 568 /checksum/SHA1/reset/10 372s ok 569 /checksum/SHA1/reset/11 372s ok 570 /checksum/SHA1/reset/12 372s ok 571 /checksum/SHA1/reset/13 372s ok 572 /checksum/SHA1/reset/14 372s ok 573 /checksum/SHA1/reset/15 372s ok 574 /checksum/SHA1/reset/16 372s ok 575 /checksum/SHA1/reset/17 372s ok 576 /checksum/SHA1/reset/18 372s ok 577 /checksum/SHA1/reset/19 372s ok 578 /checksum/SHA1/reset/20 372s ok 579 /checksum/SHA1/reset/21 372s ok 580 /checksum/SHA1/reset/22 372s ok 581 /checksum/SHA1/reset/23 372s ok 582 /checksum/SHA1/reset/24 372s ok 583 /checksum/SHA1/reset/25 372s ok 584 /checksum/SHA1/reset/26 372s ok 585 /checksum/SHA1/reset/27 372s ok 586 /checksum/SHA1/reset/28 372s ok 587 /checksum/SHA1/reset/29 372s ok 588 /checksum/SHA1/reset/30 372s ok 589 /checksum/SHA1/reset/31 372s ok 590 /checksum/SHA1/reset/32 372s ok 591 /checksum/SHA1/reset/33 372s ok 592 /checksum/SHA1/reset/34 372s ok 593 /checksum/SHA1/reset/35 372s ok 594 /checksum/SHA1/reset/36 372s ok 595 /checksum/SHA1/reset/37 372s ok 596 /checksum/SHA1/reset/38 372s ok 597 /checksum/SHA1/reset/39 372s ok 598 /checksum/SHA1/reset/40 372s ok 599 /checksum/SHA1/reset/41 372s ok 600 /checksum/SHA1/reset/42 372s ok 601 /checksum/SHA1/reset/43 372s ok 602 /checksum/SHA1/reset/44 372s ok 603 /checksum/SHA1/reset/45 372s ok 604 /checksum/SHA1/reset/46 372s ok 605 /checksum/SHA1/reset/47 372s ok 606 /checksum/SHA1/reset/48 372s ok 607 /checksum/SHA1/reset/49 372s ok 608 /checksum/SHA1/reset/50 372s ok 609 /checksum/SHA1/reset/51 372s ok 610 /checksum/SHA1/reset/52 372s ok 611 /checksum/SHA1/reset/53 372s ok 612 /checksum/SHA1/reset/54 372s ok 613 /checksum/SHA1/reset/55 372s ok 614 /checksum/SHA1/reset/56 372s ok 615 /checksum/SHA1/reset/57 372s ok 616 /checksum/SHA1/reset/58 372s ok 617 /checksum/SHA1/reset/59 372s ok 618 /checksum/SHA1/reset/60 372s ok 619 /checksum/SHA1/reset/61 372s ok 620 /checksum/SHA1/reset/62 372s ok 621 /checksum/SHA1/reset/63 372s ok 622 /checksum/SHA1/reset/64 372s ok 623 /checksum/SHA1/reset/65 372s ok 624 /checksum/SHA1/reset/66 372s ok 625 /checksum/SHA1/reset/67 372s ok 626 /checksum/SHA1/reset/68 372s ok 627 /checksum/SHA1/reset/69 372s ok 628 /checksum/SHA1/reset/70 372s ok 629 /checksum/SHA1/reset/71 372s ok 630 /checksum/SHA1/reset/72 372s ok 631 /checksum/SHA1/reset/73 372s ok 632 /checksum/SHA1/reset/74 372s ok 633 /checksum/SHA1/reset/75 372s ok 634 /checksum/SHA1/reset/76 372s ok 635 /checksum/SHA1/reset/77 372s ok 636 /checksum/SHA1/reset/78 372s ok 637 /checksum/SHA1/reset/79 372s ok 638 /checksum/SHA1/reset/80 372s ok 639 /checksum/SHA1/reset/81 372s ok 640 /checksum/SHA1/reset/82 372s ok 641 /checksum/SHA1/reset/83 372s ok 642 /checksum/SHA1/reset/84 372s ok 643 /checksum/SHA1/reset/85 372s ok 644 /checksum/SHA1/reset/86 372s ok 645 /checksum/SHA1/reset/87 372s ok 646 /checksum/SHA1/reset/88 372s ok 647 /checksum/SHA1/reset/89 372s ok 648 /checksum/SHA1/reset/90 372s ok 649 /checksum/SHA1/reset/91 372s ok 650 /checksum/SHA1/reset/92 372s ok 651 /checksum/SHA1/reset/93 372s ok 652 /checksum/SHA1/reset/94 372s ok 653 /checksum/SHA1/reset/95 372s ok 654 /checksum/SHA1/reset/96 372s ok 655 /checksum/SHA1/reset/97 372s ok 656 /checksum/SHA1/reset/98 372s ok 657 /checksum/SHA1/reset/99 372s ok 658 /checksum/SHA1/reset/100 372s ok 659 /checksum/SHA1/reset/101 372s ok 660 /checksum/SHA1/reset/102 372s ok 661 /checksum/SHA1/reset/103 372s ok 662 /checksum/SHA1/reset/104 372s ok 663 /checksum/SHA1/reset/105 372s ok 664 /checksum/SHA1/reset/106 372s ok 665 /checksum/SHA1/reset/107 372s ok 666 /checksum/SHA1/reset/108 372s ok 667 /checksum/SHA1/reset/109 372s ok 668 /checksum/SHA1/reset/110 372s ok 669 /checksum/SHA1/reset/111 372s ok 670 /checksum/SHA1/reset/112 372s ok 671 /checksum/SHA1/reset/113 372s ok 672 /checksum/SHA1/reset/114 372s ok 673 /checksum/SHA1/reset/115 372s ok 674 /checksum/SHA1/reset/116 372s ok 675 /checksum/SHA1/reset/117 372s ok 676 /checksum/SHA1/reset/118 372s ok 677 /checksum/SHA1/reset/119 372s ok 678 /checksum/SHA1/reset/120 372s ok 679 /checksum/SHA1/reset/121 372s ok 680 /checksum/SHA1/reset/122 372s ok 681 /checksum/SHA1/reset/123 372s ok 682 /checksum/SHA1/reset/124 372s ok 683 /checksum/SHA1/reset/125 372s ok 684 /checksum/SHA1/reset/126 372s ok 685 /checksum/SHA1/reset/127 372s ok 686 /checksum/SHA1/reset/128 372s ok 687 /checksum/SHA1/reset/129 372s ok 688 /checksum/SHA1/reset/130 372s ok 689 /checksum/SHA1/reset/131 372s ok 690 /checksum/SHA1/reset/132 372s ok 691 /checksum/SHA1/reset/133 372s ok 692 /checksum/SHA1/reset/134 372s ok 693 /checksum/SHA1/reset/135 372s ok 694 /checksum/SHA1/reset/136 372s ok 695 /checksum/SHA1/reset/137 372s ok 696 /checksum/SHA1/reset/138 372s ok 697 /checksum/SHA1/reset/139 372s ok 698 /checksum/SHA1/reset/140 372s ok 699 /checksum/SHA1/reset/141 372s ok 700 /checksum/SHA1/reset/142 372s ok 701 /checksum/SHA1/reset/143 372s ok 702 /checksum/SHA1/reset/144 372s ok 703 /checksum/SHA1/reset/145 372s ok 704 /checksum/SHA1/reset/146 372s ok 705 /checksum/SHA1/reset/147 372s ok 706 /checksum/SHA1/reset/148 372s ok 707 /checksum/SHA1/reset/149 372s ok 708 /checksum/SHA1/reset/150 372s ok 709 /checksum/SHA1/reset/151 372s ok 710 /checksum/SHA1/reset/152 372s ok 711 /checksum/SHA1/reset/153 372s ok 712 /checksum/SHA1/reset/154 372s ok 713 /checksum/SHA1/reset/155 372s ok 714 /checksum/SHA1/reset/156 372s ok 715 /checksum/SHA1/reset/157 372s ok 716 /checksum/SHA1/reset/158 372s ok 717 /checksum/SHA1/reset/159 372s ok 718 /checksum/SHA1/reset/160 372s ok 719 /checksum/SHA1/reset/161 372s ok 720 /checksum/SHA1/reset/162 372s ok 721 /checksum/SHA1/reset/163 372s ok 722 /checksum/SHA1/reset/164 372s ok 723 /checksum/SHA1/reset/165 372s ok 724 /checksum/SHA1/reset/166 372s ok 725 /checksum/SHA1/reset/167 372s ok 726 /checksum/SHA1/reset/168 372s ok 727 /checksum/SHA1/reset/169 372s ok 728 /checksum/SHA1/reset/170 372s ok 729 /checksum/SHA1/reset/171 372s ok 730 /checksum/SHA1/reset/172 372s ok 731 /checksum/SHA1/reset/173 372s ok 732 /checksum/SHA1/reset/174 372s ok 733 /checksum/SHA1/reset/175 372s ok 734 /checksum/SHA1/reset/176 372s ok 735 /checksum/SHA1/reset/177 372s ok 736 /checksum/SHA1/reset/178 372s ok 737 /checksum/SHA1/reset/179 372s ok 738 /checksum/SHA1/reset/180 372s ok 739 /checksum/SHA1/reset/181 372s ok 740 /checksum/SHA1/reset/182 372s ok 741 /checksum/SHA1/reset/183 372s # End of reset tests 372s # End of SHA1 tests 372s # Start of SHA256 tests 372s ok 742 /checksum/SHA256/0 372s ok 743 /checksum/SHA256/1 372s ok 744 /checksum/SHA256/2 372s ok 745 /checksum/SHA256/3 372s ok 746 /checksum/SHA256/4 372s ok 747 /checksum/SHA256/5 372s ok 748 /checksum/SHA256/6 372s ok 749 /checksum/SHA256/7 372s ok 750 /checksum/SHA256/8 372s ok 751 /checksum/SHA256/9 372s ok 752 /checksum/SHA256/10 372s ok 753 /checksum/SHA256/11 372s ok 754 /checksum/SHA256/12 372s ok 755 /checksum/SHA256/13 372s ok 756 /checksum/SHA256/14 372s ok 757 /checksum/SHA256/15 372s ok 758 /checksum/SHA256/16 372s ok 759 /checksum/SHA256/17 372s ok 760 /checksum/SHA256/18 372s ok 761 /checksum/SHA256/19 372s ok 762 /checksum/SHA256/20 372s ok 763 /checksum/SHA256/21 372s ok 764 /checksum/SHA256/22 372s ok 765 /checksum/SHA256/23 372s ok 766 /checksum/SHA256/24 372s ok 767 /checksum/SHA256/25 372s ok 768 /checksum/SHA256/26 372s ok 769 /checksum/SHA256/27 372s ok 770 /checksum/SHA256/28 372s ok 771 /checksum/SHA256/29 372s ok 772 /checksum/SHA256/30 372s ok 773 /checksum/SHA256/31 372s ok 774 /checksum/SHA256/32 372s ok 775 /checksum/SHA256/33 372s ok 776 /checksum/SHA256/34 372s ok 777 /checksum/SHA256/35 372s ok 778 /checksum/SHA256/36 372s ok 779 /checksum/SHA256/37 372s ok 780 /checksum/SHA256/38 372s ok 781 /checksum/SHA256/39 372s ok 782 /checksum/SHA256/40 372s ok 783 /checksum/SHA256/41 372s ok 784 /checksum/SHA256/42 372s ok 785 /checksum/SHA256/43 372s ok 786 /checksum/SHA256/44 372s ok 787 /checksum/SHA256/45 372s ok 788 /checksum/SHA256/46 372s ok 789 /checksum/SHA256/47 372s ok 790 /checksum/SHA256/48 372s ok 791 /checksum/SHA256/49 372s ok 792 /checksum/SHA256/50 372s ok 793 /checksum/SHA256/51 372s ok 794 /checksum/SHA256/52 372s ok 795 /checksum/SHA256/53 372s ok 796 /checksum/SHA256/54 372s ok 797 /checksum/SHA256/55 372s ok 798 /checksum/SHA256/56 372s ok 799 /checksum/SHA256/57 372s ok 800 /checksum/SHA256/58 372s ok 801 /checksum/SHA256/59 372s ok 802 /checksum/SHA256/60 372s ok 803 /checksum/SHA256/61 372s ok 804 /checksum/SHA256/62 372s ok 805 /checksum/SHA256/63 372s ok 806 /checksum/SHA256/64 372s ok 807 /checksum/SHA256/65 372s ok 808 /checksum/SHA256/66 372s ok 809 /checksum/SHA256/67 372s ok 810 /checksum/SHA256/68 372s ok 811 /checksum/SHA256/69 372s ok 812 /checksum/SHA256/70 372s ok 813 /checksum/SHA256/71 372s ok 814 /checksum/SHA256/72 372s ok 815 /checksum/SHA256/73 372s ok 816 /checksum/SHA256/74 372s ok 817 /checksum/SHA256/75 372s ok 818 /checksum/SHA256/76 372s ok 819 /checksum/SHA256/77 372s ok 820 /checksum/SHA256/78 372s ok 821 /checksum/SHA256/79 372s ok 822 /checksum/SHA256/80 372s ok 823 /checksum/SHA256/81 372s ok 824 /checksum/SHA256/82 372s ok 825 /checksum/SHA256/83 372s ok 826 /checksum/SHA256/84 372s ok 827 /checksum/SHA256/85 372s ok 828 /checksum/SHA256/86 372s ok 829 /checksum/SHA256/87 372s ok 830 /checksum/SHA256/88 372s ok 831 /checksum/SHA256/89 372s ok 832 /checksum/SHA256/90 372s ok 833 /checksum/SHA256/91 372s ok 834 /checksum/SHA256/92 372s ok 835 /checksum/SHA256/93 372s ok 836 /checksum/SHA256/94 372s ok 837 /checksum/SHA256/95 372s ok 838 /checksum/SHA256/96 372s ok 839 /checksum/SHA256/97 372s ok 840 /checksum/SHA256/98 372s ok 841 /checksum/SHA256/99 372s ok 842 /checksum/SHA256/100 372s ok 843 /checksum/SHA256/101 372s ok 844 /checksum/SHA256/102 372s ok 845 /checksum/SHA256/103 372s ok 846 /checksum/SHA256/104 372s ok 847 /checksum/SHA256/105 372s ok 848 /checksum/SHA256/106 372s ok 849 /checksum/SHA256/107 372s ok 850 /checksum/SHA256/108 372s ok 851 /checksum/SHA256/109 372s ok 852 /checksum/SHA256/110 372s ok 853 /checksum/SHA256/111 372s ok 854 /checksum/SHA256/112 372s ok 855 /checksum/SHA256/113 372s ok 856 /checksum/SHA256/114 372s ok 857 /checksum/SHA256/115 372s ok 858 /checksum/SHA256/116 372s ok 859 /checksum/SHA256/117 372s ok 860 /checksum/SHA256/118 372s ok 861 /checksum/SHA256/119 372s ok 862 /checksum/SHA256/120 372s ok 863 /checksum/SHA256/121 372s ok 864 /checksum/SHA256/122 372s ok 865 /checksum/SHA256/123 372s ok 866 /checksum/SHA256/124 372s ok 867 /checksum/SHA256/125 372s ok 868 /checksum/SHA256/126 372s ok 869 /checksum/SHA256/127 372s ok 870 /checksum/SHA256/128 372s ok 871 /checksum/SHA256/129 372s ok 872 /checksum/SHA256/130 372s ok 873 /checksum/SHA256/131 372s ok 874 /checksum/SHA256/132 372s ok 875 /checksum/SHA256/133 372s ok 876 /checksum/SHA256/134 372s ok 877 /checksum/SHA256/135 372s ok 878 /checksum/SHA256/136 372s ok 879 /checksum/SHA256/137 372s ok 880 /checksum/SHA256/138 372s ok 881 /checksum/SHA256/139 372s ok 882 /checksum/SHA256/140 372s ok 883 /checksum/SHA256/141 372s ok 884 /checksum/SHA256/142 372s ok 885 /checksum/SHA256/143 372s ok 886 /checksum/SHA256/144 372s ok 887 /checksum/SHA256/145 372s ok 888 /checksum/SHA256/146 372s ok 889 /checksum/SHA256/147 372s ok 890 /checksum/SHA256/148 372s ok 891 /checksum/SHA256/149 372s ok 892 /checksum/SHA256/150 372s ok 893 /checksum/SHA256/151 372s ok 894 /checksum/SHA256/152 372s ok 895 /checksum/SHA256/153 372s ok 896 /checksum/SHA256/154 372s ok 897 /checksum/SHA256/155 372s ok 898 /checksum/SHA256/156 372s ok 899 /checksum/SHA256/157 372s ok 900 /checksum/SHA256/158 372s ok 901 /checksum/SHA256/159 372s ok 902 /checksum/SHA256/160 372s ok 903 /checksum/SHA256/161 372s ok 904 /checksum/SHA256/162 372s ok 905 /checksum/SHA256/163 372s ok 906 /checksum/SHA256/164 372s ok 907 /checksum/SHA256/165 372s ok 908 /checksum/SHA256/166 372s ok 909 /checksum/SHA256/167 372s ok 910 /checksum/SHA256/168 372s ok 911 /checksum/SHA256/169 372s ok 912 /checksum/SHA256/170 372s ok 913 /checksum/SHA256/171 372s ok 914 /checksum/SHA256/172 372s ok 915 /checksum/SHA256/173 372s ok 916 /checksum/SHA256/174 372s ok 917 /checksum/SHA256/175 372s ok 918 /checksum/SHA256/176 372s ok 919 /checksum/SHA256/177 372s ok 920 /checksum/SHA256/178 372s ok 921 /checksum/SHA256/179 372s ok 922 /checksum/SHA256/180 372s ok 923 /checksum/SHA256/181 372s ok 924 /checksum/SHA256/182 372s ok 925 /checksum/SHA256/183 372s ok 926 /checksum/SHA256/string 372s ok 927 /checksum/SHA256/bytes 372s # Start of reset tests 372s ok 928 /checksum/SHA256/reset/0 372s ok 929 /checksum/SHA256/reset/1 372s ok 930 /checksum/SHA256/reset/2 372s ok 931 /checksum/SHA256/reset/3 372s ok 932 /checksum/SHA256/reset/4 372s ok 933 /checksum/SHA256/reset/5 372s ok 934 /checksum/SHA256/reset/6 372s ok 935 /checksum/SHA256/reset/7 372s ok 936 /checksum/SHA256/reset/8 372s ok 937 /checksum/SHA256/reset/9 372s ok 938 /checksum/SHA256/reset/10 372s ok 939 /checksum/SHA256/reset/11 372s ok 940 /checksum/SHA256/reset/12 372s ok 941 /checksum/SHA256/reset/13 372s ok 942 /checksum/SHA256/reset/14 372s ok 943 /checksum/SHA256/reset/15 372s ok 944 /checksum/SHA256/reset/16 372s ok 945 /checksum/SHA256/reset/17 372s ok 946 /checksum/SHA256/reset/18 372s ok 947 /checksum/SHA256/reset/19 372s ok 948 /checksum/SHA256/reset/20 372s ok 949 /checksum/SHA256/reset/21 372s ok 950 /checksum/SHA256/reset/22 372s ok 951 /checksum/SHA256/reset/23 372s ok 952 /checksum/SHA256/reset/24 372s ok 953 /checksum/SHA256/reset/25 372s ok 954 /checksum/SHA256/reset/26 372s ok 955 /checksum/SHA256/reset/27 372s ok 956 /checksum/SHA256/reset/28 372s ok 957 /checksum/SHA256/reset/29 372s ok 958 /checksum/SHA256/reset/30 372s ok 959 /checksum/SHA256/reset/31 372s ok 960 /checksum/SHA256/reset/32 372s ok 961 /checksum/SHA256/reset/33 372s ok 962 /checksum/SHA256/reset/34 372s ok 963 /checksum/SHA256/reset/35 372s ok 964 /checksum/SHA256/reset/36 372s ok 965 /checksum/SHA256/reset/37 372s ok 966 /checksum/SHA256/reset/38 372s ok 967 /checksum/SHA256/reset/39 372s ok 968 /checksum/SHA256/reset/40 372s ok 969 /checksum/SHA256/reset/41 372s ok 970 /checksum/SHA256/reset/42 372s ok 971 /checksum/SHA256/reset/43 372s ok 972 /checksum/SHA256/reset/44 372s ok 973 /checksum/SHA256/reset/45 372s ok 974 /checksum/SHA256/reset/46 372s ok 975 /checksum/SHA256/reset/47 372s ok 976 /checksum/SHA256/reset/48 372s ok 977 /checksum/SHA256/reset/49 372s ok 978 /checksum/SHA256/reset/50 372s ok 979 /checksum/SHA256/reset/51 372s ok 980 /checksum/SHA256/reset/52 372s ok 981 /checksum/SHA256/reset/53 372s ok 982 /checksum/SHA256/reset/54 372s ok 983 /checksum/SHA256/reset/55 372s ok 984 /checksum/SHA256/reset/56 372s ok 985 /checksum/SHA256/reset/57 372s ok 986 /checksum/SHA256/reset/58 372s ok 987 /checksum/SHA256/reset/59 372s ok 988 /checksum/SHA256/reset/60 372s ok 989 /checksum/SHA256/reset/61 372s ok 990 /checksum/SHA256/reset/62 372s ok 991 /checksum/SHA256/reset/63 372s ok 992 /checksum/SHA256/reset/64 372s ok 993 /checksum/SHA256/reset/65 372s ok 994 /checksum/SHA256/reset/66 372s ok 995 /checksum/SHA256/reset/67 372s ok 996 /checksum/SHA256/reset/68 372s ok 997 /checksum/SHA256/reset/69 372s ok 998 /checksum/SHA256/reset/70 372s ok 999 /checksum/SHA256/reset/71 372s ok 1000 /checksum/SHA256/reset/72 372s ok 1001 /checksum/SHA256/reset/73 372s ok 1002 /checksum/SHA256/reset/74 372s ok 1003 /checksum/SHA256/reset/75 372s ok 1004 /checksum/SHA256/reset/76 372s ok 1005 /checksum/SHA256/reset/77 372s ok 1006 /checksum/SHA256/reset/78 372s ok 1007 /checksum/SHA256/reset/79 372s ok 1008 /checksum/SHA256/reset/80 372s ok 1009 /checksum/SHA256/reset/81 372s ok 1010 /checksum/SHA256/reset/82 372s ok 1011 /checksum/SHA256/reset/83 372s ok 1012 /checksum/SHA256/reset/84 372s ok 1013 /checksum/SHA256/reset/85 372s ok 1014 /checksum/SHA256/reset/86 372s ok 1015 /checksum/SHA256/reset/87 372s ok 1016 /checksum/SHA256/reset/88 372s ok 1017 /checksum/SHA256/reset/89 372s ok 1018 /checksum/SHA256/reset/90 372s ok 1019 /checksum/SHA256/reset/91 372s ok 1020 /checksum/SHA256/reset/92 372s ok 1021 /checksum/SHA256/reset/93 372s ok 1022 /checksum/SHA256/reset/94 372s ok 1023 /checksum/SHA256/reset/95 372s ok 1024 /checksum/SHA256/reset/96 372s ok 1025 /checksum/SHA256/reset/97 372s ok 1026 /checksum/SHA256/reset/98 372s ok 1027 /checksum/SHA256/reset/99 372s ok 1028 /checksum/SHA256/reset/100 372s ok 1029 /checksum/SHA256/reset/101 372s ok 1030 /checksum/SHA256/reset/102 372s ok 1031 /checksum/SHA256/reset/103 372s ok 1032 /checksum/SHA256/reset/104 372s ok 1033 /checksum/SHA256/reset/105 372s ok 1034 /checksum/SHA256/reset/106 372s ok 1035 /checksum/SHA256/reset/107 372s ok 1036 /checksum/SHA256/reset/108 372s ok 1037 /checksum/SHA256/reset/109 372s ok 1038 /checksum/SHA256/reset/110 372s ok 1039 /checksum/SHA256/reset/111 372s ok 1040 /checksum/SHA256/reset/112 372s ok 1041 /checksum/SHA256/reset/113 372s ok 1042 /checksum/SHA256/reset/114 372s ok 1043 /checksum/SHA256/reset/115 372s ok 1044 /checksum/SHA256/reset/116 372s ok 1045 /checksum/SHA256/reset/117 372s ok 1046 /checksum/SHA256/reset/118 372s ok 1047 /checksum/SHA256/reset/119 372s ok 1048 /checksum/SHA256/reset/120 372s ok 1049 /checksum/SHA256/reset/121 372s ok 1050 /checksum/SHA256/reset/122 372s ok 1051 /checksum/SHA256/reset/123 372s ok 1052 /checksum/SHA256/reset/124 372s ok 1053 /checksum/SHA256/reset/125 372s ok 1054 /checksum/SHA256/reset/126 372s ok 1055 /checksum/SHA256/reset/127 372s ok 1056 /checksum/SHA256/reset/128 372s ok 1057 /checksum/SHA256/reset/129 372s ok 1058 /checksum/SHA256/reset/130 372s ok 1059 /checksum/SHA256/reset/131 372s ok 1060 /checksum/SHA256/reset/132 372s ok 1061 /checksum/SHA256/reset/133 372s ok 1062 /checksum/SHA256/reset/134 372s ok 1063 /checksum/SHA256/reset/135 372s ok 1064 /checksum/SHA256/reset/136 372s ok 1065 /checksum/SHA256/reset/137 372s ok 1066 /checksum/SHA256/reset/138 372s ok 1067 /checksum/SHA256/reset/139 372s ok 1068 /checksum/SHA256/reset/140 372s ok 1069 /checksum/SHA256/reset/141 372s ok 1070 /checksum/SHA256/reset/142 372s ok 1071 /checksum/SHA256/reset/143 372s ok 1072 /checksum/SHA256/reset/144 372s ok 1073 /checksum/SHA256/reset/145 372s ok 1074 /checksum/SHA256/reset/146 372s ok 1075 /checksum/SHA256/reset/147 372s ok 1076 /checksum/SHA256/reset/148 372s ok 1077 /checksum/SHA256/reset/149 372s ok 1078 /checksum/SHA256/reset/150 372s ok 1079 /checksum/SHA256/reset/151 372s ok 1080 /checksum/SHA256/reset/152 372s ok 1081 /checksum/SHA256/reset/153 372s ok 1082 /checksum/SHA256/reset/154 372s ok 1083 /checksum/SHA256/reset/155 372s ok 1084 /checksum/SHA256/reset/156 372s ok 1085 /checksum/SHA256/reset/157 372s ok 1086 /checksum/SHA256/reset/158 372s ok 1087 /checksum/SHA256/reset/159 372s ok 1088 /checksum/SHA256/reset/160 372s ok 1089 /checksum/SHA256/reset/161 372s ok 1090 /checksum/SHA256/reset/162 372s ok 1091 /checksum/SHA256/reset/163 372s ok 1092 /checksum/SHA256/reset/164 372s ok 1093 /checksum/SHA256/reset/165 372s ok 1094 /checksum/SHA256/reset/166 372s ok 1095 /checksum/SHA256/reset/167 372s ok 1096 /checksum/SHA256/reset/168 372s ok 1097 /checksum/SHA256/reset/169 372s ok 1098 /checksum/SHA256/reset/170 372s ok 1099 /checksum/SHA256/reset/171 372s ok 1100 /checksum/SHA256/reset/172 372s ok 1101 /checksum/SHA256/reset/173 372s ok 1102 /checksum/SHA256/reset/174 372s ok 1103 /checksum/SHA256/reset/175 372s ok 1104 /checksum/SHA256/reset/176 372s ok 1105 /checksum/SHA256/reset/177 372s ok 1106 /checksum/SHA256/reset/178 372s ok 1107 /checksum/SHA256/reset/179 372s ok 1108 /checksum/SHA256/reset/180 372s ok 1109 /checksum/SHA256/reset/181 372s ok 1110 /checksum/SHA256/reset/182 372s ok 1111 /checksum/SHA256/reset/183 372s # End of reset tests 372s # End of SHA256 tests 372s # Start of SHA384 tests 372s ok 1112 /checksum/SHA384/0 372s ok 1113 /checksum/SHA384/1 372s ok 1114 /checksum/SHA384/2 372s ok 1115 /checksum/SHA384/3 372s ok 1116 /checksum/SHA384/4 372s ok 1117 /checksum/SHA384/5 372s ok 1118 /checksum/SHA384/6 372s ok 1119 /checksum/SHA384/7 372s ok 1120 /checksum/SHA384/8 372s ok 1121 /checksum/SHA384/9 372s ok 1122 /checksum/SHA384/10 372s ok 1123 /checksum/SHA384/11 372s ok 1124 /checksum/SHA384/12 372s ok 1125 /checksum/SHA384/13 372s ok 1126 /checksum/SHA384/14 372s ok 1127 /checksum/SHA384/15 372s ok 1128 /checksum/SHA384/16 372s ok 1129 /checksum/SHA384/17 372s ok 1130 /checksum/SHA384/18 372s ok 1131 /checksum/SHA384/19 372s ok 1132 /checksum/SHA384/20 372s ok 1133 /checksum/SHA384/21 372s ok 1134 /checksum/SHA384/22 372s ok 1135 /checksum/SHA384/23 372s ok 1136 /checksum/SHA384/24 372s ok 1137 /checksum/SHA384/25 372s ok 1138 /checksum/SHA384/26 372s ok 1139 /checksum/SHA384/27 372s ok 1140 /checksum/SHA384/28 372s ok 1141 /checksum/SHA384/29 372s ok 1142 /checksum/SHA384/30 372s ok 1143 /checksum/SHA384/31 372s ok 1144 /checksum/SHA384/32 372s ok 1145 /checksum/SHA384/33 372s ok 1146 /checksum/SHA384/34 372s ok 1147 /checksum/SHA384/35 372s ok 1148 /checksum/SHA384/36 372s ok 1149 /checksum/SHA384/37 372s ok 1150 /checksum/SHA384/38 372s ok 1151 /checksum/SHA384/39 372s ok 1152 /checksum/SHA384/40 372s ok 1153 /checksum/SHA384/41 372s ok 1154 /checksum/SHA384/42 372s ok 1155 /checksum/SHA384/43 372s ok 1156 /checksum/SHA384/44 372s ok 1157 /checksum/SHA384/45 372s ok 1158 /checksum/SHA384/46 372s ok 1159 /checksum/SHA384/47 372s ok 1160 /checksum/SHA384/48 372s ok 1161 /checksum/SHA384/49 372s ok 1162 /checksum/SHA384/50 372s ok 1163 /checksum/SHA384/51 372s ok 1164 /checksum/SHA384/52 372s ok 1165 /checksum/SHA384/53 372s ok 1166 /checksum/SHA384/54 372s ok 1167 /checksum/SHA384/55 372s ok 1168 /checksum/SHA384/56 372s ok 1169 /checksum/SHA384/57 372s ok 1170 /checksum/SHA384/58 372s ok 1171 /checksum/SHA384/59 372s ok 1172 /checksum/SHA384/60 372s ok 1173 /checksum/SHA384/61 372s ok 1174 /checksum/SHA384/62 372s ok 1175 /checksum/SHA384/63 372s ok 1176 /checksum/SHA384/64 372s ok 1177 /checksum/SHA384/65 372s ok 1178 /checksum/SHA384/66 372s ok 1179 /checksum/SHA384/67 372s ok 1180 /checksum/SHA384/68 372s ok 1181 /checksum/SHA384/69 372s ok 1182 /checksum/SHA384/70 372s ok 1183 /checksum/SHA384/71 372s ok 1184 /checksum/SHA384/72 372s ok 1185 /checksum/SHA384/73 372s ok 1186 /checksum/SHA384/74 372s ok 1187 /checksum/SHA384/75 372s ok 1188 /checksum/SHA384/76 372s ok 1189 /checksum/SHA384/77 372s ok 1190 /checksum/SHA384/78 372s ok 1191 /checksum/SHA384/79 372s ok 1192 /checksum/SHA384/80 372s ok 1193 /checksum/SHA384/81 372s ok 1194 /checksum/SHA384/82 372s ok 1195 /checksum/SHA384/83 372s ok 1196 /checksum/SHA384/84 372s ok 1197 /checksum/SHA384/85 372s ok 1198 /checksum/SHA384/86 372s ok 1199 /checksum/SHA384/87 372s ok 1200 /checksum/SHA384/88 372s ok 1201 /checksum/SHA384/89 372s ok 1202 /checksum/SHA384/90 372s ok 1203 /checksum/SHA384/91 372s ok 1204 /checksum/SHA384/92 372s ok 1205 /checksum/SHA384/93 372s ok 1206 /checksum/SHA384/94 372s ok 1207 /checksum/SHA384/95 372s ok 1208 /checksum/SHA384/96 372s ok 1209 /checksum/SHA384/97 372s ok 1210 /checksum/SHA384/98 372s ok 1211 /checksum/SHA384/99 372s ok 1212 /checksum/SHA384/100 372s ok 1213 /checksum/SHA384/101 372s ok 1214 /checksum/SHA384/102 372s ok 1215 /checksum/SHA384/103 372s ok 1216 /checksum/SHA384/104 372s ok 1217 /checksum/SHA384/105 372s ok 1218 /checksum/SHA384/106 372s ok 1219 /checksum/SHA384/107 372s ok 1220 /checksum/SHA384/108 372s ok 1221 /checksum/SHA384/109 372s ok 1222 /checksum/SHA384/110 372s ok 1223 /checksum/SHA384/111 372s ok 1224 /checksum/SHA384/112 372s ok 1225 /checksum/SHA384/113 372s ok 1226 /checksum/SHA384/114 372s ok 1227 /checksum/SHA384/115 372s ok 1228 /checksum/SHA384/116 372s ok 1229 /checksum/SHA384/117 372s ok 1230 /checksum/SHA384/118 372s ok 1231 /checksum/SHA384/119 372s ok 1232 /checksum/SHA384/120 372s ok 1233 /checksum/SHA384/121 372s ok 1234 /checksum/SHA384/122 372s ok 1235 /checksum/SHA384/123 372s ok 1236 /checksum/SHA384/124 372s ok 1237 /checksum/SHA384/125 372s ok 1238 /checksum/SHA384/126 372s ok 1239 /checksum/SHA384/127 372s ok 1240 /checksum/SHA384/128 372s ok 1241 /checksum/SHA384/129 372s ok 1242 /checksum/SHA384/130 372s ok 1243 /checksum/SHA384/131 372s ok 1244 /checksum/SHA384/132 372s ok 1245 /checksum/SHA384/133 372s ok 1246 /checksum/SHA384/134 372s ok 1247 /checksum/SHA384/135 372s ok 1248 /checksum/SHA384/136 372s ok 1249 /checksum/SHA384/137 372s ok 1250 /checksum/SHA384/138 372s ok 1251 /checksum/SHA384/139 372s ok 1252 /checksum/SHA384/140 372s ok 1253 /checksum/SHA384/141 372s ok 1254 /checksum/SHA384/142 372s ok 1255 /checksum/SHA384/143 372s ok 1256 /checksum/SHA384/144 372s ok 1257 /checksum/SHA384/145 372s ok 1258 /checksum/SHA384/146 372s ok 1259 /checksum/SHA384/147 372s ok 1260 /checksum/SHA384/148 372s ok 1261 /checksum/SHA384/149 372s ok 1262 /checksum/SHA384/150 372s ok 1263 /checksum/SHA384/151 372s ok 1264 /checksum/SHA384/152 372s ok 1265 /checksum/SHA384/153 372s ok 1266 /checksum/SHA384/154 372s ok 1267 /checksum/SHA384/155 372s ok 1268 /checksum/SHA384/156 372s ok 1269 /checksum/SHA384/157 372s ok 1270 /checksum/SHA384/158 372s ok 1271 /checksum/SHA384/159 372s ok 1272 /checksum/SHA384/160 372s ok 1273 /checksum/SHA384/161 372s ok 1274 /checksum/SHA384/162 372s ok 1275 /checksum/SHA384/163 372s ok 1276 /checksum/SHA384/164 372s ok 1277 /checksum/SHA384/165 372s ok 1278 /checksum/SHA384/166 372s ok 1279 /checksum/SHA384/167 372s ok 1280 /checksum/SHA384/168 372s ok 1281 /checksum/SHA384/169 372s ok 1282 /checksum/SHA384/170 372s ok 1283 /checksum/SHA384/171 372s ok 1284 /checksum/SHA384/172 372s ok 1285 /checksum/SHA384/173 372s ok 1286 /checksum/SHA384/174 372s ok 1287 /checksum/SHA384/175 372s ok 1288 /checksum/SHA384/176 372s ok 1289 /checksum/SHA384/177 372s ok 1290 /checksum/SHA384/178 372s ok 1291 /checksum/SHA384/179 372s ok 1292 /checksum/SHA384/180 372s ok 1293 /checksum/SHA384/181 372s ok 1294 /checksum/SHA384/182 372s ok 1295 /checksum/SHA384/183 372s ok 1296 /checksum/SHA384/string 372s ok 1297 /checksum/SHA384/bytes 372s # Start of reset tests 372s ok 1298 /checksum/SHA384/reset/0 372s ok 1299 /checksum/SHA384/reset/1 372s ok 1300 /checksum/SHA384/reset/2 372s ok 1301 /checksum/SHA384/reset/3 372s ok 1302 /checksum/SHA384/reset/4 372s ok 1303 /checksum/SHA384/reset/5 372s ok 1304 /checksum/SHA384/reset/6 372s ok 1305 /checksum/SHA384/reset/7 372s ok 1306 /checksum/SHA384/reset/8 372s ok 1307 /checksum/SHA384/reset/9 372s ok 1308 /checksum/SHA384/reset/10 372s ok 1309 /checksum/SHA384/reset/11 372s ok 1310 /checksum/SHA384/reset/12 372s ok 1311 /checksum/SHA384/reset/13 372s ok 1312 /checksum/SHA384/reset/14 372s ok 1313 /checksum/SHA384/reset/15 372s ok 1314 /checksum/SHA384/reset/16 372s ok 1315 /checksum/SHA384/reset/17 372s ok 1316 /checksum/SHA384/reset/18 372s ok 1317 /checksum/SHA384/reset/19 372s ok 1318 /checksum/SHA384/reset/20 372s ok 1319 /checksum/SHA384/reset/21 372s ok 1320 /checksum/SHA384/reset/22 372s ok 1321 /checksum/SHA384/reset/23 372s ok 1322 /checksum/SHA384/reset/24 372s ok 1323 /checksum/SHA384/reset/25 372s ok 1324 /checksum/SHA384/reset/26 372s ok 1325 /checksum/SHA384/reset/27 372s ok 1326 /checksum/SHA384/reset/28 372s ok 1327 /checksum/SHA384/reset/29 372s ok 1328 /checksum/SHA384/reset/30 372s ok 1329 /checksum/SHA384/reset/31 372s ok 1330 /checksum/SHA384/reset/32 372s ok 1331 /checksum/SHA384/reset/33 372s ok 1332 /checksum/SHA384/reset/34 372s ok 1333 /checksum/SHA384/reset/35 372s ok 1334 /checksum/SHA384/reset/36 372s ok 1335 /checksum/SHA384/reset/37 372s ok 1336 /checksum/SHA384/reset/38 372s ok 1337 /checksum/SHA384/reset/39 372s ok 1338 /checksum/SHA384/reset/40 372s ok 1339 /checksum/SHA384/reset/41 372s ok 1340 /checksum/SHA384/reset/42 372s ok 1341 /checksum/SHA384/reset/43 372s ok 1342 /checksum/SHA384/reset/44 372s ok 1343 /checksum/SHA384/reset/45 372s ok 1344 /checksum/SHA384/reset/46 372s ok 1345 /checksum/SHA384/reset/47 372s ok 1346 /checksum/SHA384/reset/48 372s ok 1347 /checksum/SHA384/reset/49 372s ok 1348 /checksum/SHA384/reset/50 372s ok 1349 /checksum/SHA384/reset/51 372s ok 1350 /checksum/SHA384/reset/52 372s ok 1351 /checksum/SHA384/reset/53 372s ok 1352 /checksum/SHA384/reset/54 372s ok 1353 /checksum/SHA384/reset/55 372s ok 1354 /checksum/SHA384/reset/56 372s ok 1355 /checksum/SHA384/reset/57 372s ok 1356 /checksum/SHA384/reset/58 372s ok 1357 /checksum/SHA384/reset/59 372s ok 1358 /checksum/SHA384/reset/60 372s ok 1359 /checksum/SHA384/reset/61 372s ok 1360 /checksum/SHA384/reset/62 372s ok 1361 /checksum/SHA384/reset/63 372s ok 1362 /checksum/SHA384/reset/64 372s ok 1363 /checksum/SHA384/reset/65 372s ok 1364 /checksum/SHA384/reset/66 372s ok 1365 /checksum/SHA384/reset/67 372s ok 1366 /checksum/SHA384/reset/68 372s ok 1367 /checksum/SHA384/reset/69 372s ok 1368 /checksum/SHA384/reset/70 372s ok 1369 /checksum/SHA384/reset/71 372s ok 1370 /checksum/SHA384/reset/72 372s ok 1371 /checksum/SHA384/reset/73 372s ok 1372 /checksum/SHA384/reset/74 372s ok 1373 /checksum/SHA384/reset/75 372s ok 1374 /checksum/SHA384/reset/76 372s ok 1375 /checksum/SHA384/reset/77 372s ok 1376 /checksum/SHA384/reset/78 372s ok 1377 /checksum/SHA384/reset/79 372s ok 1378 /checksum/SHA384/reset/80 372s ok 1379 /checksum/SHA384/reset/81 372s ok 1380 /checksum/SHA384/reset/82 372s ok 1381 /checksum/SHA384/reset/83 372s ok 1382 /checksum/SHA384/reset/84 372s ok 1383 /checksum/SHA384/reset/85 372s ok 1384 /checksum/SHA384/reset/86 372s ok 1385 /checksum/SHA384/reset/87 372s ok 1386 /checksum/SHA384/reset/88 372s ok 1387 /checksum/SHA384/reset/89 372s ok 1388 /checksum/SHA384/reset/90 372s ok 1389 /checksum/SHA384/reset/91 372s ok 1390 /checksum/SHA384/reset/92 372s ok 1391 /checksum/SHA384/reset/93 372s ok 1392 /checksum/SHA384/reset/94 372s ok 1393 /checksum/SHA384/reset/95 372s ok 1394 /checksum/SHA384/reset/96 372s ok 1395 /checksum/SHA384/reset/97 372s ok 1396 /checksum/SHA384/reset/98 372s ok 1397 /checksum/SHA384/reset/99 372s ok 1398 /checksum/SHA384/reset/100 372s ok 1399 /checksum/SHA384/reset/101 372s ok 1400 /checksum/SHA384/reset/102 372s ok 1401 /checksum/SHA384/reset/103 372s ok 1402 /checksum/SHA384/reset/104 372s ok 1403 /checksum/SHA384/reset/105 372s ok 1404 /checksum/SHA384/reset/106 372s ok 1405 /checksum/SHA384/reset/107 372s ok 1406 /checksum/SHA384/reset/108 372s ok 1407 /checksum/SHA384/reset/109 372s ok 1408 /checksum/SHA384/reset/110 372s ok 1409 /checksum/SHA384/reset/111 372s ok 1410 /checksum/SHA384/reset/112 372s ok 1411 /checksum/SHA384/reset/113 372s ok 1412 /checksum/SHA384/reset/114 372s ok 1413 /checksum/SHA384/reset/115 372s ok 1414 /checksum/SHA384/reset/116 372s ok 1415 /checksum/SHA384/reset/117 372s ok 1416 /checksum/SHA384/reset/118 372s ok 1417 /checksum/SHA384/reset/119 372s ok 1418 /checksum/SHA384/reset/120 372s ok 1419 /checksum/SHA384/reset/121 372s ok 1420 /checksum/SHA384/reset/122 372s ok 1421 /checksum/SHA384/reset/123 372s ok 1422 /checksum/SHA384/reset/124 372s ok 1423 /checksum/SHA384/reset/125 372s ok 1424 /checksum/SHA384/reset/126 372s ok 1425 /checksum/SHA384/reset/127 372s ok 1426 /checksum/SHA384/reset/128 372s ok 1427 /checksum/SHA384/reset/129 372s ok 1428 /checksum/SHA384/reset/130 372s ok 1429 /checksum/SHA384/reset/131 372s ok 1430 /checksum/SHA384/reset/132 372s ok 1431 /checksum/SHA384/reset/133 372s ok 1432 /checksum/SHA384/reset/134 372s ok 1433 /checksum/SHA384/reset/135 372s ok 1434 /checksum/SHA384/reset/136 372s ok 1435 /checksum/SHA384/reset/137 372s ok 1436 /checksum/SHA384/reset/138 372s ok 1437 /checksum/SHA384/reset/139 372s ok 1438 /checksum/SHA384/reset/140 372s ok 1439 /checksum/SHA384/reset/141 372s ok 1440 /checksum/SHA384/reset/142 372s ok 1441 /checksum/SHA384/reset/143 372s ok 1442 /checksum/SHA384/reset/144 372s ok 1443 /checksum/SHA384/reset/145 372s ok 1444 /checksum/SHA384/reset/146 372s ok 1445 /checksum/SHA384/reset/147 372s ok 1446 /checksum/SHA384/reset/148 372s ok 1447 /checksum/SHA384/reset/149 372s ok 1448 /checksum/SHA384/reset/150 372s ok 1449 /checksum/SHA384/reset/151 372s ok 1450 /checksum/SHA384/reset/152 372s ok 1451 /checksum/SHA384/reset/153 372s ok 1452 /checksum/SHA384/reset/154 372s ok 1453 /checksum/SHA384/reset/155 372s ok 1454 /checksum/SHA384/reset/156 372s ok 1455 /checksum/SHA384/reset/157 372s ok 1456 /checksum/SHA384/reset/158 372s ok 1457 /checksum/SHA384/reset/159 372s ok 1458 /checksum/SHA384/reset/160 372s ok 1459 /checksum/SHA384/reset/161 372s ok 1460 /checksum/SHA384/reset/162 372s ok 1461 /checksum/SHA384/reset/163 372s ok 1462 /checksum/SHA384/reset/164 372s ok 1463 /checksum/SHA384/reset/165 372s ok 1464 /checksum/SHA384/reset/166 372s ok 1465 /checksum/SHA384/reset/167 372s ok 1466 /checksum/SHA384/reset/168 372s ok 1467 /checksum/SHA384/reset/169 372s ok 1468 /checksum/SHA384/reset/170 372s ok 1469 /checksum/SHA384/reset/171 372s ok 1470 /checksum/SHA384/reset/172 372s ok 1471 /checksum/SHA384/reset/173 372s ok 1472 /checksum/SHA384/reset/174 372s ok 1473 /checksum/SHA384/reset/175 372s ok 1474 /checksum/SHA384/reset/176 372s ok 1475 /checksum/SHA384/reset/177 372s ok 1476 /checksum/SHA384/reset/178 372s ok 1477 /checksum/SHA384/reset/179 372s ok 1478 /checksum/SHA384/reset/180 372s ok 1479 /checksum/SHA384/reset/181 372s ok 1480 /checksum/SHA384/reset/182 372s ok 1481 /checksum/SHA384/reset/183 372s # End of reset tests 372s # End of SHA384 tests 372s # Start of SHA512 tests 372s ok 1482 /checksum/SHA512/0 372s ok 1483 /checksum/SHA512/1 372s ok 1484 /checksum/SHA512/2 372s ok 1485 /checksum/SHA512/3 372s ok 1486 /checksum/SHA512/4 372s ok 1487 /checksum/SHA512/5 372s ok 1488 /checksum/SHA512/6 372s ok 1489 /checksum/SHA512/7 372s ok 1490 /checksum/SHA512/8 372s ok 1491 /checksum/SHA512/9 372s ok 1492 /checksum/SHA512/10 372s ok 1493 /checksum/SHA512/11 372s ok 1494 /checksum/SHA512/12 372s ok 1495 /checksum/SHA512/13 372s ok 1496 /checksum/SHA512/14 372s ok 1497 /checksum/SHA512/15 372s ok 1498 /checksum/SHA512/16 372s ok 1499 /checksum/SHA512/17 372s ok 1500 /checksum/SHA512/18 372s ok 1501 /checksum/SHA512/19 372s ok 1502 /checksum/SHA512/20 372s ok 1503 /checksum/SHA512/21 372s ok 1504 /checksum/SHA512/22 372s ok 1505 /checksum/SHA512/23 372s ok 1506 /checksum/SHA512/24 372s ok 1507 /checksum/SHA512/25 372s ok 1508 /checksum/SHA512/26 372s ok 1509 /checksum/SHA512/27 372s ok 1510 /checksum/SHA512/28 372s ok 1511 /checksum/SHA512/29 372s ok 1512 /checksum/SHA512/30 372s ok 1513 /checksum/SHA512/31 372s ok 1514 /checksum/SHA512/32 372s ok 1515 /checksum/SHA512/33 372s ok 1516 /checksum/SHA512/34 372s ok 1517 /checksum/SHA512/35 372s ok 1518 /checksum/SHA512/36 372s ok 1519 /checksum/SHA512/37 372s ok 1520 /checksum/SHA512/38 372s ok 1521 /checksum/SHA512/39 372s ok 1522 /checksum/SHA512/40 372s ok 1523 /checksum/SHA512/41 372s ok 1524 /checksum/SHA512/42 372s ok 1525 /checksum/SHA512/43 372s ok 1526 /checksum/SHA512/44 372s ok 1527 /checksum/SHA512/45 372s ok 1528 /checksum/SHA512/46 372s ok 1529 /checksum/SHA512/47 372s ok 1530 /checksum/SHA512/48 372s ok 1531 /checksum/SHA512/49 372s ok 1532 /checksum/SHA512/50 372s ok 1533 /checksum/SHA512/51 372s ok 1534 /checksum/SHA512/52 372s ok 1535 /checksum/SHA512/53 372s ok 1536 /checksum/SHA512/54 372s ok 1537 /checksum/SHA512/55 372s ok 1538 /checksum/SHA512/56 372s ok 1539 /checksum/SHA512/57 372s ok 1540 /checksum/SHA512/58 372s ok 1541 /checksum/SHA512/59 372s ok 1542 /checksum/SHA512/60 372s ok 1543 /checksum/SHA512/61 372s ok 1544 /checksum/SHA512/62 372s ok 1545 /checksum/SHA512/63 372s ok 1546 /checksum/SHA512/64 372s ok 1547 /checksum/SHA512/65 372s ok 1548 /checksum/SHA512/66 372s ok 1549 /checksum/SHA512/67 372s ok 1550 /checksum/SHA512/68 372s ok 1551 /checksum/SHA512/69 372s ok 1552 /checksum/SHA512/70 372s ok 1553 /checksum/SHA512/71 372s ok 1554 /checksum/SHA512/72 372s ok 1555 /checksum/SHA512/73 372s ok 1556 /checksum/SHA512/74 372s ok 1557 /checksum/SHA512/75 372s ok 1558 /checksum/SHA512/76 372s ok 1559 /checksum/SHA512/77 372s ok 1560 /checksum/SHA512/78 372s ok 1561 /checksum/SHA512/79 372s ok 1562 /checksum/SHA512/80 372s ok 1563 /checksum/SHA512/81 372s ok 1564 /checksum/SHA512/82 372s ok 1565 /checksum/SHA512/83 372s ok 1566 /checksum/SHA512/84 372s ok 1567 /checksum/SHA512/85 372s ok 1568 /checksum/SHA512/86 372s ok 1569 /checksum/SHA512/87 372s ok 1570 /checksum/SHA512/88 372s ok 1571 /checksum/SHA512/89 372s ok 1572 /checksum/SHA512/90 372s ok 1573 /checksum/SHA512/91 372s ok 1574 /checksum/SHA512/92 372s ok 1575 /checksum/SHA512/93 372s ok 1576 /checksum/SHA512/94 372s ok 1577 /checksum/SHA512/95 372s ok 1578 /checksum/SHA512/96 372s ok 1579 /checksum/SHA512/97 372s ok 1580 /checksum/SHA512/98 372s ok 1581 /checksum/SHA512/99 372s ok 1582 /checksum/SHA512/100 372s ok 1583 /checksum/SHA512/101 372s ok 1584 /checksum/SHA512/102 372s ok 1585 /checksum/SHA512/103 372s ok 1586 /checksum/SHA512/104 372s ok 1587 /checksum/SHA512/105 372s ok 1588 /checksum/SHA512/106 372s ok 1589 /checksum/SHA512/107 372s ok 1590 /checksum/SHA512/108 372s ok 1591 /checksum/SHA512/109 372s ok 1592 /checksum/SHA512/110 372s ok 1593 /checksum/SHA512/111 372s ok 1594 /checksum/SHA512/112 372s ok 1595 /checksum/SHA512/113 372s ok 1596 /checksum/SHA512/114 372s ok 1597 /checksum/SHA512/115 372s ok 1598 /checksum/SHA512/116 372s ok 1599 /checksum/SHA512/117 372s ok 1600 /checksum/SHA512/118 372s ok 1601 /checksum/SHA512/119 372s ok 1602 /checksum/SHA512/120 372s ok 1603 /checksum/SHA512/121 372s ok 1604 /checksum/SHA512/122 372s ok 1605 /checksum/SHA512/123 372s ok 1606 /checksum/SHA512/124 372s ok 1607 /checksum/SHA512/125 372s ok 1608 /checksum/SHA512/126 372s ok 1609 /checksum/SHA512/127 372s ok 1610 /checksum/SHA512/128 372s ok 1611 /checksum/SHA512/129 372s ok 1612 /checksum/SHA512/130 372s ok 1613 /checksum/SHA512/131 372s ok 1614 /checksum/SHA512/132 372s ok 1615 /checksum/SHA512/133 372s ok 1616 /checksum/SHA512/134 372s ok 1617 /checksum/SHA512/135 372s ok 1618 /checksum/SHA512/136 372s ok 1619 /checksum/SHA512/137 372s ok 1620 /checksum/SHA512/138 372s ok 1621 /checksum/SHA512/139 372s ok 1622 /checksum/SHA512/140 372s ok 1623 /checksum/SHA512/141 372s ok 1624 /checksum/SHA512/142 372s ok 1625 /checksum/SHA512/143 372s ok 1626 /checksum/SHA512/144 372s ok 1627 /checksum/SHA512/145 372s ok 1628 /checksum/SHA512/146 372s ok 1629 /checksum/SHA512/147 372s ok 1630 /checksum/SHA512/148 372s ok 1631 /checksum/SHA512/149 372s ok 1632 /checksum/SHA512/150 372s ok 1633 /checksum/SHA512/151 372s ok 1634 /checksum/SHA512/152 372s ok 1635 /checksum/SHA512/153 372s ok 1636 /checksum/SHA512/154 372s ok 1637 /checksum/SHA512/155 372s ok 1638 /checksum/SHA512/156 372s ok 1639 /checksum/SHA512/157 372s ok 1640 /checksum/SHA512/158 372s ok 1641 /checksum/SHA512/159 372s ok 1642 /checksum/SHA512/160 372s ok 1643 /checksum/SHA512/161 372s ok 1644 /checksum/SHA512/162 372s ok 1645 /checksum/SHA512/163 372s ok 1646 /checksum/SHA512/164 372s ok 1647 /checksum/SHA512/165 372s ok 1648 /checksum/SHA512/166 372s ok 1649 /checksum/SHA512/167 372s ok 1650 /checksum/SHA512/168 372s ok 1651 /checksum/SHA512/169 372s ok 1652 /checksum/SHA512/170 372s ok 1653 /checksum/SHA512/171 372s ok 1654 /checksum/SHA512/172 372s ok 1655 /checksum/SHA512/173 372s ok 1656 /checksum/SHA512/174 372s ok 1657 /checksum/SHA512/175 372s ok 1658 /checksum/SHA512/176 372s ok 1659 /checksum/SHA512/177 372s ok 1660 /checksum/SHA512/178 372s ok 1661 /checksum/SHA512/179 372s ok 1662 /checksum/SHA512/180 372s ok 1663 /checksum/SHA512/181 372s ok 1664 /checksum/SHA512/182 372s ok 1665 /checksum/SHA512/183 372s ok 1666 /checksum/SHA512/string 372s ok 1667 /checksum/SHA512/bytes 372s # Start of reset tests 372s ok 1668 /checksum/SHA512/reset/0 372s ok 1669 /checksum/SHA512/reset/1 372s ok 1670 /checksum/SHA512/reset/2 372s ok 1671 /checksum/SHA512/reset/3 372s ok 1672 /checksum/SHA512/reset/4 372s ok 1673 /checksum/SHA512/reset/5 372s ok 1674 /checksum/SHA512/reset/6 372s ok 1675 /checksum/SHA512/reset/7 372s ok 1676 /checksum/SHA512/reset/8 372s ok 1677 /checksum/SHA512/reset/9 372s ok 1678 /checksum/SHA512/reset/10 372s ok 1679 /checksum/SHA512/reset/11 372s ok 1680 /checksum/SHA512/reset/12 372s ok 1681 /checksum/SHA512/reset/13 372s ok 1682 /checksum/SHA512/reset/14 372s ok 1683 /checksum/SHA512/reset/15 372s ok 1684 /checksum/SHA512/reset/16 372s ok 1685 /checksum/SHA512/reset/17 372s ok 1686 /checksum/SHA512/reset/18 372s ok 1687 /checksum/SHA512/reset/19 372s ok 1688 /checksum/SHA512/reset/20 372s ok 1689 /checksum/SHA512/reset/21 372s ok 1690 /checksum/SHA512/reset/22 372s ok 1691 /checksum/SHA512/reset/23 372s ok 1692 /checksum/SHA512/reset/24 372s ok 1693 /checksum/SHA512/reset/25 372s ok 1694 /checksum/SHA512/reset/26 372s ok 1695 /checksum/SHA512/reset/27 372s ok 1696 /checksum/SHA512/reset/28 372s ok 1697 /checksum/SHA512/reset/29 372s ok 1698 /checksum/SHA512/reset/30 372s ok 1699 /checksum/SHA512/reset/31 372s ok 1700 /checksum/SHA512/reset/32 372s ok 1701 /checksum/SHA512/reset/33 372s ok 1702 /checksum/SHA512/reset/34 372s ok 1703 /checksum/SHA512/reset/35 372s ok 1704 /checksum/SHA512/reset/36 372s ok 1705 /checksum/SHA512/reset/37 372s ok 1706 /checksum/SHA512/reset/38 372s ok 1707 /checksum/SHA512/reset/39 372s ok 1708 /checksum/SHA512/reset/40 372s ok 1709 /checksum/SHA512/reset/41 372s ok 1710 /checksum/SHA512/reset/42 372s ok 1711 /checksum/SHA512/reset/43 372s ok 1712 /checksum/SHA512/reset/44 372s ok 1713 /checksum/SHA512/reset/45 372s ok 1714 /checksum/SHA512/reset/46 372s ok 1715 /checksum/SHA512/reset/47 372s ok 1716 /checksum/SHA512/reset/48 372s ok 1717 /checksum/SHA512/reset/49 372s ok 1718 /checksum/SHA512/reset/50 372s ok 1719 /checksum/SHA512/reset/51 372s ok 1720 /checksum/SHA512/reset/52 372s ok 1721 /checksum/SHA512/reset/53 372s ok 1722 /checksum/SHA512/reset/54 372s ok 1723 /checksum/SHA512/reset/55 372s ok 1724 /checksum/SHA512/reset/56 372s ok 1725 /checksum/SHA512/reset/57 372s ok 1726 /checksum/SHA512/reset/58 372s ok 1727 /checksum/SHA512/reset/59 372s ok 1728 /checksum/SHA512/reset/60 372s ok 1729 /checksum/SHA512/reset/61 372s ok 1730 /checksum/SHA512/reset/62 372s ok 1731 /checksum/SHA512/reset/63 372s ok 1732 /checksum/SHA512/reset/64 372s ok 1733 /checksum/SHA512/reset/65 372s ok 1734 /checksum/SHA512/reset/66 372s ok 1735 /checksum/SHA512/reset/67 372s ok 1736 /checksum/SHA512/reset/68 372s ok 1737 /checksum/SHA512/reset/69 372s ok 1738 /checksum/SHA512/reset/70 372s ok 1739 /checksum/SHA512/reset/71 372s ok 1740 /checksum/SHA512/reset/72 372s ok 1741 /checksum/SHA512/reset/73 372s ok 1742 /checksum/SHA512/reset/74 372s ok 1743 /checksum/SHA512/reset/75 372s ok 1744 /checksum/SHA512/reset/76 372s ok 1745 /checksum/SHA512/reset/77 372s ok 1746 /checksum/SHA512/reset/78 372s ok 1747 /checksum/SHA512/reset/79 372s ok 1748 /checksum/SHA512/reset/80 372s ok 1749 /checksum/SHA512/reset/81 372s ok 1750 /checksum/SHA512/reset/82 372s ok 1751 /checksum/SHA512/reset/83 372s ok 1752 /checksum/SHA512/reset/84 372s ok 1753 /checksum/SHA512/reset/85 372s ok 1754 /checksum/SHA512/reset/86 372s ok 1755 /checksum/SHA512/reset/87 372s ok 1756 /checksum/SHA512/reset/88 372s ok 1757 /checksum/SHA512/reset/89 372s ok 1758 /checksum/SHA512/reset/90 372s ok 1759 /checksum/SHA512/reset/91 372s ok 1760 /checksum/SHA512/reset/92 372s ok 1761 /checksum/SHA512/reset/93 372s ok 1762 /checksum/SHA512/reset/94 372s ok 1763 /checksum/SHA512/reset/95 372s ok 1764 /checksum/SHA512/reset/96 372s ok 1765 /checksum/SHA512/reset/97 372s ok 1766 /checksum/SHA512/reset/98 372s ok 1767 /checksum/SHA512/reset/99 372s ok 1768 /checksum/SHA512/reset/100 372s ok 1769 /checksum/SHA512/reset/101 372s ok 1770 /checksum/SHA512/reset/102 372s ok 1771 /checksum/SHA512/reset/103 372s ok 1772 /checksum/SHA512/reset/104 372s ok 1773 /checksum/SHA512/reset/105 372s ok 1774 /checksum/SHA512/reset/106 372s ok 1775 /checksum/SHA512/reset/107 372s ok 1776 /checksum/SHA512/reset/108 372s ok 1777 /checksum/SHA512/reset/109 372s ok 1778 /checksum/SHA512/reset/110 372s ok 1779 /checksum/SHA512/reset/111 372s ok 1780 /checksum/SHA512/reset/112 372s ok 1781 /checksum/SHA512/reset/113 372s ok 1782 /checksum/SHA512/reset/114 372s ok 1783 /checksum/SHA512/reset/115 372s ok 1784 /checksum/SHA512/reset/116 372s ok 1785 /checksum/SHA512/reset/117 372s ok 1786 /checksum/SHA512/reset/118 372s ok 1787 /checksum/SHA512/reset/119 372s ok 1788 /checksum/SHA512/reset/120 372s ok 1789 /checksum/SHA512/reset/121 372s ok 1790 /checksum/SHA512/reset/122 372s ok 1791 /checksum/SHA512/reset/123 372s ok 1792 /checksum/SHA512/reset/124 372s ok 1793 /checksum/SHA512/reset/125 372s ok 1794 /checksum/SHA512/reset/126 372s ok 1795 /checksum/SHA512/reset/127 372s ok 1796 /checksum/SHA512/reset/128 372s ok 1797 /checksum/SHA512/reset/129 372s ok 1798 /checksum/SHA512/reset/130 372s ok 1799 /checksum/SHA512/reset/131 372s ok 1800 /checksum/SHA512/reset/132 372s ok 1801 /checksum/SHA512/reset/133 372s ok 1802 /checksum/SHA512/reset/134 372s ok 1803 /checksum/SHA512/reset/135 372s ok 1804 /checksum/SHA512/reset/136 372s ok 1805 /checksum/SHA512/reset/137 372s ok 1806 /checksum/SHA512/reset/138 372s ok 1807 /checksum/SHA512/reset/139 372s ok 1808 /checksum/SHA512/reset/140 372s ok 1809 /checksum/SHA512/reset/141 372s ok 1810 /checksum/SHA512/reset/142 372s ok 1811 /checksum/SHA512/reset/143 372s ok 1812 /checksum/SHA512/reset/144 372s ok 1813 /checksum/SHA512/reset/145 372s ok 1814 /checksum/SHA512/reset/146 372s ok 1815 /checksum/SHA512/reset/147 372s ok 1816 /checksum/SHA512/reset/148 372s ok 1817 /checksum/SHA512/reset/149 372s ok 1818 /checksum/SHA512/reset/150 372s ok 1819 /checksum/SHA512/reset/151 372s ok 1820 /checksum/SHA512/reset/152 372s ok 1821 /checksum/SHA512/reset/153 372s ok 1822 /checksum/SHA512/reset/154 372s ok 1823 /checksum/SHA512/reset/155 372s ok 1824 /checksum/SHA512/reset/156 372s ok 1825 /checksum/SHA512/reset/157 372s ok 1826 /checksum/SHA512/reset/158 372s ok 1827 /checksum/SHA512/reset/159 372s ok 1828 /checksum/SHA512/reset/160 372s ok 1829 /checksum/SHA512/reset/161 372s ok 1830 /checksum/SHA512/reset/162 372s ok 1831 /checksum/SHA512/reset/163 372s ok 1832 /checksum/SHA512/reset/164 372s ok 1833 /checksum/SHA512/reset/165 372s ok 1834 /checksum/SHA512/reset/166 372s ok 1835 /checksum/SHA512/reset/167 372s ok 1836 /checksum/SHA512/reset/168 372s ok 1837 /checksum/SHA512/reset/169 372s ok 1838 /checksum/SHA512/reset/170 372s ok 1839 /checksum/SHA512/reset/171 372s ok 1840 /checksum/SHA512/reset/172 372s ok 1841 /checksum/SHA512/reset/173 372s ok 1842 /checksum/SHA512/reset/174 372s ok 1843 /checksum/SHA512/reset/175 372s ok 1844 /checksum/SHA512/reset/176 372s ok 1845 /checksum/SHA512/reset/177 372s ok 1846 /checksum/SHA512/reset/178 372s ok 1847 /checksum/SHA512/reset/179 372s ok 1848 /checksum/SHA512/reset/180 372s ok 1849 /checksum/SHA512/reset/181 372s ok 1850 /checksum/SHA512/reset/182 372s ok 1851 /checksum/SHA512/reset/183 372s # End of reset tests 372s # End of SHA512 tests 372s # End of checksum tests 372s ok - glib/checksum.test 372s # Running test: glib/memchunk.test 372s TAP version 14 372s # random seed: R02S7a72c698fb9a82d690f9044ad08df9f4 372s 1..1 372s # Start of memchunk tests 372s ok 1 /memchunk/basic 372s # End of memchunk tests 372s ok - glib/memchunk.test 372s # Running test: glib/bookmarkfile.test 372s TAP version 14 372s # random seed: R02Sab78d8009a30c817f03781b4cf8701bb 372s 1..96 372s # Start of bookmarks tests 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/load-from-data-dirs/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/load-from-data-dirs/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/load-from-data-dirs/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/load-from-data-dirs/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/load-from-data-dirs/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/load-from-data-dirs/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/load-from-data-dirs/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/load-from-data-dirs/.dirs/runtime 372s ok 1 /bookmarks/load-from-data-dirs 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/to-file/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/to-file/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/to-file/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/to-file/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/to-file/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/to-file/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/to-file/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/to-file/.dirs/runtime 372s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_6XZ9W2/bookmarkfile-test-43Y9W2.xbel 372s # Roundtrip from a valid bookmark file 372s ok 2 /bookmarks/to-file 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/move-item/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/move-item/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/move-item/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/move-item/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/move-item/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/move-item/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/move-item/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/move-item/.dirs/runtime 372s ok 3 /bookmarks/move-item 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/corner-cases/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/corner-cases/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/corner-cases/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/corner-cases/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/corner-cases/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/corner-cases/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/corner-cases/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/corner-cases/.dirs/runtime 372s ok 4 /bookmarks/corner-cases 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/misc/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/misc/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/misc/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/misc/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/misc/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/misc/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/misc/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/misc/.dirs/runtime 372s ok 5 /bookmarks/misc 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/deprecated/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/deprecated/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/deprecated/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/deprecated/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/deprecated/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/deprecated/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/deprecated/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/deprecated/.dirs/runtime 372s ok 6 /bookmarks/deprecated 372s # Start of parse tests 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-02.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-02.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-02.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-02.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-02.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-02.xbel/.dirs/runtime 372s ok 7 /bookmarks/parse/valid-02.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-33.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-33.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-33.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-33.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-33.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-33.xbel/.dirs/runtime 372s ok 8 /bookmarks/parse/fail-33.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-39.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-39.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-39.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-39.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-39.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-39.xbel/.dirs/runtime 372s ok 9 /bookmarks/parse/fail-39.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-25.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-25.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-25.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-25.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-25.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-25.xbel/.dirs/runtime 372s ok 10 /bookmarks/parse/fail-25.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-23.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-23.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-23.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-23.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-23.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-23.xbel/.dirs/runtime 372s ok 11 /bookmarks/parse/fail-23.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-03.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-03.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-03.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-03.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-03.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-03.xbel/.dirs/runtime 372s ok 12 /bookmarks/parse/valid-03.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-08.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-08.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-08.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-08.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-08.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-08.xbel/.dirs/runtime 372s ok 13 /bookmarks/parse/fail-08.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-04.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-04.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-04.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-04.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-04.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-04.xbel/.dirs/runtime 372s ok 14 /bookmarks/parse/fail-04.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-31.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-31.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-31.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-31.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-31.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-31.xbel/.dirs/runtime 372s ok 15 /bookmarks/parse/fail-31.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-36.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-36.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-36.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-36.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-36.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-36.xbel/.dirs/runtime 372s ok 16 /bookmarks/parse/fail-36.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-10.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-10.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-10.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-10.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-10.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-10.xbel/.dirs/runtime 372s ok 17 /bookmarks/parse/fail-10.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-37.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-37.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-37.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-37.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-37.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-37.xbel/.dirs/runtime 372s ok 18 /bookmarks/parse/fail-37.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-28.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-28.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-28.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-28.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-28.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-28.xbel/.dirs/runtime 372s ok 19 /bookmarks/parse/fail-28.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-15.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-15.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-15.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-15.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-15.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-15.xbel/.dirs/runtime 372s ok 20 /bookmarks/parse/fail-15.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-22.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-22.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-22.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-22.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-22.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-22.xbel/.dirs/runtime 372s ok 21 /bookmarks/parse/fail-22.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-29.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-29.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-29.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-29.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-29.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-29.xbel/.dirs/runtime 372s ok 22 /bookmarks/parse/fail-29.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-19.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-19.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-19.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-19.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-19.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-19.xbel/.dirs/runtime 372s ok 23 /bookmarks/parse/fail-19.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-11.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-11.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-11.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-11.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-11.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-11.xbel/.dirs/runtime 372s ok 24 /bookmarks/parse/fail-11.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-14.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-14.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-14.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-14.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-14.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-14.xbel/.dirs/runtime 372s ok 25 /bookmarks/parse/fail-14.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-27.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-27.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-27.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-27.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-27.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-27.xbel/.dirs/runtime 372s ok 26 /bookmarks/parse/fail-27.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-01.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-01.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-01.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-01.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-01.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/valid-01.xbel/.dirs/runtime 372s ok 27 /bookmarks/parse/valid-01.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-03.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-03.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-03.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-03.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-03.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-03.xbel/.dirs/runtime 372s ok 28 /bookmarks/parse/fail-03.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-35.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-35.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-35.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-35.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-35.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-35.xbel/.dirs/runtime 372s ok 29 /bookmarks/parse/fail-35.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-26.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-26.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-26.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-26.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-26.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-26.xbel/.dirs/runtime 372s ok 30 /bookmarks/parse/fail-26.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-16.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-16.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-16.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-16.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-16.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-16.xbel/.dirs/runtime 372s ok 31 /bookmarks/parse/fail-16.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-38.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-38.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-38.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-38.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-38.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-38.xbel/.dirs/runtime 372s ok 32 /bookmarks/parse/fail-38.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-20.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-20.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-20.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-20.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-20.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-20.xbel/.dirs/runtime 372s ok 33 /bookmarks/parse/fail-20.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-21.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-21.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-21.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-21.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-21.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-21.xbel/.dirs/runtime 372s ok 34 /bookmarks/parse/fail-21.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-01.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-01.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-01.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-01.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-01.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-01.xbel/.dirs/runtime 372s ok 35 /bookmarks/parse/fail-01.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-12.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-12.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-12.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-12.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-12.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-12.xbel/.dirs/runtime 372s ok 36 /bookmarks/parse/fail-12.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-02.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-02.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-02.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-02.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-02.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-02.xbel/.dirs/runtime 372s ok 37 /bookmarks/parse/fail-02.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-32.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-32.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-32.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-32.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-32.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-32.xbel/.dirs/runtime 372s ok 38 /bookmarks/parse/fail-32.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-18.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-18.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-18.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-18.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-18.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-18.xbel/.dirs/runtime 372s ok 39 /bookmarks/parse/fail-18.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-24.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-24.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-24.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-24.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-24.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-24.xbel/.dirs/runtime 372s ok 40 /bookmarks/parse/fail-24.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-41.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-41.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-41.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-41.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-41.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-41.xbel/.dirs/runtime 372s ok 41 /bookmarks/parse/fail-41.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-06.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-06.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-06.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-06.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-06.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-06.xbel/.dirs/runtime 372s ok 42 /bookmarks/parse/fail-06.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-30.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-30.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-30.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-30.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-30.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-30.xbel/.dirs/runtime 372s ok 43 /bookmarks/parse/fail-30.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-42.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-42.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-42.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-42.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-42.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-42.xbel/.dirs/runtime 372s ok 44 /bookmarks/parse/fail-42.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-07.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-07.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-07.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-07.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-07.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-07.xbel/.dirs/runtime 372s ok 45 /bookmarks/parse/fail-07.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-17.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-17.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-17.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-17.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-17.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-17.xbel/.dirs/runtime 372s ok 46 /bookmarks/parse/fail-17.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-40.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-40.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-40.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-40.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-40.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-40.xbel/.dirs/runtime 372s ok 47 /bookmarks/parse/fail-40.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-05.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-05.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-05.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-05.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-05.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-05.xbel/.dirs/runtime 372s ok 48 /bookmarks/parse/fail-05.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-09.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-09.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-09.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-09.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-09.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-09.xbel/.dirs/runtime 372s ok 49 /bookmarks/parse/fail-09.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-34.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-34.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-34.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-34.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-34.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-34.xbel/.dirs/runtime 372s ok 50 /bookmarks/parse/fail-34.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-13.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-13.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-13.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-13.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-13.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/parse/fail-13.xbel/.dirs/runtime 372s ok 51 /bookmarks/parse/fail-13.xbel 372s # End of parse tests 372s # Start of copy tests 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-02.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-02.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-02.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-02.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-02.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-02.xbel/.dirs/runtime 372s ok 52 /bookmarks/copy/valid-02.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-33.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-33.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-33.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-33.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-33.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-33.xbel/.dirs/runtime 372s ok 53 /bookmarks/copy/fail-33.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-39.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-39.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-39.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-39.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-39.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-39.xbel/.dirs/runtime 372s ok 54 /bookmarks/copy/fail-39.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-25.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-25.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-25.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-25.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-25.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-25.xbel/.dirs/runtime 372s ok 55 /bookmarks/copy/fail-25.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-23.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-23.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-23.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-23.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-23.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-23.xbel/.dirs/runtime 372s ok 56 /bookmarks/copy/fail-23.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-03.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-03.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-03.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-03.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-03.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-03.xbel/.dirs/runtime 372s ok 57 /bookmarks/copy/valid-03.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-08.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-08.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-08.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-08.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-08.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-08.xbel/.dirs/runtime 372s ok 58 /bookmarks/copy/fail-08.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-04.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-04.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-04.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-04.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-04.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-04.xbel/.dirs/runtime 372s ok 59 /bookmarks/copy/fail-04.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-31.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-31.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-31.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-31.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-31.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-31.xbel/.dirs/runtime 372s ok 60 /bookmarks/copy/fail-31.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-36.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-36.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-36.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-36.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-36.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-36.xbel/.dirs/runtime 372s ok 61 /bookmarks/copy/fail-36.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-10.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-10.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-10.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-10.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-10.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-10.xbel/.dirs/runtime 372s ok 62 /bookmarks/copy/fail-10.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-37.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-37.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-37.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-37.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-37.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-37.xbel/.dirs/runtime 372s ok 63 /bookmarks/copy/fail-37.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-28.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-28.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-28.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-28.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-28.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-28.xbel/.dirs/runtime 372s ok 64 /bookmarks/copy/fail-28.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-15.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-15.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-15.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-15.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-15.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-15.xbel/.dirs/runtime 372s ok 65 /bookmarks/copy/fail-15.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-22.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-22.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-22.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-22.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-22.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-22.xbel/.dirs/runtime 372s ok 66 /bookmarks/copy/fail-22.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-29.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-29.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-29.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-29.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-29.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-29.xbel/.dirs/runtime 372s ok 67 /bookmarks/copy/fail-29.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-19.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-19.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-19.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-19.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-19.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-19.xbel/.dirs/runtime 372s ok 68 /bookmarks/copy/fail-19.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-11.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-11.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-11.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-11.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-11.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-11.xbel/.dirs/runtime 372s ok 69 /bookmarks/copy/fail-11.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-14.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-14.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-14.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-14.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-14.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-14.xbel/.dirs/runtime 372s ok 70 /bookmarks/copy/fail-14.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-27.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-27.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-27.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-27.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-27.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-27.xbel/.dirs/runtime 372s ok 71 /bookmarks/copy/fail-27.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-01.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-01.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-01.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-01.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-01.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/valid-01.xbel/.dirs/runtime 372s ok 72 /bookmarks/copy/valid-01.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-03.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-03.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-03.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-03.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-03.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-03.xbel/.dirs/runtime 372s ok 73 /bookmarks/copy/fail-03.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-35.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-35.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-35.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-35.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-35.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-35.xbel/.dirs/runtime 372s ok 74 /bookmarks/copy/fail-35.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-26.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-26.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-26.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-26.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-26.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-26.xbel/.dirs/runtime 372s ok 75 /bookmarks/copy/fail-26.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-16.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-16.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-16.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-16.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-16.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-16.xbel/.dirs/runtime 372s ok 76 /bookmarks/copy/fail-16.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-38.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-38.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-38.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-38.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-38.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-38.xbel/.dirs/runtime 372s ok 77 /bookmarks/copy/fail-38.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-20.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-20.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-20.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-20.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-20.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-20.xbel/.dirs/runtime 372s ok 78 /bookmarks/copy/fail-20.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-21.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-21.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-21.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-21.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-21.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-21.xbel/.dirs/runtime 372s ok 79 /bookmarks/copy/fail-21.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-01.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-01.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-01.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-01.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-01.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-01.xbel/.dirs/runtime 372s ok 80 /bookmarks/copy/fail-01.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-12.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-12.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-12.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-12.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-12.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-12.xbel/.dirs/runtime 372s ok 81 /bookmarks/copy/fail-12.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-02.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-02.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-02.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-02.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-02.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-02.xbel/.dirs/runtime 372s ok 82 /bookmarks/copy/fail-02.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-32.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-32.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-32.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-32.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-32.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-32.xbel/.dirs/runtime 372s ok 83 /bookmarks/copy/fail-32.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-18.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-18.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-18.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-18.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-18.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-18.xbel/.dirs/runtime 372s ok 84 /bookmarks/copy/fail-18.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-24.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-24.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-24.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-24.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-24.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-24.xbel/.dirs/runtime 372s ok 85 /bookmarks/copy/fail-24.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-41.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-41.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-41.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-41.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-41.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-41.xbel/.dirs/runtime 372s ok 86 /bookmarks/copy/fail-41.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-06.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-06.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-06.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-06.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-06.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-06.xbel/.dirs/runtime 372s ok 87 /bookmarks/copy/fail-06.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-30.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-30.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-30.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-30.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-30.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-30.xbel/.dirs/runtime 372s ok 88 /bookmarks/copy/fail-30.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-42.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-42.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-42.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-42.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-42.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-42.xbel/.dirs/runtime 372s ok 89 /bookmarks/copy/fail-42.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-07.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-07.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-07.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-07.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-07.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-07.xbel/.dirs/runtime 372s ok 90 /bookmarks/copy/fail-07.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-17.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-17.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-17.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-17.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-17.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-17.xbel/.dirs/runtime 372s ok 91 /bookmarks/copy/fail-17.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-40.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-40.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-40.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-40.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-40.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-40.xbel/.dirs/runtime 372s ok 92 /bookmarks/copy/fail-40.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-05.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-05.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-05.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-05.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-05.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-05.xbel/.dirs/runtime 372s ok 93 /bookmarks/copy/fail-05.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-09.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-09.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-09.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-09.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-09.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-09.xbel/.dirs/runtime 372s ok 94 /bookmarks/copy/fail-09.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-34.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-34.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-34.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-34.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-34.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-34.xbel/.dirs/runtime 372s ok 95 /bookmarks/copy/fail-34.xbel 372s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-13.xbel/.dirs/home 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-13.xbel/.dirs/cache 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-13.xbel/.dirs/config 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-13.xbel/.dirs/data 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-13.xbel/.dirs/state 372s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_6XZ9W2/bookmarks/copy/fail-13.xbel/.dirs/runtime 372s ok 96 /bookmarks/copy/fail-13.xbel 372s # End of copy tests 372s # End of bookmarks tests 372s ok - glib/bookmarkfile.test 372s # Running test: glib/mapping.test 372s TAP version 14 372s # random seed: R02Sf84bb7cd3c50152acd17b8cc8cff29b0 372s 1..3 372s # Start of mapping tests 372s # test_mapping: ok 372s ok 1 /mapping/flags 372s ok 2 /mapping/private 372s # test_child_private: child spawned 372s # Subtest: /usr/libexec/installed-tests/glib/mapping 372s # random seed: R02S1d17558efd447040d9b7b7383b4bafcd 372s # test_child_private: received first child signal 372s # test_child_private: received parent signal 372s # Child exited with status 0 372s # test_child_private: received second child signal 372s ok 3 /mapping/private-child 372s # End of mapping tests 372s ok - glib/mapping.test 372s # Running test: glib/regex.test 372s TAP version 14 372s # random seed: R02S940bec9e376b406428ddb982abadf405 372s 1..848 372s # Start of regex tests 372s ok 1 /regex/properties 372s ok 2 /regex/class 372s ok 3 /regex/lookahead 372s ok 4 /regex/lookbehind 372s ok 5 /regex/subpattern 372s ok 6 /regex/condition 372s ok 7 /regex/recursion 372s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 372s ok 8 /regex/multiline 372s ok 9 /regex/explicit-crlf 372s ok 10 /regex/max-lookbehind 372s ok 11 /regex/compile-errors 372s ok 12 /regex/jit-unsupported-matching 372s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 372s ok 13 /regex/unmatched-named-subpattern 372s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 372s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 372s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 372s ok 14 /regex/compiled-regex-after-jit-failure 372s # Start of new tests 372s ok 15 /regex/new/1 372s ok 16 /regex/new/2 372s ok 17 /regex/new/3 372s ok 18 /regex/new/4 372s ok 19 /regex/new/5 372s ok 20 /regex/new/6 372s ok 21 /regex/new/7 372s ok 22 /regex/new/8 372s ok 23 /regex/new/9 372s ok 24 /regex/new/10 372s ok 25 /regex/new/11 372s ok 26 /regex/new/12 372s ok 27 /regex/new/13 372s ok 28 /regex/new/14 372s ok 29 /regex/new/15 372s ok 30 /regex/new/16 372s ok 31 /regex/new/17 372s ok 32 /regex/new/18 372s ok 33 /regex/new/19 372s ok 34 /regex/new/71 372s ok 35 /regex/new/80 372s ok 36 /regex/new/82 372s # End of new tests 372s # Start of new-check-flags tests 372s ok 37 /regex/new-check-flags/20 372s ok 38 /regex/new-check-flags/21 372s ok 39 /regex/new-check-flags/22 372s ok 40 /regex/new-check-flags/23 372s ok 41 /regex/new-check-flags/24 372s ok 42 /regex/new-check-flags/25 372s ok 43 /regex/new-check-flags/26 372s ok 44 /regex/new-check-flags/27 372s ok 45 /regex/new-check-flags/28 372s ok 46 /regex/new-check-flags/29 372s ok 47 /regex/new-check-flags/30 372s ok 48 /regex/new-check-flags/31 372s ok 49 /regex/new-check-flags/32 372s ok 50 /regex/new-check-flags/33 372s ok 51 /regex/new-check-flags/34 372s ok 52 /regex/new-check-flags/35 372s ok 53 /regex/new-check-flags/36 372s # End of new-check-flags tests 372s # Start of new-fail tests 372s ok 54 /regex/new-fail/37 372s ok 55 /regex/new-fail/38 372s ok 56 /regex/new-fail/39 372s ok 57 /regex/new-fail/40 372s ok 58 /regex/new-fail/41 372s ok 59 /regex/new-fail/42 372s ok 60 /regex/new-fail/43 372s ok 61 /regex/new-fail/44 372s ok 62 /regex/new-fail/45 372s ok 63 /regex/new-fail/46 372s ok 64 /regex/new-fail/47 372s ok 65 /regex/new-fail/48 372s ok 66 /regex/new-fail/49 372s ok 67 /regex/new-fail/50 372s ok 68 /regex/new-fail/51 372s ok 69 /regex/new-fail/52 372s ok 70 /regex/new-fail/53 372s ok 71 /regex/new-fail/54 372s ok 72 /regex/new-fail/55 372s ok 73 /regex/new-fail/56 372s ok 74 /regex/new-fail/57 372s ok 75 /regex/new-fail/58 372s ok 76 /regex/new-fail/59 372s ok 77 /regex/new-fail/60 372s ok 78 /regex/new-fail/61 372s ok 79 /regex/new-fail/62 372s ok 80 /regex/new-fail/63 372s ok 81 /regex/new-fail/64 372s ok 82 /regex/new-fail/65 372s ok 83 /regex/new-fail/66 372s ok 84 /regex/new-fail/67 372s ok 85 /regex/new-fail/68 372s ok 86 /regex/new-fail/69 372s ok 87 /regex/new-fail/70 372s ok 88 /regex/new-fail/72 372s ok 89 /regex/new-fail/73 372s ok 90 /regex/new-fail/74 372s ok 91 /regex/new-fail/75 372s ok 92 /regex/new-fail/76 372s ok 93 /regex/new-fail/77 372s ok 94 /regex/new-fail/78 372s ok 95 /regex/new-fail/79 372s ok 96 /regex/new-fail/81 372s ok 97 /regex/new-fail/83 372s ok 98 /regex/new-fail/84 372s ok 99 /regex/new-fail/85 372s ok 100 /regex/new-fail/86 372s ok 101 /regex/new-fail/87 372s ok 102 /regex/new-fail/88 372s ok 103 /regex/new-fail/89 372s ok 104 /regex/new-fail/90 372s ok 105 /regex/new-fail/91 372s # End of new-fail tests 372s # Start of match-simple tests 372s ok 106 /regex/match-simple/92 372s ok 107 /regex/match-simple/93 372s ok 108 /regex/match-simple/94 372s ok 109 /regex/match-simple/95 372s ok 110 /regex/match-simple/96 372s ok 111 /regex/match-simple/97 372s ok 112 /regex/match-simple/98 372s ok 113 /regex/match-simple/99 372s ok 114 /regex/match-simple/100 372s ok 115 /regex/match-simple/101 372s ok 116 /regex/match-simple/102 372s ok 117 /regex/match-simple/103 372s ok 118 /regex/match-simple/104 372s ok 119 /regex/match-simple/105 372s ok 120 /regex/match-simple/106 372s ok 121 /regex/match-simple/107 372s ok 122 /regex/match-simple/108 372s ok 123 /regex/match-simple/109 372s ok 124 /regex/match-simple/110 372s ok 125 /regex/match-simple/111 372s ok 126 /regex/match-simple/112 372s ok 127 /regex/match-simple/113 372s ok 128 /regex/match-simple/114 372s ok 129 /regex/match-simple/115 372s ok 130 /regex/match-simple/116 372s ok 131 /regex/match-simple/117 372s ok 132 /regex/match-simple/118 372s ok 133 /regex/match-simple/119 372s ok 134 /regex/match-simple/120 372s ok 135 /regex/match-simple/121 372s ok 136 /regex/match-simple/122 372s ok 137 /regex/match-simple/123 372s ok 138 /regex/match-simple/124 372s ok 139 /regex/match-simple/125 372s ok 140 /regex/match-simple/126 372s ok 141 /regex/match-simple/127 372s ok 142 /regex/match-simple/128 372s ok 143 /regex/match-simple/129 372s ok 144 /regex/match-simple/130 372s ok 145 /regex/match-simple/131 372s ok 146 /regex/match-simple/132 372s ok 147 /regex/match-simple/133 372s ok 148 /regex/match-simple/134 372s ok 149 /regex/match-simple/135 372s ok 150 /regex/match-simple/136 372s ok 151 /regex/match-simple/137 372s ok 152 /regex/match-simple/138 372s ok 153 /regex/match-simple/139 372s ok 154 /regex/match-simple/140 372s ok 155 /regex/match-simple/141 372s ok 156 /regex/match-simple/142 372s ok 157 /regex/match-simple/143 372s ok 158 /regex/match-simple/144 372s ok 159 /regex/match-simple/145 372s ok 160 /regex/match-simple/146 372s ok 161 /regex/match-simple/147 372s ok 162 /regex/match-simple/148 372s ok 163 /regex/match-simple/149 372s ok 164 /regex/match-simple/150 372s ok 165 /regex/match-simple/151 372s ok 166 /regex/match-simple/152 372s ok 167 /regex/match-simple/153 372s ok 168 /regex/match-simple/154 372s ok 169 /regex/match-simple/155 372s ok 170 /regex/match-simple/156 372s ok 171 /regex/match-simple/157 372s ok 172 /regex/match-simple/158 372s ok 173 /regex/match-simple/159 372s ok 174 /regex/match-simple/160 372s ok 175 /regex/match-simple/161 372s ok 176 /regex/match-simple/162 372s ok 177 /regex/match-simple/163 372s ok 178 /regex/match-simple/164 372s # End of match-simple tests 372s # Start of match-simple-optimized tests 372s ok 179 /regex/match-simple-optimized/92 372s ok 180 /regex/match-simple-optimized/93 372s ok 181 /regex/match-simple-optimized/94 372s ok 182 /regex/match-simple-optimized/95 372s ok 183 /regex/match-simple-optimized/96 372s ok 184 /regex/match-simple-optimized/97 372s ok 185 /regex/match-simple-optimized/98 372s ok 186 /regex/match-simple-optimized/99 372s ok 187 /regex/match-simple-optimized/100 372s ok 188 /regex/match-simple-optimized/101 372s ok 189 /regex/match-simple-optimized/102 372s ok 190 /regex/match-simple-optimized/103 372s ok 191 /regex/match-simple-optimized/104 372s ok 192 /regex/match-simple-optimized/105 372s ok 193 /regex/match-simple-optimized/106 372s ok 194 /regex/match-simple-optimized/107 372s ok 195 /regex/match-simple-optimized/108 372s ok 196 /regex/match-simple-optimized/109 372s ok 197 /regex/match-simple-optimized/110 372s ok 198 /regex/match-simple-optimized/111 372s ok 199 /regex/match-simple-optimized/112 372s ok 200 /regex/match-simple-optimized/113 372s ok 201 /regex/match-simple-optimized/114 372s ok 202 /regex/match-simple-optimized/115 372s ok 203 /regex/match-simple-optimized/116 372s ok 204 /regex/match-simple-optimized/117 372s ok 205 /regex/match-simple-optimized/118 372s ok 206 /regex/match-simple-optimized/119 372s ok 207 /regex/match-simple-optimized/120 372s ok 208 /regex/match-simple-optimized/121 372s ok 209 /regex/match-simple-optimized/122 372s ok 210 /regex/match-simple-optimized/123 372s ok 211 /regex/match-simple-optimized/124 372s ok 212 /regex/match-simple-optimized/125 372s ok 213 /regex/match-simple-optimized/126 372s ok 214 /regex/match-simple-optimized/127 372s ok 215 /regex/match-simple-optimized/128 372s ok 216 /regex/match-simple-optimized/129 372s ok 217 /regex/match-simple-optimized/130 372s ok 218 /regex/match-simple-optimized/131 372s ok 219 /regex/match-simple-optimized/132 372s ok 220 /regex/match-simple-optimized/133 372s ok 221 /regex/match-simple-optimized/134 372s ok 222 /regex/match-simple-optimized/135 372s ok 223 /regex/match-simple-optimized/136 372s ok 224 /regex/match-simple-optimized/137 372s ok 225 /regex/match-simple-optimized/138 372s ok 226 /regex/match-simple-optimized/139 372s ok 227 /regex/match-simple-optimized/140 372s ok 228 /regex/match-simple-optimized/141 372s ok 229 /regex/match-simple-optimized/142 372s ok 230 /regex/match-simple-optimized/143 372s ok 231 /regex/match-simple-optimized/144 372s ok 232 /regex/match-simple-optimized/145 372s ok 233 /regex/match-simple-optimized/146 372s ok 234 /regex/match-simple-optimized/147 372s ok 235 /regex/match-simple-optimized/148 372s ok 236 /regex/match-simple-optimized/149 372s ok 237 /regex/match-simple-optimized/150 372s ok 238 /regex/match-simple-optimized/151 372s ok 239 /regex/match-simple-optimized/152 372s ok 240 /regex/match-simple-optimized/153 372s ok 241 /regex/match-simple-optimized/154 372s ok 242 /regex/match-simple-optimized/155 372s ok 243 /regex/match-simple-optimized/156 372s ok 244 /regex/match-simple-optimized/157 372s ok 245 /regex/match-simple-optimized/158 372s ok 246 /regex/match-simple-optimized/159 372s ok 247 /regex/match-simple-optimized/160 372s ok 248 /regex/match-simple-optimized/161 372s ok 249 /regex/match-simple-optimized/162 372s ok 250 /regex/match-simple-optimized/163 372s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 372s ok 251 /regex/match-simple-optimized/164 372s # End of match-simple-optimized tests 372s # Start of match tests 372s ok 252 /regex/match/165 372s ok 253 /regex/match/166 372s ok 254 /regex/match/167 372s ok 255 /regex/match/168 372s ok 256 /regex/match/169 372s ok 257 /regex/match/170 372s ok 258 /regex/match/171 372s ok 259 /regex/match/172 372s ok 260 /regex/match/173 372s ok 261 /regex/match/174 372s ok 262 /regex/match/175 372s ok 263 /regex/match/176 372s ok 264 /regex/match/177 372s ok 265 /regex/match/178 372s ok 266 /regex/match/179 372s ok 267 /regex/match/180 372s ok 268 /regex/match/181 372s ok 269 /regex/match/182 372s ok 270 /regex/match/183 372s ok 271 /regex/match/184 372s ok 272 /regex/match/185 372s ok 273 /regex/match/186 372s ok 274 /regex/match/187 372s ok 275 /regex/match/188 372s ok 276 /regex/match/189 372s ok 277 /regex/match/190 372s ok 278 /regex/match/191 372s ok 279 /regex/match/192 372s ok 280 /regex/match/193 372s ok 281 /regex/match/194 372s ok 282 /regex/match/195 372s ok 283 /regex/match/196 372s ok 284 /regex/match/197 372s ok 285 /regex/match/198 372s ok 286 /regex/match/199 372s ok 287 /regex/match/200 372s ok 288 /regex/match/201 372s ok 289 /regex/match/202 372s ok 290 /regex/match/203 372s ok 291 /regex/match/204 372s ok 292 /regex/match/205 372s ok 293 /regex/match/206 372s ok 294 /regex/match/207 372s ok 295 /regex/match/208 372s ok 296 /regex/match/209 372s ok 297 /regex/match/210 372s ok 298 /regex/match/211 372s ok 299 /regex/match/212 372s ok 300 /regex/match/213 372s ok 301 /regex/match/214 372s ok 302 /regex/match/215 372s ok 303 /regex/match/216 372s ok 304 /regex/match/217 372s ok 305 /regex/match/218 372s ok 306 /regex/match/219 372s ok 307 /regex/match/220 372s ok 308 /regex/match/221 372s ok 309 /regex/match/222 372s ok 310 /regex/match/223 372s ok 311 /regex/match/224 372s ok 312 /regex/match/225 372s ok 313 /regex/match/226 372s ok 314 /regex/match/227 372s ok 315 /regex/match/228 372s ok 316 /regex/match/229 372s ok 317 /regex/match/230 372s ok 318 /regex/match/231 372s ok 319 /regex/match/232 372s ok 320 /regex/match/233 372s ok 321 /regex/match/234 372s ok 322 /regex/match/235 372s ok 323 /regex/match/236 372s ok 324 /regex/match/237 372s ok 325 /regex/match/238 372s ok 326 /regex/match/239 372s ok 327 /regex/match/240 372s ok 328 /regex/match/241 372s ok 329 /regex/match/242 372s ok 330 /regex/match/243 372s ok 331 /regex/match/244 372s ok 332 /regex/match/245 372s ok 333 /regex/match/246 372s ok 334 /regex/match/partial281 372s ok 335 /regex/match/partial282 372s ok 336 /regex/match/partial283 372s ok 337 /regex/match/partial284 372s ok 338 /regex/match/partial285 372s ok 339 /regex/match/partial286 372s ok 340 /regex/match/partial287 372s ok 341 /regex/match/partial288 372s ok 342 /regex/match/partial289 372s ok 343 /regex/match/partial290 372s ok 344 /regex/match/partial291 372s ok 345 /regex/match/partial292 372s ok 346 /regex/match/partial293 372s ok 347 /regex/match/partial294 372s ok 348 /regex/match/partial295 372s ok 349 /regex/match/partial296 372s ok 350 /regex/match/partial297 372s ok 351 /regex/match/partial298 372s ok 352 /regex/match/partial299 372s ok 353 /regex/match/partial300 372s ok 354 /regex/match/partial301 372s ok 355 /regex/match/partial302 372s # Start of next0 tests 372s ok 356 /regex/match/next0/247 372s ok 357 /regex/match/next0/248 372s ok 358 /regex/match/next0/249 372s ok 359 /regex/match/next0/250 372s # End of next0 tests 372s # Start of next1 tests 372s ok 360 /regex/match/next1/251 372s ok 361 /regex/match/next1/252 372s ok 362 /regex/match/next1/253 372s ok 363 /regex/match/next1/254 372s ok 364 /regex/match/next1/255 372s # End of next1 tests 372s # Start of next2 tests 372s ok 365 /regex/match/next2/256 372s ok 366 /regex/match/next2/257 372s ok 367 /regex/match/next2/258 372s ok 368 /regex/match/next2/259 372s ok 369 /regex/match/next2/260 372s ok 370 /regex/match/next2/261 372s ok 371 /regex/match/next2/262 372s ok 372 /regex/match/next2/263 372s # End of next2 tests 372s # Start of next3 tests 372s ok 373 /regex/match/next3/264 372s ok 374 /regex/match/next3/265 372s ok 375 /regex/match/next3/266 372s ok 376 /regex/match/next3/267 372s ok 377 /regex/match/next3/268 372s ok 378 /regex/match/next3/269 372s # End of next3 tests 372s # Start of next4 tests 372s ok 379 /regex/match/next4/270 372s # End of next4 tests 372s # Start of count tests 372s ok 380 /regex/match/count/271 372s ok 381 /regex/match/count/272 372s ok 382 /regex/match/count/273 372s ok 383 /regex/match/count/274 372s ok 384 /regex/match/count/275 372s ok 385 /regex/match/count/276 372s ok 386 /regex/match/count/277 372s ok 387 /regex/match/count/278 372s ok 388 /regex/match/count/279 372s ok 389 /regex/match/count/280 372s # End of count tests 372s # Start of count-optimized tests 372s ok 390 /regex/match/count-optimized/271 372s ok 391 /regex/match/count-optimized/272 372s ok 392 /regex/match/count-optimized/273 372s ok 393 /regex/match/count-optimized/274 372s ok 394 /regex/match/count-optimized/275 372s ok 395 /regex/match/count-optimized/276 372s ok 396 /regex/match/count-optimized/277 372s ok 397 /regex/match/count-optimized/278 372s ok 398 /regex/match/count-optimized/279 372s ok 399 /regex/match/count-optimized/280 372s # End of count-optimized tests 372s # Start of partial-optimized tests 372s ok 400 /regex/match/partial-optimized/281 372s ok 401 /regex/match/partial-optimized/282 372s ok 402 /regex/match/partial-optimized/283 372s ok 403 /regex/match/partial-optimized/284 372s ok 404 /regex/match/partial-optimized/285 372s ok 405 /regex/match/partial-optimized/286 372s ok 406 /regex/match/partial-optimized/287 372s ok 407 /regex/match/partial-optimized/288 372s ok 408 /regex/match/partial-optimized/289 372s ok 409 /regex/match/partial-optimized/290 372s ok 410 /regex/match/partial-optimized/291 372s ok 411 /regex/match/partial-optimized/292 372s ok 412 /regex/match/partial-optimized/293 372s ok 413 /regex/match/partial-optimized/294 372s ok 414 /regex/match/partial-optimized/295 372s ok 415 /regex/match/partial-optimized/296 372s ok 416 /regex/match/partial-optimized/297 372s ok 417 /regex/match/partial-optimized/298 372s ok 418 /regex/match/partial-optimized/299 372s ok 419 /regex/match/partial-optimized/300 372s ok 420 /regex/match/partial-optimized/301 372s ok 421 /regex/match/partial-optimized/302 372s # End of partial-optimized tests 372s # Start of subpattern tests 372s ok 422 /regex/match/subpattern/303 372s ok 423 /regex/match/subpattern/304 372s ok 424 /regex/match/subpattern/305 372s ok 425 /regex/match/subpattern/306 372s ok 426 /regex/match/subpattern/307 372s ok 427 /regex/match/subpattern/308 372s ok 428 /regex/match/subpattern/309 372s ok 429 /regex/match/subpattern/310 372s ok 430 /regex/match/subpattern/311 372s ok 431 /regex/match/subpattern/312 372s ok 432 /regex/match/subpattern/313 372s ok 433 /regex/match/subpattern/314 372s ok 434 /regex/match/subpattern/315 372s # Start of named tests 372s # Start of dupnames tests 372s ok 435 /regex/match/subpattern/named/dupnames/325 372s ok 436 /regex/match/subpattern/named/dupnames/326 372s ok 437 /regex/match/subpattern/named/dupnames/327 372s ok 438 /regex/match/subpattern/named/dupnames/328 372s ok 439 /regex/match/subpattern/named/dupnames/329 372s # End of dupnames tests 372s # End of named tests 372s # End of subpattern tests 372s # Start of subpattern-optimized tests 372s ok 440 /regex/match/subpattern-optimized/303 372s ok 441 /regex/match/subpattern-optimized/304 372s ok 442 /regex/match/subpattern-optimized/305 372s ok 443 /regex/match/subpattern-optimized/306 372s ok 444 /regex/match/subpattern-optimized/307 372s ok 445 /regex/match/subpattern-optimized/308 372s ok 446 /regex/match/subpattern-optimized/309 372s ok 447 /regex/match/subpattern-optimized/310 372s ok 448 /regex/match/subpattern-optimized/311 372s ok 449 /regex/match/subpattern-optimized/312 372s ok 450 /regex/match/subpattern-optimized/313 372s ok 451 /regex/match/subpattern-optimized/314 372s ok 452 /regex/match/subpattern-optimized/315 372s # End of subpattern-optimized tests 372s # Start of named tests 372s # Start of subpattern tests 372s ok 453 /regex/match/named/subpattern/316 372s ok 454 /regex/match/named/subpattern/317 372s ok 455 /regex/match/named/subpattern/318 372s ok 456 /regex/match/named/subpattern/319 372s ok 457 /regex/match/named/subpattern/320 372s ok 458 /regex/match/named/subpattern/321 372s ok 459 /regex/match/named/subpattern/322 372s ok 460 /regex/match/named/subpattern/323 372s ok 461 /regex/match/named/subpattern/324 372s ok 462 /regex/match/named/subpattern/330 372s ok 463 /regex/match/named/subpattern/331 372s ok 464 /regex/match/named/subpattern/332 372s ok 465 /regex/match/named/subpattern/333 372s ok 466 /regex/match/named/subpattern/334 372s # End of subpattern tests 372s # End of named tests 372s # End of match tests 372s # Start of match-optimized tests 372s ok 467 /regex/match-optimized/165 372s ok 468 /regex/match-optimized/166 372s ok 469 /regex/match-optimized/167 372s ok 470 /regex/match-optimized/168 372s ok 471 /regex/match-optimized/169 372s ok 472 /regex/match-optimized/170 372s ok 473 /regex/match-optimized/171 372s ok 474 /regex/match-optimized/172 372s ok 475 /regex/match-optimized/173 372s ok 476 /regex/match-optimized/174 372s ok 477 /regex/match-optimized/175 372s ok 478 /regex/match-optimized/176 372s ok 479 /regex/match-optimized/177 372s ok 480 /regex/match-optimized/178 372s ok 481 /regex/match-optimized/179 372s ok 482 /regex/match-optimized/180 372s ok 483 /regex/match-optimized/181 372s ok 484 /regex/match-optimized/182 372s ok 485 /regex/match-optimized/183 372s ok 486 /regex/match-optimized/184 372s ok 487 /regex/match-optimized/185 372s ok 488 /regex/match-optimized/186 372s ok 489 /regex/match-optimized/187 372s ok 490 /regex/match-optimized/188 372s ok 491 /regex/match-optimized/189 372s ok 492 /regex/match-optimized/190 372s ok 493 /regex/match-optimized/191 372s ok 494 /regex/match-optimized/192 372s ok 495 /regex/match-optimized/193 372s ok 496 /regex/match-optimized/194 372s ok 497 /regex/match-optimized/195 372s ok 498 /regex/match-optimized/196 372s ok 499 /regex/match-optimized/197 372s ok 500 /regex/match-optimized/198 372s ok 501 /regex/match-optimized/199 372s ok 502 /regex/match-optimized/200 372s ok 503 /regex/match-optimized/201 372s ok 504 /regex/match-optimized/202 372s ok 505 /regex/match-optimized/203 372s ok 506 /regex/match-optimized/204 372s ok 507 /regex/match-optimized/205 372s ok 508 /regex/match-optimized/206 372s ok 509 /regex/match-optimized/207 372s ok 510 /regex/match-optimized/208 372s ok 511 /regex/match-optimized/209 372s ok 512 /regex/match-optimized/210 372s ok 513 /regex/match-optimized/211 372s ok 514 /regex/match-optimized/212 372s ok 515 /regex/match-optimized/213 372s ok 516 /regex/match-optimized/214 372s ok 517 /regex/match-optimized/215 372s ok 518 /regex/match-optimized/216 372s ok 519 /regex/match-optimized/217 372s ok 520 /regex/match-optimized/218 372s ok 521 /regex/match-optimized/219 372s ok 522 /regex/match-optimized/220 372s ok 523 /regex/match-optimized/221 372s ok 524 /regex/match-optimized/222 372s ok 525 /regex/match-optimized/223 372s ok 526 /regex/match-optimized/224 372s ok 527 /regex/match-optimized/225 372s ok 528 /regex/match-optimized/226 372s ok 529 /regex/match-optimized/227 372s ok 530 /regex/match-optimized/228 372s ok 531 /regex/match-optimized/229 372s ok 532 /regex/match-optimized/230 372s ok 533 /regex/match-optimized/231 372s ok 534 /regex/match-optimized/232 372s ok 535 /regex/match-optimized/233 372s ok 536 /regex/match-optimized/234 372s ok 537 /regex/match-optimized/235 372s ok 538 /regex/match-optimized/236 372s ok 539 /regex/match-optimized/237 372s ok 540 /regex/match-optimized/238 372s ok 541 /regex/match-optimized/239 372s ok 542 /regex/match-optimized/240 372s ok 543 /regex/match-optimized/241 372s ok 544 /regex/match-optimized/242 372s ok 545 /regex/match-optimized/243 372s ok 546 /regex/match-optimized/244 372s ok 547 /regex/match-optimized/245 372s ok 548 /regex/match-optimized/246 372s # End of match-optimized tests 372s # Start of fetch-all0 tests 372s ok 549 /regex/fetch-all0/335 372s ok 550 /regex/fetch-all0/336 372s # End of fetch-all0 tests 372s # Start of fetch-all1 tests 372s ok 551 /regex/fetch-all1/337 372s ok 552 /regex/fetch-all1/338 372s ok 553 /regex/fetch-all1/339 372s # End of fetch-all1 tests 372s # Start of fetch-all2 tests 372s ok 554 /regex/fetch-all2/340 372s ok 555 /regex/fetch-all2/341 372s ok 556 /regex/fetch-all2/342 372s # End of fetch-all2 tests 372s # Start of fetch-all3 tests 372s ok 557 /regex/fetch-all3/343 372s ok 558 /regex/fetch-all3/344 372s ok 559 /regex/fetch-all3/345 372s ok 560 /regex/fetch-all3/346 372s ok 561 /regex/fetch-all3/347 372s # End of fetch-all3 tests 372s # Start of split tests 372s # Start of simple0 tests 372s ok 562 /regex/split/simple0/348 372s ok 563 /regex/split/simple0/349 372s ok 564 /regex/split/simple0/364 372s ok 565 /regex/split/simple0/365 372s # End of simple0 tests 372s # Start of simple1 tests 372s ok 566 /regex/split/simple1/350 372s ok 567 /regex/split/simple1/351 372s # End of simple1 tests 372s # Start of simple2 tests 372s ok 568 /regex/split/simple2/352 372s ok 569 /regex/split/simple2/358 372s ok 570 /regex/split/simple2/360 372s # End of simple2 tests 372s # Start of simple3 tests 372s ok 571 /regex/split/simple3/353 372s ok 572 /regex/split/simple3/354 372s ok 573 /regex/split/simple3/355 372s ok 574 /regex/split/simple3/356 372s ok 575 /regex/split/simple3/357 372s ok 576 /regex/split/simple3/359 372s ok 577 /regex/split/simple3/361 372s ok 578 /regex/split/simple3/362 372s ok 579 /regex/split/simple3/363 372s # End of simple3 tests 372s # End of split tests 372s # Start of split0 tests 372s ok 580 /regex/split0/366 372s ok 581 /regex/split0/368 372s # End of split0 tests 372s # Start of full-split0 tests 372s ok 582 /regex/full-split0/367 372s ok 583 /regex/full-split0/369 372s ok 584 /regex/full-split0/370 372s ok 585 /regex/full-split0/371 372s ok 586 /regex/full-split0/372 372s # End of full-split0 tests 372s # Start of split1 tests 372s ok 587 /regex/split1/373 372s ok 588 /regex/split1/376 372s # End of split1 tests 372s # Start of full-split1 tests 372s ok 589 /regex/full-split1/374 372s ok 590 /regex/full-split1/375 372s ok 591 /regex/full-split1/377 372s ok 592 /regex/full-split1/378 372s ok 593 /regex/full-split1/404 372s # End of full-split1 tests 372s # Start of split2 tests 372s ok 594 /regex/split2/379 372s ok 595 /regex/split2/383 372s ok 596 /regex/split2/395 372s # End of split2 tests 372s # Start of full-split2 tests 372s ok 597 /regex/full-split2/380 372s ok 598 /regex/full-split2/381 372s ok 599 /regex/full-split2/382 372s ok 600 /regex/full-split2/384 372s ok 601 /regex/full-split2/396 372s ok 602 /regex/full-split2/399 372s ok 603 /regex/full-split2/405 372s # End of full-split2 tests 372s # Start of split3 tests 372s ok 604 /regex/split3/385 372s ok 605 /regex/split3/387 372s ok 606 /regex/split3/389 372s ok 607 /regex/split3/391 372s ok 608 /regex/split3/393 372s ok 609 /regex/split3/397 372s ok 610 /regex/split3/400 372s ok 611 /regex/split3/402 372s # End of split3 tests 372s # Start of full-split3 tests 372s ok 612 /regex/full-split3/386 372s ok 613 /regex/full-split3/388 372s ok 614 /regex/full-split3/390 372s ok 615 /regex/full-split3/392 372s ok 616 /regex/full-split3/394 372s ok 617 /regex/full-split3/398 372s ok 618 /regex/full-split3/401 372s ok 619 /regex/full-split3/403 372s ok 620 /regex/full-split3/406 372s ok 621 /regex/full-split3/407 372s # End of full-split3 tests 372s # Start of check-repacement tests 372s ok 622 /regex/check-repacement/408 372s ok 623 /regex/check-repacement/409 372s ok 624 /regex/check-repacement/410 372s ok 625 /regex/check-repacement/411 372s ok 626 /regex/check-repacement/412 372s ok 627 /regex/check-repacement/413 372s ok 628 /regex/check-repacement/414 372s ok 629 /regex/check-repacement/415 372s # End of check-repacement tests 372s # Start of expand tests 372s ok 630 /regex/expand/416 372s ok 631 /regex/expand/417 372s ok 632 /regex/expand/418 372s ok 633 /regex/expand/419 372s ok 634 /regex/expand/420 372s ok 635 /regex/expand/421 372s ok 636 /regex/expand/422 372s ok 637 /regex/expand/423 372s ok 638 /regex/expand/424 372s ok 639 /regex/expand/425 372s ok 640 /regex/expand/426 372s ok 641 /regex/expand/427 372s ok 642 /regex/expand/428 372s ok 643 /regex/expand/429 372s ok 644 /regex/expand/430 372s ok 645 /regex/expand/431 372s ok 646 /regex/expand/432 372s ok 647 /regex/expand/433 372s ok 648 /regex/expand/434 372s ok 649 /regex/expand/435 372s ok 650 /regex/expand/436 372s ok 651 /regex/expand/437 372s ok 652 /regex/expand/438 372s ok 653 /regex/expand/439 372s ok 654 /regex/expand/440 372s ok 655 /regex/expand/441 372s ok 656 /regex/expand/442 372s ok 657 /regex/expand/443 372s ok 658 /regex/expand/444 372s ok 659 /regex/expand/445 372s ok 660 /regex/expand/446 372s ok 661 /regex/expand/447 372s ok 662 /regex/expand/448 372s ok 663 /regex/expand/449 372s ok 664 /regex/expand/450 372s ok 665 /regex/expand/451 372s ok 666 /regex/expand/452 372s ok 667 /regex/expand/453 372s ok 668 /regex/expand/454 372s ok 669 /regex/expand/455 372s ok 670 /regex/expand/456 372s ok 671 /regex/expand/457 372s ok 672 /regex/expand/458 372s ok 673 /regex/expand/459 372s ok 674 /regex/expand/460 372s ok 675 /regex/expand/461 372s ok 676 /regex/expand/462 372s ok 677 /regex/expand/463 372s ok 678 /regex/expand/464 372s ok 679 /regex/expand/465 372s ok 680 /regex/expand/466 372s ok 681 /regex/expand/467 372s ok 682 /regex/expand/468 372s ok 683 /regex/expand/469 372s ok 684 /regex/expand/470 372s ok 685 /regex/expand/471 372s ok 686 /regex/expand/472 372s ok 687 /regex/expand/473 372s ok 688 /regex/expand/474 372s ok 689 /regex/expand/475 372s ok 690 /regex/expand/476 372s ok 691 /regex/expand/477 372s ok 692 /regex/expand/478 372s ok 693 /regex/expand/479 372s ok 694 /regex/expand/480 372s ok 695 /regex/expand/481 372s # End of expand tests 372s # Start of replace tests 372s ok 696 /regex/replace/482 372s ok 697 /regex/replace/483 372s ok 698 /regex/replace/484 372s ok 699 /regex/replace/485 372s ok 700 /regex/replace/486 372s ok 701 /regex/replace/487 372s ok 702 /regex/replace/488 372s ok 703 /regex/replace/489 372s ok 704 /regex/replace/490 372s ok 705 /regex/replace/491 372s ok 706 /regex/replace/492 372s ok 707 /regex/replace/493 372s ok 708 /regex/replace/494 372s ok 709 /regex/replace/495 372s ok 710 /regex/replace/496 372s ok 711 /regex/replace/497 372s ok 712 /regex/replace/498 372s ok 713 /regex/replace/499 372s ok 714 /regex/replace/500 372s ok 715 /regex/replace/501 372s ok 716 /regex/replace/502 372s ok 717 /regex/replace/503 372s ok 718 /regex/replace/504 372s ok 719 /regex/replace/505 372s ok 720 /regex/replace/506 372s ok 721 /regex/replace/507 372s ok 722 /regex/replace/508 372s ok 723 /regex/replace/509 372s # End of replace tests 372s # Start of replace-optimized tests 372s ok 724 /regex/replace-optimized/482 372s ok 725 /regex/replace-optimized/483 372s ok 726 /regex/replace-optimized/484 372s ok 727 /regex/replace-optimized/485 372s ok 728 /regex/replace-optimized/486 372s ok 729 /regex/replace-optimized/487 372s ok 730 /regex/replace-optimized/488 372s ok 731 /regex/replace-optimized/489 372s ok 732 /regex/replace-optimized/490 372s ok 733 /regex/replace-optimized/491 372s ok 734 /regex/replace-optimized/492 372s ok 735 /regex/replace-optimized/493 372s ok 736 /regex/replace-optimized/494 372s ok 737 /regex/replace-optimized/495 372s ok 738 /regex/replace-optimized/496 372s ok 739 /regex/replace-optimized/497 372s ok 740 /regex/replace-optimized/498 372s ok 741 /regex/replace-optimized/499 372s ok 742 /regex/replace-optimized/500 372s ok 743 /regex/replace-optimized/501 372s ok 744 /regex/replace-optimized/502 372s ok 745 /regex/replace-optimized/503 372s ok 746 /regex/replace-optimized/504 372s ok 747 /regex/replace-optimized/505 372s ok 748 /regex/replace-optimized/506 372s ok 749 /regex/replace-optimized/507 372s ok 750 /regex/replace-optimized/508 372s ok 751 /regex/replace-optimized/509 372s # End of replace-optimized tests 372s # Start of replace-literally tests 372s ok 752 /regex/replace-literally/510 372s ok 753 /regex/replace-literally/511 372s ok 754 /regex/replace-literally/512 372s ok 755 /regex/replace-literally/513 372s ok 756 /regex/replace-literally/514 372s ok 757 /regex/replace-literally/515 372s ok 758 /regex/replace-literally/516 372s ok 759 /regex/replace-literally/517 372s ok 760 /regex/replace-literally/518 372s ok 761 /regex/replace-literally/519 372s ok 762 /regex/replace-literally/520 372s ok 763 /regex/replace-literally/521 372s ok 764 /regex/replace-literally/522 372s ok 765 /regex/replace-literally/523 372s ok 766 /regex/replace-literally/524 372s ok 767 /regex/replace-literally/525 372s ok 768 /regex/replace-literally/526 372s ok 769 /regex/replace-literally/527 372s ok 770 /regex/replace-literally/528 372s ok 771 /regex/replace-literally/529 372s # End of replace-literally tests 372s # Start of string-number tests 372s ok 772 /regex/string-number/530 372s ok 773 /regex/string-number/531 372s ok 774 /regex/string-number/532 372s ok 775 /regex/string-number/533 372s ok 776 /regex/string-number/534 372s ok 777 /regex/string-number/535 372s ok 778 /regex/string-number/536 372s ok 779 /regex/string-number/537 372s ok 780 /regex/string-number/538 372s ok 781 /regex/string-number/539 372s ok 782 /regex/string-number/540 372s ok 783 /regex/string-number/541 372s ok 784 /regex/string-number/542 372s ok 785 /regex/string-number/543 372s ok 786 /regex/string-number/544 372s # End of string-number tests 372s # Start of escape_nul tests 372s ok 787 /regex/escape_nul/545 372s ok 788 /regex/escape_nul/546 372s ok 789 /regex/escape_nul/547 372s ok 790 /regex/escape_nul/548 372s ok 791 /regex/escape_nul/549 372s ok 792 /regex/escape_nul/550 372s ok 793 /regex/escape_nul/551 372s ok 794 /regex/escape_nul/552 372s ok 795 /regex/escape_nul/553 372s ok 796 /regex/escape_nul/554 372s ok 797 /regex/escape_nul/555 372s ok 798 /regex/escape_nul/556 372s ok 799 /regex/escape_nul/557 372s ok 800 /regex/escape_nul/558 372s ok 801 /regex/escape_nul/559 372s # End of escape_nul tests 372s # Start of escape tests 372s ok 802 /regex/escape/560 372s ok 803 /regex/escape/561 372s ok 804 /regex/escape/562 372s ok 805 /regex/escape/563 372s ok 806 /regex/escape/564 372s ok 807 /regex/escape/565 372s ok 808 /regex/escape/566 372s ok 809 /regex/escape/567 372s ok 810 /regex/escape/568 372s ok 811 /regex/escape/569 372s ok 812 /regex/escape/570 372s ok 813 /regex/escape/571 372s ok 814 /regex/escape/572 372s ok 815 /regex/escape/573 372s ok 816 /regex/escape/574 372s ok 817 /regex/escape/575 372s ok 818 /regex/escape/576 372s ok 819 /regex/escape/577 372s # End of escape tests 372s # Start of match-all0 tests 372s ok 820 /regex/match-all0/578 372s ok 821 /regex/match-all0/580 372s # End of match-all0 tests 372s # Start of match-all-full0 tests 372s ok 822 /regex/match-all-full0/579 372s ok 823 /regex/match-all-full0/581 372s ok 824 /regex/match-all-full0/582 372s ok 825 /regex/match-all-full0/583 372s # End of match-all-full0 tests 372s # Start of match-all1 tests 372s ok 826 /regex/match-all1/584 372s ok 827 /regex/match-all1/586 372s ok 828 /regex/match-all1/591 372s # End of match-all1 tests 372s # Start of match-all-full1 tests 372s ok 829 /regex/match-all-full1/585 372s ok 830 /regex/match-all-full1/587 372s ok 831 /regex/match-all-full1/588 372s ok 832 /regex/match-all-full1/589 372s ok 833 /regex/match-all-full1/590 372s ok 834 /regex/match-all-full1/592 372s # End of match-all-full1 tests 372s # Start of match-all2 tests 372s ok 835 /regex/match-all2/593 372s ok 836 /regex/match-all2/595 372s ok 837 /regex/match-all2/597 372s # End of match-all2 tests 372s # Start of match-all-full2 tests 372s ok 838 /regex/match-all-full2/594 372s ok 839 /regex/match-all-full2/596 372s ok 840 /regex/match-all-full2/598 372s # End of match-all-full2 tests 372s # Start of match-all3 tests 372s ok 841 /regex/match-all3/599 372s ok 842 /regex/match-all3/601 372s # End of match-all3 tests 372s # Start of match-all-full3 tests 372s ok 843 /regex/match-all-full3/600 372s ok 844 /regex/match-all-full3/602 372s # End of match-all-full3 tests 372s # Start of match-notempty tests 372s ok 845 /regex/match-notempty/603 372s # End of match-notempty tests 372s # Start of match-notempty-optimized tests 372s ok 846 /regex/match-notempty-optimized/603 372s # End of match-notempty-optimized tests 372s # Start of match-notempty-atstart tests 372s ok 847 /regex/match-notempty-atstart/604 372s # End of match-notempty-atstart tests 372s # Start of match-notempty-atstart-optimized tests 372s ok 848 /regex/match-notempty-atstart-optimized/604 372s # End of match-notempty-atstart-optimized tests 372s # End of regex tests 372s ok - glib/regex.test 372s # Running test: glib/async-splice-output-stream.test 372s TAP version 14 372s # random seed: R02S86a524423edf7f9731e51b4cd4671c17 372s 1..5 372s # Start of async-splice tests 372s ok 1 /async-splice/copy-chunks 372s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 372s ok 2 /async-splice/copy-chunks-threaded-input 372s ok 3 /async-splice/copy-chunks-threaded-output 372s ok 4 /async-splice/copy-chunks-threaded 372s ok 5 /async-splice/cancelled 372s # End of async-splice tests 372s ok - glib/async-splice-output-stream.test 372s # Running test: glib/utils-c-11.test 372s TAP version 14 372s # random seed: R02S44d5d12259ba4a8e9547c9cbe664dab1 372s 1..40 372s # Start of utils tests 372s ok 1 /utils/language-names 372s ok 2 /utils/locale-variants 372s ok 3 /utils/version 372s ok 4 /utils/appname 372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 372s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 372s ok 5 /utils/prgname-thread-safety 372s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 372s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 372s ok 6 /utils/tmpdir 372s ok 7 /utils/basic_bits 372s ok 8 /utils/bits 372s ok 9 /utils/swap 372s ok 10 /utils/find-program 372s ok 11 /utils/find-program-for-path 372s ok 12 /utils/debug 372s ok 13 /utils/codeset 372s ok 14 /utils/codeset2 372s ok 15 /utils/console-charset 372s ok 16 /utils/gettext 372s ok 17 /utils/username 372s ok 18 /utils/realname 372s ok 19 /utils/hostname 372s ok 20 /utils/xdgdirs 372s ok 21 /utils/specialdir 372s # NAME: Ubuntu 372s ok 22 /utils/os-info 372s ok 23 /utils/clear-pointer 372s ok 24 /utils/clear-pointer-cast 372s ok 25 /utils/take-pointer 372s ok 26 /utils/clear-source 372s ok 27 /utils/misc-mem 372s # /utils/aligned-mem summary: Aligned memory allocator 372s # Alignment must not be zero 372s # Alignment must be a power of two 372s # Alignment must be a multiple of sizeof(void*) 372s ok 28 /utils/aligned-mem 372s # /utils/free-sized summary: Check that g_free_sized() works 372s ok 29 /utils/free-sized 372s ok 30 /utils/nullify 372s ok 31 /utils/atexit 372s ok 32 /utils/check-setuid 372s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 372s ok 33 /utils/int-limits 372s ok 34 /utils/clear-list 372s ok 35 /utils/clear-slist 372s # Start of specialdir tests 372s ok 36 /utils/specialdir/desktop 372s # End of specialdir tests 372s # Start of clear-pointer tests 372s ok 37 /utils/clear-pointer/side-effects 372s # End of clear-pointer tests 372s # Start of aligned-mem tests 372s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 372s ok 38 /utils/aligned-mem/alignment 372s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 372s ok 39 /utils/aligned-mem/zeroed 372s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 372s ok 40 /utils/aligned-mem/free-sized 372s # Start of subprocess tests 372s # End of subprocess tests 372s # End of aligned-mem tests 372s # End of utils tests 372s ok - glib/utils-c-11.test 372s # Running test: glib/thread-pool-slow.test 372s TAP version 14 372s # random seed: R02Se8ff599e4b439e6d911c2e18936a16b3 372s 1..7 372s # Start of threadpool tests 372s ok 1 /threadpool/functions 373s ok 2 /threadpool/stop-unused 373s # slow test /threadpool/stop-unused executed in 0.51 secs 373s ok 3 /threadpool/pools 373s # [unsorted] ===> pushed new thread with id:64, number of threads:1, unprocessed:1 373s # [unsorted] ===> pushed new thread with id:84, number of threads:2, unprocessed:2 373s # [unsorted] ===> pushed new thread with id:19, number of threads:3, unprocessed:3 373s # [unsorted] ===> pushed new thread with id:13, number of threads:4, unprocessed:4 373s # [unsorted] ===> pushed new thread with id:58, number of threads:5, unprocessed:4 373s # [unsorted] ===> pushed new thread with id:41, number of threads:6, unprocessed:4 373s # [unsorted] ===> pushed new thread with id:70, number of threads:7, unprocessed:5 373s # [unsorted] ===> pushed new thread with id:7, number of threads:8, unprocessed:5 373s # [unsorted] ===> pushed new thread with id:75, number of threads:9, unprocessed:6 373s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:6 373s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:5 373s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:5 373s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:5 373s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:5 373s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:5 373s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:6 373s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:7 373s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:8 373s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:9 373s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:10 373s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:11 373s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:12 373s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:13 373s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:14 373s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:15 373s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:16 373s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:17 373s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:18 373s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:19 373s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:20 373s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:21 373s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:22 373s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:23 373s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:24 373s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:25 373s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:26 373s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:27 373s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:28 373s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:29 373s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:30 373s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:31 373s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:32 373s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:33 373s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:34 373s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:35 373s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:36 373s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:37 373s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:38 373s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:39 373s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:40 373s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:41 373s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:42 373s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:43 373s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:44 373s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:45 373s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:46 373s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:47 373s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:48 373s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:49 373s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:50 373s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:51 373s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:52 373s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:53 373s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:54 373s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:55 373s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:56 373s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:57 373s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:58 373s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:59 373s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:60 373s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:61 373s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:62 373s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:63 373s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:64 373s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:65 373s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:66 373s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:67 373s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:68 373s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:69 373s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:70 373s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:71 373s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:72 373s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:73 373s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:74 373s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:75 373s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:76 373s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:77 373s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:78 373s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:79 373s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:80 373s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:81 373s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:82 373s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:83 373s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:84 373s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:85 373s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:86 373s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:87 373s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:88 373s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:89 373s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:90 373s ok 4 /threadpool/no-sort 373s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:1 373s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:2 373s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:3 373s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:4 373s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:5 373s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:6 373s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:7 373s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:8 373s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:9 373s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:10 373s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:11 373s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:12 373s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:13 373s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:14 373s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:15 373s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:16 373s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:17 373s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:18 373s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:19 373s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:20 373s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:21 373s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:22 373s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:23 373s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:24 373s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:25 373s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:26 373s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:27 373s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:28 373s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:29 373s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:30 373s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:31 373s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:32 373s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:33 373s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:34 373s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:35 373s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:36 373s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:37 373s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:38 373s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:39 373s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:40 373s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:41 373s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:42 373s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:43 373s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:44 373s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:45 373s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:46 373s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:47 373s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:48 373s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:49 373s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:50 373s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:51 373s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:52 373s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:53 373s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:54 373s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:55 373s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:56 373s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:57 373s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:58 373s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:59 373s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:60 373s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:61 373s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:62 373s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:63 373s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:64 373s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:65 373s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:66 373s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:67 373s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:68 373s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:69 373s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:70 373s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:71 373s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:72 373s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:73 373s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:74 373s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:75 373s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:76 373s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:77 373s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:78 373s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:79 373s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:80 373s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:81 373s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:82 373s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:83 373s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:84 373s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:85 373s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:86 373s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:87 373s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:88 373s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:89 373s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:90 373s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:91 373s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:92 373s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:93 373s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:94 373s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:95 373s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:96 373s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:97 373s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:98 373s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:99 373s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:100 373s # Starting thread pool processing 373s ok 5 /threadpool/sort 373s ok 6 /threadpool/stop-unused-multiple 373s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 373s # Pool idle thread count: 0, unprocessed jobs: 47 374s # Pool idle thread count: 0, unprocessed jobs: 0 374s # Pool idle thread count: 0, unprocessed jobs: 0 374s # Pool idle thread count: 10, unprocessed jobs: 0 374s # Pool idle thread count: 10, unprocessed jobs: 0 375s # Executing: glib/thread-pool-slow.test 375s # Pool idle thread count: 10, unprocessed jobs: 0 375s # Pool idle thread count: 10, unprocessed jobs: 0 375s # Pool idle thread count: 10, unprocessed jobs: 0 375s # Pool idle thread count: 10, unprocessed jobs: 0 376s # Pool idle thread count: 10, unprocessed jobs: 0 376s # Pool idle thread count: 10, unprocessed jobs: 0 376s # Pool idle thread count: 10, unprocessed jobs: 0 376s # Pool idle thread count: 10, unprocessed jobs: 0 377s # Pool idle thread count: 10, unprocessed jobs: 0 377s # Pool idle thread count: 10, unprocessed jobs: 0 377s # Pool idle thread count: 10, unprocessed jobs: 0 377s # Pool idle thread count: 10, unprocessed jobs: 0 378s # Pool idle thread count: 10, unprocessed jobs: 0 378s # Pool idle thread count: 10, unprocessed jobs: 0 378s # Pool idle thread count: 10, unprocessed jobs: 0 378s # Pool idle thread count: 10, unprocessed jobs: 0 379s # Pool idle thread count: 10, unprocessed jobs: 0 379s # Pool idle thread count: 10, unprocessed jobs: 0 379s # Pool idle thread count: 10, unprocessed jobs: 0 379s # Pool idle thread count: 10, unprocessed jobs: 0 380s # Executing: glib/thread-pool-slow.test 380s # Pool idle thread count: 10, unprocessed jobs: 0 380s # Pool idle thread count: 10, unprocessed jobs: 0 380s # Pool idle thread count: 10, unprocessed jobs: 0 380s # Pool idle thread count: 10, unprocessed jobs: 0 381s # Pool idle thread count: 10, unprocessed jobs: 0 381s # Pool idle thread count: 10, unprocessed jobs: 0 381s # Pool idle thread count: 10, unprocessed jobs: 0 381s # Pool idle thread count: 10, unprocessed jobs: 0 382s # Pool idle thread count: 10, unprocessed jobs: 0 382s # Pool idle thread count: 10, unprocessed jobs: 0 382s # Pool idle thread count: 10, unprocessed jobs: 2 382s # Pool idle thread count: 8, unprocessed jobs: 0 382s # Pool idle thread count: 8, unprocessed jobs: 0 382s # Pool idle thread count: 8, unprocessed jobs: 0 383s # Pool idle thread count: 10, unprocessed jobs: 0 383s # Pool idle thread count: 10, unprocessed jobs: 0 383s # Pool idle thread count: 10, unprocessed jobs: 0 383s # Pool idle thread count: 10, unprocessed jobs: 0 384s # Pool idle thread count: 10, unprocessed jobs: 0 384s # Pool idle thread count: 10, unprocessed jobs: 0 384s # Pool idle thread count: 2, unprocessed jobs: 0 384s # Pool idle thread count: 2, unprocessed jobs: 0 385s # Executing: glib/thread-pool-slow.test 385s # Pool idle thread count: 2, unprocessed jobs: 0 385s # Pool idle thread count: 2, unprocessed jobs: 0 385s # Pool idle thread count: 2, unprocessed jobs: 0 385s # Pool idle thread count: 2, unprocessed jobs: 0 386s # Pool idle thread count: 2, unprocessed jobs: 0 386s # Pool idle thread count: 2, unprocessed jobs: 0 386s # Pool idle thread count: 2, unprocessed jobs: 0 386s # Pool idle thread count: 2, unprocessed jobs: 0 387s # Pool idle thread count: 2, unprocessed jobs: 0 387s # Pool idle thread count: 2, unprocessed jobs: 0 387s # Pool idle thread count: 2, unprocessed jobs: 0 387s # Pool idle thread count: 2, unprocessed jobs: 0 388s # Pool idle thread count: 2, unprocessed jobs: 0 388s # Pool idle thread count: 2, unprocessed jobs: 0 388s # Pool idle thread count: 2, unprocessed jobs: 0 388s # Pool idle thread count: 2, unprocessed jobs: 0 389s # Pool idle thread count: 2, unprocessed jobs: 0 389s # Pool idle thread count: 2, unprocessed jobs: 0 389s # Pool idle thread count: 2, unprocessed jobs: 0 389s # Pool idle thread count: 2, unprocessed jobs: 0 390s # Executing: glib/thread-pool-slow.test 390s # Pool idle thread count: 2, unprocessed jobs: 0 390s # Pool idle thread count: 2, unprocessed jobs: 0 390s # Pool idle thread count: 2, unprocessed jobs: 0 390s # Pool idle thread count: 2, unprocessed jobs: 0 391s # Pool idle thread count: 2, unprocessed jobs: 0 391s # Pool idle thread count: 2, unprocessed jobs: 0 391s # Pool idle thread count: 2, unprocessed jobs: 0 391s # Pool idle thread count: 2, unprocessed jobs: 0 392s # Pool idle thread count: 2, unprocessed jobs: 0 392s # Pool idle thread count: 2, unprocessed jobs: 0 392s # Pool idle thread count: 2, unprocessed jobs: 0 392s # Pool idle thread count: 2, unprocessed jobs: 0 393s ok 7 /threadpool/idle-time 393s # slow test /threadpool/idle-time executed in 19.53 secs 393s # End of threadpool tests 393s ok - glib/thread-pool-slow.test 393s # Running test: glib/deftype.test 393s ok - glib/deftype.test 393s # Running test: glib/tls-certificate.test 393s TAP version 14 393s # random seed: R02S8cd51f502302327fcdc7c1d0e581707e 393s 1..19 393s # Start of tls-certificate tests 393s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 393s ok 1 /tls-certificate/pem-parser 393s ok 2 /tls-certificate/pem-parser-handles-chain 393s ok 3 /tls-certificate/from_file 393s ok 4 /tls-certificate/from_files 393s ok 5 /tls-certificate/from_files_crlf 393s ok 6 /tls-certificate/from_files_pkcs8 393s ok 7 /tls-certificate/from_files_pkcs8enc 393s ok 8 /tls-certificate/list_from_file 393s ok 9 /tls-certificate/pkcs11-uri 393s ok 10 /tls-certificate/pkcs11-uri-unsupported 393s ok 11 /tls-certificate/from_pkcs12 393s ok 12 /tls-certificate/from_pkcs12_file 393s ok 13 /tls-certificate/not-valid-before 393s ok 14 /tls-certificate/not-valid-after 393s ok 15 /tls-certificate/subject-name 393s ok 16 /tls-certificate/issuer-name 393s ok 17 /tls-certificate/dns-names 393s ok 18 /tls-certificate/ip-addresses 393s ok 19 /tls-certificate/pem-parser-no-sentinel 393s # End of tls-certificate tests 393s ok - glib/tls-certificate.test 393s # Running test: glib/repository-search-paths.test 393s TAP version 14 393s # random seed: R02Sae926fc6a60af92a47acb34f2e43e79d 393s 1..4 393s # Start of repository tests 393s # Start of search-paths tests 393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/default/.dirs/home 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/default/.dirs/cache 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_E4L8W2/repository/search-paths/default/.dirs/system-config2 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/default/.dirs/config 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_E4L8W2/repository/search-paths/default/.dirs/system-data2 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/default/.dirs/data 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/default/.dirs/state 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/default/.dirs/runtime 393s ok 1 /repository/search-paths/default 393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/prepend/.dirs/home 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/prepend/.dirs/cache 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_E4L8W2/repository/search-paths/prepend/.dirs/system-config2 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/prepend/.dirs/config 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_E4L8W2/repository/search-paths/prepend/.dirs/system-data2 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/prepend/.dirs/data 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/prepend/.dirs/state 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_E4L8W2/repository/search-paths/prepend/.dirs/runtime 393s ok 2 /repository/search-paths/prepend 393s # End of search-paths tests 393s # Start of library-paths tests 393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/default/.dirs/home 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/default/.dirs/cache 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_E4L8W2/repository/library-paths/default/.dirs/system-config2 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/default/.dirs/config 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_E4L8W2/repository/library-paths/default/.dirs/system-data2 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/default/.dirs/data 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/default/.dirs/state 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/default/.dirs/runtime 393s ok 3 /repository/library-paths/default 393s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/prepend/.dirs/home 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/prepend/.dirs/cache 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_E4L8W2/repository/library-paths/prepend/.dirs/system-config2 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/prepend/.dirs/config 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_E4L8W2/repository/library-paths/prepend/.dirs/system-data2 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/prepend/.dirs/data 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/prepend/.dirs/state 393s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_E4L8W2/repository/library-paths/prepend/.dirs/runtime 393s ok 4 /repository/library-paths/prepend 393s # End of library-paths tests 393s # End of repository tests 393s ok - glib/repository-search-paths.test 393s # Running test: glib/rand.test 393s TAP version 14 393s # random seed: R02Sb0aa54c8e5974dc228edbb79b771f4b6 393s 1..2 393s # Start of rand tests 393s ok 1 /rand/test-rand 393s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 393s ok 2 /rand/double-range 393s # End of rand tests 393s ok - glib/rand.test 393s # Running test: glib/data-output-stream.test 393s TAP version 14 393s # random seed: R02Sf338ff24826091999aebc372e49e32e4 393s 1..7 393s # Start of data-output-stream tests 393s ok 1 /data-output-stream/basic 393s ok 2 /data-output-stream/write-lines-LF 393s ok 3 /data-output-stream/write-lines-CR 393s ok 4 /data-output-stream/write-lines-CR-LF 393s ok 5 /data-output-stream/write-int 393s ok 6 /data-output-stream/seek 393s ok 7 /data-output-stream/truncate 393s # End of data-output-stream tests 393s ok - glib/data-output-stream.test 393s # Running test: glib/network-address.test 393s TAP version 14 393s # random seed: R02S21cdd742608ffa0f4bd3228d7c5eb35a 393s 1..72 393s # Start of network-address tests 393s ok 1 /network-address/basic 393s ok 2 /network-address/scope-id 393s ok 3 /network-address/uri-scope-id 393s ok 4 /network-address/to-string 393s # Start of parse-host tests 393s ok 5 /network-address/parse-host/0 393s ok 6 /network-address/parse-host/1 393s ok 7 /network-address/parse-host/2 393s ok 8 /network-address/parse-host/3 393s ok 9 /network-address/parse-host/4 393s ok 10 /network-address/parse-host/5 393s ok 11 /network-address/parse-host/6 393s ok 12 /network-address/parse-host/7 393s ok 13 /network-address/parse-host/8 393s ok 14 /network-address/parse-host/9 393s ok 15 /network-address/parse-host/10 393s ok 16 /network-address/parse-host/11 393s ok 17 /network-address/parse-host/12 393s ok 18 /network-address/parse-host/13 393s # End of parse-host tests 393s # Start of parse-uri tests 393s ok 19 /network-address/parse-uri/0 393s ok 20 /network-address/parse-uri/1 393s ok 21 /network-address/parse-uri/2 393s ok 22 /network-address/parse-uri/3 393s ok 23 /network-address/parse-uri/4 393s ok 24 /network-address/parse-uri/5 393s ok 25 /network-address/parse-uri/6 393s ok 26 /network-address/parse-uri/7 393s ok 27 /network-address/parse-uri/8 393s ok 28 /network-address/parse-uri/9 393s # End of parse-uri tests 393s # Start of resolve-address tests 393s # Input: 192.168.1.2 393s ok 29 /network-address/resolve-address/0 393s # Input: fe80::42 393s ok 30 /network-address/resolve-address/1 393s # Input: 192.168.1.2:80 393s ok 31 /network-address/resolve-address/2 393s # Input: [fe80::42] 393s ok 32 /network-address/resolve-address/3 393s # Input: [fe80::42]:80 393s ok 33 /network-address/resolve-address/4 393s # Input: 192.168.258 393s ok 34 /network-address/resolve-address/5 393s # Input: 192.11010306 393s ok 35 /network-address/resolve-address/6 393s # Input: 3232235778 393s ok 36 /network-address/resolve-address/7 393s # Input: 0300.0250.0001.0001 393s ok 37 /network-address/resolve-address/8 393s # Input: 0xC0.0xA8.0x01.0x02 393s ok 38 /network-address/resolve-address/9 393s # Input: 0xc0.0xa8.0x01.0x02 393s ok 39 /network-address/resolve-address/10 393s # Input: 0xc0a80102 393s ok 40 /network-address/resolve-address/11 393s # End of resolve-address tests 393s # Start of loopback tests 393s ok 41 /network-address/loopback/basic 393s ok 42 /network-address/loopback/sync 393s ok 43 /network-address/loopback/async 393s # End of loopback tests 393s # Start of localhost tests 393s ok 44 /network-address/localhost/async 393s ok 45 /network-address/localhost/sync 393s # End of localhost tests 393s # Start of happy-eyeballs tests 393s ok 46 /network-address/happy-eyeballs/basic 393s ok 47 /network-address/happy-eyeballs/parallel 393s ok 48 /network-address/happy-eyeballs/slow-ipv4 393s ok 49 /network-address/happy-eyeballs/slow-ipv6 393s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 394s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 394s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 394s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 394s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 394s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 394s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 394s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 394s # /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. 394s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 394s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 394s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 394s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 394s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 394s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 394s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 394s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 394s ok 57 /network-address/happy-eyeballs/both-error 394s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 394s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 394s ok 58 /network-address/happy-eyeballs/both-error-delays-1 394s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 394s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 394s ok 59 /network-address/happy-eyeballs/both-error-delays-2 394s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 394s ok 60 /network-address/happy-eyeballs/both-error-delays-3 394s # End of happy-eyeballs tests 394s # End of network-address tests 394s # Start of gresolver tests 394s # Start of resolve-address tests 394s # Input: 192.168.1.2 394s ok 61 /gresolver/resolve-address/0 394s # Input: fe80::42 394s ok 62 /gresolver/resolve-address/1 394s # Input: 192.168.1.2:80 394s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 394s ok 63 /gresolver/resolve-address/2 394s # Input: [fe80::42] 394s # Error: Error resolving ?[fe80::42]?: Name or service not known 394s ok 64 /gresolver/resolve-address/3 394s # Input: [fe80::42]:80 394s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 394s ok 65 /gresolver/resolve-address/4 394s # Input: 192.168.258 394s # Error: Error resolving ?192.168.258?: Name or service not known 394s ok 66 /gresolver/resolve-address/5 394s # Input: 192.11010306 394s # Error: Error resolving ?192.11010306?: Name or service not known 394s ok 67 /gresolver/resolve-address/6 394s # Input: 3232235778 394s # Error: Error resolving ?3232235778?: Name or service not known 394s ok 68 /gresolver/resolve-address/7 394s # Input: 0300.0250.0001.0001 394s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 394s ok 69 /gresolver/resolve-address/8 394s # Input: 0xC0.0xA8.0x01.0x02 394s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 394s ok 70 /gresolver/resolve-address/9 394s # Input: 0xc0.0xa8.0x01.0x02 394s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 394s ok 71 /gresolver/resolve-address/10 394s # Input: 0xc0a80102 394s # Error: Error resolving ?0xc0a80102?: Name or service not known 394s ok 72 /gresolver/resolve-address/11 394s # End of resolve-address tests 394s # End of gresolver tests 394s ok - glib/network-address.test 394s # Running test: glib/simple-proxy.test 394s TAP version 14 394s # random seed: R02Sdb496e3885f5d76b2443036723cfce4b 394s 1..3 394s # Start of static-proxy tests 394s ok 1 /static-proxy/uri 394s ok 2 /static-proxy/socks 394s ok 3 /static-proxy/ignore 394s # End of static-proxy tests 394s ok - glib/simple-proxy.test 394s # Running test: glib/unicode.test 394s TAP version 14 394s # random seed: R02Sd16f484fefc5a57e70c9fad0dc4bdd52 394s 1..39 394s # Start of unicode tests 394s ok 1 /unicode/alnum 394s ok 2 /unicode/alpha 394s ok 3 /unicode/break-type 394s ok 4 /unicode/canonical-decomposition 394s ok 5 /unicode/casefold 394s # Cannot set locale to lt_LT, skipping 394s # Cannot set locale to lt_LT, skipping 394s # Cannot set locale to lt_LT, skipping 394s # Cannot set locale to lt_LT, skipping 394s # Cannot set locale to lt_LT, skipping 394s # Cannot set locale to lt_LT, skipping 394s # Cannot set locale to lt_LT, skipping 394s # Cannot set locale to lt_LT, skipping 394s # Cannot set locale to lt_LT, skipping 394s # Cannot set locale to lt_LT, skipping 394s # Cannot set locale to lt_LT, skipping 394s ok 6 /unicode/casemap_and_casefold 394s ok 7 /unicode/cases 394s ok 8 /unicode/character-type 394s ok 9 /unicode/cntrl 394s ok 10 /unicode/combining-class 394s ok 11 /unicode/compose 394s ok 12 /unicode/decompose 394s ok 13 /unicode/decompose-tail 394s ok 14 /unicode/defined 394s ok 15 /unicode/digit 394s ok 16 /unicode/digit-value 394s ok 17 /unicode/fully-decompose-canonical 394s ok 18 /unicode/fully-decompose-len 394s ok 19 /unicode/normalization 394s ok 20 /unicode/graph 394s # Testing script Zyyy (code 1517910393) 394s # Testing script Zinh (code 1516858984) 394s # Testing script Zmth (code 1517122664) 394s # Testing script Arab (code 1098015074) 394s # Testing script Armn (code 1098018158) 394s # Testing script Beng (code 1113943655) 394s # Testing script Bopo (code 1114599535) 394s # Testing script Cher (code 1130915186) 394s # Testing script Copt (code 1131376756) 394s # Testing script Cyrl (code 1132032620) 394s # Testing script Dsrt (code 1148416628) 394s # Testing script Deva (code 1147500129) 394s # Testing script Ethi (code 1165256809) 394s # Testing script Geor (code 1197830002) 394s # Testing script Goth (code 1198486632) 394s # Testing script Grek (code 1198679403) 394s # Testing script Gujr (code 1198877298) 394s # Testing script Guru (code 1198879349) 394s # Testing script Hani (code 1214344809) 394s # Testing script Hang (code 1214344807) 394s # Testing script Hebr (code 1214603890) 394s # Testing script Hira (code 1214870113) 394s # Testing script Knda (code 1265525857) 394s # Testing script Kana (code 1264676449) 394s # Testing script Khmr (code 1265134962) 394s # Testing script Laoo (code 1281453935) 394s # Testing script Latn (code 1281455214) 394s # Testing script Mlym (code 1298954605) 394s # Testing script Mong (code 1299148391) 394s # Testing script Mymr (code 1299803506) 394s # Testing script Ogam (code 1332175213) 394s # Testing script Ital (code 1232363884) 394s # Testing script Orya (code 1332902241) 394s # Testing script Runr (code 1383427698) 394s # Testing script Sinh (code 1399418472) 394s # Testing script Syrc (code 1400468067) 394s # Testing script Taml (code 1415671148) 394s # Testing script Telu (code 1415933045) 394s # Testing script Thaa (code 1416126817) 394s # Testing script Thai (code 1416126825) 394s # Testing script Tibt (code 1416192628) 394s # Testing script Cans (code 1130458739) 394s # Testing script Yiii (code 1500080489) 394s # Testing script Tglg (code 1416064103) 394s # Testing script Hano (code 1214344815) 394s # Testing script Buhd (code 1114990692) 394s # Testing script Tagb (code 1415669602) 394s # Testing script Brai (code 1114792297) 394s # Testing script Cprt (code 1131442804) 394s # Testing script Limb (code 1281977698) 394s # Testing script Osma (code 1332964705) 394s # Testing script Shaw (code 1399349623) 394s # Testing script Linb (code 1281977954) 394s # Testing script Tale (code 1415670885) 394s # Testing script Ugar (code 1432838514) 394s # Testing script Talu (code 1415670901) 394s # Testing script Bugi (code 1114990441) 394s # Testing script Glag (code 1198285159) 394s # Testing script Tfng (code 1415999079) 394s # Testing script Sylo (code 1400466543) 394s # Testing script Xpeo (code 1483761007) 394s # Testing script Khar (code 1265131890) 394s # Testing script Zzzz (code 1517976186) 394s # Testing script Bali (code 1113681001) 394s # Testing script Xsux (code 1483961720) 394s # Testing script Phnx (code 1349021304) 394s # Testing script Phag (code 1349017959) 394s # Testing script Nkoo (code 1315663727) 394s # Testing script Kali (code 1264675945) 394s # Testing script Lepc (code 1281716323) 394s # Testing script Rjng (code 1382706791) 394s # Testing script Sund (code 1400204900) 394s # Testing script Saur (code 1398895986) 394s # Testing script Cham (code 1130914157) 394s # Testing script Olck (code 1332503403) 394s # Testing script Vaii (code 1449224553) 394s # Testing script Cari (code 1130459753) 394s # Testing script Lyci (code 1283023721) 394s # Testing script Lydi (code 1283023977) 394s # Testing script Avst (code 1098281844) 394s # Testing script Bamu (code 1113681269) 394s # Testing script Egyp (code 1164409200) 394s # Testing script Armi (code 1098018153) 394s # Testing script Phli (code 1349020777) 394s # Testing script Prti (code 1349678185) 394s # Testing script Java (code 1247901281) 394s # Testing script Kthi (code 1265920105) 394s # Testing script Lisu (code 1281979253) 394s # Testing script Mtei (code 1299473769) 394s # Testing script Sarb (code 1398895202) 394s # Testing script Orkh (code 1332898664) 394s # Testing script Samr (code 1398893938) 394s # Testing script Lana (code 1281453665) 394s # Testing script Tavt (code 1415673460) 394s # Testing script Batk (code 1113683051) 394s # Testing script Brah (code 1114792296) 394s # Testing script Mand (code 1298230884) 394s # Testing script Cakm (code 1130457965) 394s # Testing script Merc (code 1298494051) 394s # Testing script Mero (code 1298494063) 394s # Testing script Plrd (code 1349284452) 394s # Testing script Shrd (code 1399353956) 394s # Testing script Sora (code 1399812705) 394s # Testing script Takr (code 1415670642) 394s # Testing script Bass (code 1113682803) 394s # Testing script Aghb (code 1097295970) 394s # Testing script Dupl (code 1148547180) 394s # Testing script Elba (code 1164730977) 394s # Testing script Gran (code 1198678382) 394s # Testing script Khoj (code 1265135466) 394s # Testing script Sind (code 1399418468) 394s # Testing script Lina (code 1281977953) 394s # Testing script Mahj (code 1298229354) 394s # Testing script Mani (code 1298230889) 394s # Testing script Mend (code 1298493028) 394s # Testing script Modi (code 1299145833) 394s # Testing script Mroo (code 1299345263) 394s # Testing script Nbat (code 1315070324) 394s # Testing script Narb (code 1315009122) 394s # Testing script Perm (code 1348825709) 394s # Testing script Hmng (code 1215131239) 394s # Testing script Palm (code 1348562029) 394s # Testing script Pauc (code 1348564323) 394s # Testing script Phlp (code 1349020784) 394s # Testing script Sidd (code 1399415908) 394s # Testing script Tirh (code 1416196712) 394s # Testing script Wara (code 1466004065) 394s # Testing script Ahom (code 1097363309) 394s # Testing script Hluw (code 1215067511) 394s # Testing script Hatr (code 1214346354) 394s # Testing script Mult (code 1299541108) 394s # Testing script Hung (code 1215655527) 394s # Testing script Sgnw (code 1399287415) 394s # Testing script Adlm (code 1097100397) 394s # Testing script Bhks (code 1114139507) 394s # Testing script Marc (code 1298231907) 394s # Testing script Newa (code 1315272545) 394s # Testing script Osge (code 1332963173) 394s # Testing script Tang (code 1415671399) 394s # Testing script Gonm (code 1198485101) 394s # Testing script Nshu (code 1316186229) 394s # Testing script Soyo (code 1399814511) 394s # Testing script Zanb (code 1516334690) 394s # Testing script Dogr (code 1148151666) 394s # Testing script Gong (code 1198485095) 394s # Testing script Rohg (code 1383032935) 394s # Testing script Maka (code 1298230113) 394s # Testing script Medf (code 1298490470) 394s # Testing script Sogo (code 1399809903) 394s # Testing script Sogd (code 1399809892) 394s # Testing script Elym (code 1164736877) 394s # Testing script Nand (code 1315008100) 394s # Testing script Hmnp (code 1215131248) 394s # Testing script Wcho (code 1466132591) 394s # Testing script Chrs (code 1130918515) 394s # Testing script Diak (code 1147756907) 394s # Testing script Kits (code 1265202291) 394s # Testing script Yezi (code 1499822697) 394s # Testing script Cpmn (code 1131441518) 394s # Testing script Ougr (code 1333094258) 394s # Testing script Tnsa (code 1416524641) 394s # Testing script Toto (code 1416590447) 394s # Testing script Vith (code 1449751656) 394s # Testing script Kawi (code 1264678761) 394s # Testing script Nagm (code 1315006317) 394s ok 21 /unicode/iso15924 394s ok 22 /unicode/lower 394s ok 23 /unicode/mark 394s ok 24 /unicode/mirror 394s ok 25 /unicode/print 394s ok 26 /unicode/punctuation 394s ok 27 /unicode/script 394s ok 28 /unicode/space 394s ok 29 /unicode/strdown 394s ok 30 /unicode/strup 394s ok 31 /unicode/turkish-strupdown 394s ok 32 /unicode/title 394s ok 33 /unicode/upper 394s ok 34 /unicode/validate 394s ok 35 /unicode/wide 394s ok 36 /unicode/xdigit 394s ok 37 /unicode/xdigit-value 394s ok 38 /unicode/zero-width 394s ok 39 /unicode/normalize 394s # End of unicode tests 394s ok - glib/unicode.test 394s # Running test: glib/completion.test 394s TAP version 14 394s # random seed: R02Scd6acb5b855b594eff900923ec1d1714 394s 1..1 394s # Start of completion tests 394s ok 1 /completion/test-completion 394s # End of completion tests 394s ok - glib/completion.test 394s # Running test: glib/markup-subparser.test 394s TAP version 14 394s # random seed: R02Sd9407254643c16a9e016c6b0767ec598 394s 1..14 394s # Start of glib tests 394s # Start of markup tests 394s # Start of subparser tests 394s # Start of success tests 394s ok 1 /glib/markup/subparser/success/0 394s ok 2 /glib/markup/subparser/success/1 394s ok 3 /glib/markup/subparser/success/2 394s ok 4 /glib/markup/subparser/success/3 394s ok 5 /glib/markup/subparser/success/4 394s ok 6 /glib/markup/subparser/success/5 394s ok 7 /glib/markup/subparser/success/6 394s # End of success tests 394s # Start of failure tests 394s ok 8 /glib/markup/subparser/failure/0 394s ok 9 /glib/markup/subparser/failure/1 394s ok 10 /glib/markup/subparser/failure/2 394s ok 11 /glib/markup/subparser/failure/3 394s ok 12 /glib/markup/subparser/failure/4 394s ok 13 /glib/markup/subparser/failure/5 394s ok 14 /glib/markup/subparser/failure/6 394s # End of failure tests 394s # End of subparser tests 394s # End of markup tests 394s # End of glib tests 394s ok - glib/markup-subparser.test 394s # Running test: glib/signals.test 394s TAP version 14 394s # random seed: R02S472f58e82ba9ea82a82c07b2f098615a 394s 1..31 394s # Start of gobject tests 394s # Start of signals tests 394s ok 1 /gobject/signals/all-types 394s ok 2 /gobject/signals/variant 394s ok 3 /gobject/signals/destroy-target-object 394s ok 4 /gobject/signals/generic-marshaller-1 394s ok 5 /gobject/signals/generic-marshaller-2 394s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 394s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 394s ok 8 /gobject/signals/generic-marshaller-int-return 394s ok 9 /gobject/signals/generic-marshaller-uint-return 394s ok 10 /gobject/signals/generic-marshaller-interface-return 394s ok 11 /gobject/signals/custom-marshaller 394s ok 12 /gobject/signals/connect 394s ok 13 /gobject/signals/emission-hook 394s ok 14 /gobject/signals/emitv 394s ok 15 /gobject/signals/accumulator 394s # Signal: accumulator-class-first 394s # Signal: accumulator-class-last 394s # Signal: accumulator-class-cleanup 394s # Signal: accumulator-class-first-last 394s # Signal: accumulator-class-first-last-cleanup 394s # Signal: accumulator-class-last-cleanup 394s ok 16 /gobject/signals/accumulator-class 394s ok 17 /gobject/signals/introspection 394s ok 18 /gobject/signals/block-handler 394s ok 19 /gobject/signals/stop-emission 394s ok 20 /gobject/signals/invocation-hint 394s ok 21 /gobject/signals/test-disconnection-wrong-object 394s ok 22 /gobject/signals/clear-signal-handler 394s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 394s ok 23 /gobject/signals/lookup 394s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 394s ok 24 /gobject/signals/parse-name 394s ok 25 /gobject/signals/is-valid-name 394s ok 26 /gobject/signals/weak-ref-disconnect 394s # Start of lookup tests 394s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 394s ok 27 /gobject/signals/lookup/invalid 394s # End of lookup tests 394s # Start of parse-name tests 394s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 394s # Parser input: 394s # Parser input: 7zip 394s # Parser input: invalid:signal 394s # Parser input: simple-detailed:: 394s # Parser input: simple-detailed: 394s # Parser input: : 394s # Parser input: :: 394s # Parser input: :valid-detail 394s # Parser input: ::valid-detail 394s ok 28 /gobject/signals/parse-name/invalid 394s # End of parse-name tests 394s # Start of invalid-name tests 394s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 394s ok 29 /gobject/signals/invalid-name/colon 394s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 394s ok 30 /gobject/signals/invalid-name/first-char 394s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 394s ok 31 /gobject/signals/invalid-name/empty 394s # End of invalid-name tests 394s # End of signals tests 394s # End of gobject tests 394s ok - glib/signals.test 394s # Running test: glib/power-profile-monitor-dbus.test 395s # Executing: glib/power-profile-monitor-dbus.test 395s TAP version 13 395s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 395s 1..1 395s ok - glib/power-profile-monitor-dbus.test 395s # Running test: glib/queue.test 395s TAP version 14 395s # random seed: R02S13810ab1193d6d5192e5e74533184b3b 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:892599882 395s # End of random tests 395s # End of queue tests 395s ok - glib/queue.test 395s # Running test: glib/application-command-line.test 395s TAP version 14 395s # random seed: R02S9aca586c6189dc5e747fd1bfd0dc2873 395s 1..1 395s # Start of application-command-line tests 395s ok 1 /application-command-line/basic-properties 395s # End of application-command-line tests 395s ok - glib/application-command-line.test 395s # Running test: glib/gdbus-export.test 395s TAP version 14 395s # random seed: R02Se8e8bb4d5de42ac18c089df21aa40fbd 395s 1..6 395s # Start of gdbus tests 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_8BW2W2/gdbus/object-registration/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_8BW2W2/gdbus/object-registration/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration/.dirs/runtime 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s ok 1 /gdbus/object-registration 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration-with-closures/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration-with-closures/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_8BW2W2/gdbus/object-registration-with-closures/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration-with-closures/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_8BW2W2/gdbus/object-registration-with-closures/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration-with-closures/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration-with-closures/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8BW2W2/gdbus/object-registration-with-closures/.dirs/runtime 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s ok 2 /gdbus/object-registration-with-closures 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/registered-interfaces/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/registered-interfaces/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_8BW2W2/gdbus/registered-interfaces/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/registered-interfaces/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_8BW2W2/gdbus/registered-interfaces/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/registered-interfaces/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/registered-interfaces/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8BW2W2/gdbus/registered-interfaces/.dirs/runtime 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s ok 3 /gdbus/registered-interfaces 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/async-properties/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/async-properties/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_8BW2W2/gdbus/async-properties/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/async-properties/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_8BW2W2/gdbus/async-properties/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/async-properties/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/async-properties/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8BW2W2/gdbus/async-properties/.dirs/runtime 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s ok 4 /gdbus/async-properties 395s # Start of threaded-unregistration tests 395s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/object/.dirs/home 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/object/.dirs/cache 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/object/.dirs/system-config2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/object/.dirs/config 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/object/.dirs/system-data2 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/object/.dirs/data 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/object/.dirs/state 395s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/object/.dirs/runtime 395s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 395s # /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 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 395s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (34 iterations with unregistration first, 966 with call first); skipping test 396s # slow test /gdbus/threaded-unregistration/object executed in 1.39 secs 396s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/subtree/.dirs/home 396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/subtree/.dirs/cache 396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/subtree/.dirs/config 396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/subtree/.dirs/data 396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/subtree/.dirs/state 396s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_8BW2W2/gdbus/threaded-unregistration/subtree/.dirs/runtime 396s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 396s # /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 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 396s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 397s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (76 iterations with unregistration first, 924 with call first); skipping test 398s # slow test /gdbus/threaded-unregistration/subtree executed in 1.63 secs 398s # End of threaded-unregistration tests 398s # End of gdbus tests 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s ok - glib/gdbus-export.test 398s # Running test: glib/cxx.test 398s TAP version 14 398s # random seed: R02S9e92aae16a6c932d7a744770e4f2b802 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.test 398s # Running test: glib/collate.test 398s TAP version 14 398s # random seed: R02S221d5db4251bbd7c4785567e279840ec 398s 1..9 398s # Start of unicode tests 398s # Start of collate tests 398s ok 1 /unicode/collate/0 398s ok 2 /unicode/collate/1 398s ok 3 /unicode/collate/2 398s # End of collate tests 398s # Start of collate-key tests 398s ok 4 /unicode/collate-key/0 398s ok 5 /unicode/collate-key/1 398s ok 6 /unicode/collate-key/2 398s # End of collate-key tests 398s # Start of collate-filename tests 398s ok 7 /unicode/collate-filename/0 398s ok 8 /unicode/collate-filename/1 398s ok 9 /unicode/collate-filename/2 398s # End of collate-filename tests 398s # End of unicode tests 398s ok - glib/collate.test 398s # Running test: glib/override.test 398s TAP version 14 398s # random seed: R02Saddf90bd5a9399bf47f0d09b91b9b559 398s 1..1 398s # Start of gobject tests 398s # *** emitting foo on a TestA instance 398s # Expecting: TestA::foo,TestI::foo 398s # Got: TestA::foo,TestI::foo 398s # *** emitting bar on a TestA instance 398s # Expecting: TestA::bar 398s # Got: TestA::bar 398s # *** emitting baz on a TestA instance 398s # Expecting: TestA::baz 398s # Got: TestA::baz 398s # *** emitting foo on a TestB instance 398s # Expecting: TestB::foo,TestA::foo,TestI::foo 398s # Got: TestB::foo,TestA::foo,TestI::foo 398s # *** emitting bar on a TestB instance 398s # Expecting: TestB::bar,TestA::bar 398s # Got: TestB::bar,TestA::bar 398s # *** emitting baz on a TestB instance 398s # Expecting: TestB::baz,TestA::baz 398s # Got: TestB::baz,TestA::baz 398s # *** emitting foo on a TestC instance 398s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 398s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 398s # *** emitting bar on a TestC instance 398s # Expecting: TestC::bar,TestB::bar,TestA::bar 398s # Got: TestC::bar,TestB::bar,TestA::bar 398s # *** emitting baz on a TestC instance 398s # Expecting: TestC::baz,TestB::baz,TestA::baz 398s # Got: TestC::baz,TestB::baz,TestA::baz 398s ok 1 /gobject/override 398s # End of gobject tests 398s ok - glib/override.test 398s # Running test: glib/slice.test 398s TAP version 14 398s # random seed: R02S88d3e6d8301080145b2269e109218271 398s 1..3 398s # Start of slice tests 398s ok 1 /slice/copy 398s ok 2 /slice/chain 398s ok 3 /slice/allocate 398s # End of slice tests 398s ok - glib/slice.test 398s # Running test: glib/charset.test 398s TAP version 14 398s # random seed: R02S94e9f475e48de97de22b164df3ebe976 398s 1..2 398s # Start of charset tests 398s # Test 0 398s # Test 1 398s # Test 2 398s # Test 3 398s ok 1 /charset/language_names_with_category 398s ok 2 /charset/language_names_with_category_async 398s # End of charset tests 398s ok - glib/charset.test 398s # Running test: glib/filter-streams.test 398s TAP version 14 398s # random seed: R02S31af909b254e9794f64f449e57ad38be 398s 1..4 398s # Start of filter-stream tests 398s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 398s ok 1 /filter-stream/input 398s ok 2 /filter-stream/output 398s ok 3 /filter-stream/async-input 398s ok 4 /filter-stream/async-output 398s # End of filter-stream tests 398s ok - glib/filter-streams.test 398s # Running test: glib/portal-support-flatpak-none.test 398s TAP version 14 398s # random seed: R02Sf36de4c7dbd297a02e7b08a5bc9d7693 398s 1..1 398s # Start of portal-support tests 398s # Start of flatpak tests 398s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_FMYBX2/portal-support/flatpak/none/.dirs/home 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_FMYBX2/portal-support/flatpak/none/.dirs/cache 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_FMYBX2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_FMYBX2/portal-support/flatpak/none/.dirs/system-config2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_FMYBX2/portal-support/flatpak/none/.dirs/config 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_FMYBX2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_FMYBX2/portal-support/flatpak/none/.dirs/system-data2 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_FMYBX2/portal-support/flatpak/none/.dirs/data 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_FMYBX2/portal-support/flatpak/none/.dirs/state 398s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_FMYBX2/portal-support/flatpak/none/.dirs/runtime 398s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_FMYBX2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 398s ok 1 /portal-support/flatpak/none 398s # End of flatpak tests 398s # End of portal-support tests 398s ok - glib/portal-support-flatpak-none.test 398s # Running test: glib/cxx-98.test 398s TAP version 14 398s # random seed: R02Sbd41a8daa010b4e549e3180c5714a298 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-98.test 398s # Running test: glib/gapplication.test 398s TAP version 14 398s # random seed: R02Sd4869631dec31d77afde1793f09a3248 398s 1..24 398s # Start of gapplication tests 398s ok 1 /gapplication/no-dbus 398s ok 2 /gapplication/no-appid 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s ok 3 /gapplication/properties 398s ok 4 /gapplication/app-id 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s ok 5 /gapplication/quit 398s ok 6 /gapplication/registered 398s ok 7 /gapplication/local-actions 398s ok 8 /gapplication/local-command-line 398s ok 9 /gapplication/resource-path 398s ok 10 /gapplication/test-help 398s ok 11 /gapplication/command-line-done 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s ok 12 /gapplication/test-busy 398s ok 13 /gapplication/test-handle-local-options1 398s ok 14 /gapplication/test-handle-local-options2 398s ok 15 /gapplication/test-handle-local-options3 398s ok 16 /gapplication/api 398s ok 17 /gapplication/version 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # launching subprocess 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s ok 18 /gapplication/replace 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 398s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 398s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 398s # launching subprocess 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s ok 19 /gapplication/no-replace 399s # slow test /gapplication/no-replace executed in 0.51 secs 399s # Start of dbus tests 399s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 399s # Message 0 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 1 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 2 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s ok 20 /gapplication/dbus/activate 399s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 399s # Message 0 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 399s # Message 1 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 2 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 3 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s ok 21 /gapplication/dbus/open 399s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 399s # Message 0 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 1 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 2 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s ok 22 /gapplication/dbus/command-line 399s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s ok 23 /gapplication/dbus/command-line-done 399s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 399s # Message 0 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 1 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 2 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 3 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 4 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 5 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 6 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 7 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 8 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 9 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 10 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # Message 11 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s ok 24 /gapplication/dbus/activate-action 399s # End of dbus tests 399s # End of gapplication tests 399s ok - glib/gapplication.test 399s # Running test: glib/gdbus-test-codegen-old.test 399s TAP version 14 399s # random seed: R02Sb30320ea07bd16c4f01fc6e9b5f4f334 399s 1..8 399s # Start of gdbus tests 399s # Start of codegen tests 399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/annotations/.dirs/home 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/annotations/.dirs/cache 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/annotations/.dirs/system-config2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/annotations/.dirs/config 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/annotations/.dirs/system-data2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/annotations/.dirs/data 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/annotations/.dirs/state 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/annotations/.dirs/runtime 399s ok 1 /gdbus/codegen/annotations 399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/interface_stability/.dirs/home 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/interface_stability/.dirs/cache 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/interface_stability/.dirs/system-config2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/interface_stability/.dirs/config 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/interface_stability/.dirs/system-data2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/interface_stability/.dirs/data 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/interface_stability/.dirs/state 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/interface_stability/.dirs/runtime 399s ok 2 /gdbus/codegen/interface_stability 399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/object-manager/.dirs/home 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/object-manager/.dirs/cache 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/object-manager/.dirs/system-config2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/object-manager/.dirs/config 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/object-manager/.dirs/system-data2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/object-manager/.dirs/data 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/object-manager/.dirs/state 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/object-manager/.dirs/runtime 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s ok 3 /gdbus/codegen/object-manager 399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/property-naming/.dirs/home 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/property-naming/.dirs/cache 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/property-naming/.dirs/system-config2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/property-naming/.dirs/config 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/property-naming/.dirs/system-data2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/property-naming/.dirs/data 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/property-naming/.dirs/state 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/property-naming/.dirs/runtime 399s ok 4 /gdbus/codegen/property-naming 399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/autocleanups/.dirs/home 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/autocleanups/.dirs/cache 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/autocleanups/.dirs/system-config2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/autocleanups/.dirs/config 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/autocleanups/.dirs/system-data2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/autocleanups/.dirs/data 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/autocleanups/.dirs/state 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/autocleanups/.dirs/runtime 399s ok 5 /gdbus/codegen/autocleanups 399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/deprecations/.dirs/home 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/deprecations/.dirs/cache 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/deprecations/.dirs/system-config2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/deprecations/.dirs/config 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/deprecations/.dirs/system-data2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/deprecations/.dirs/data 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/deprecations/.dirs/state 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/deprecations/.dirs/runtime 399s ok 6 /gdbus/codegen/deprecations 399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/standalone-interface-info/.dirs/home 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/standalone-interface-info/.dirs/cache 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/standalone-interface-info/.dirs/config 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/standalone-interface-info/.dirs/data 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/standalone-interface-info/.dirs/state 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/standalone-interface-info/.dirs/runtime 399s ok 7 /gdbus/codegen/standalone-interface-info 399s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/unix-fd-list/.dirs/home 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/unix-fd-list/.dirs/cache 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/unix-fd-list/.dirs/system-config2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/unix-fd-list/.dirs/config 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/unix-fd-list/.dirs/system-data2 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/unix-fd-list/.dirs/data 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/unix-fd-list/.dirs/state 399s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_3UR3W2/gdbus/codegen/unix-fd-list/.dirs/runtime 399s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 399s ok 8 /gdbus/codegen/unix-fd-list 399s # End of codegen tests 399s # End of gdbus tests 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s ok - glib/gdbus-test-codegen-old.test 399s # Running test: glib/timer.test 399s TAP version 14 399s # random seed: R02S1284da8f11887ee83860532e0df92de2 399s 1..10 399s # Start of timer tests 399s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 399s ok 2 /timer/stop 399s ok 3 /timer/continue 399s ok 4 /timer/reset 399s ok 5 /timer/is_active 399s # End of timer tests 399s # Start of timeval tests 399s ok 6 /timeval/add 399s ok 7 /timeval/from-iso8601 399s ok 8 /timeval/to-iso8601 399s # Start of to-iso8601 tests 399s ok 9 /timeval/to-iso8601/overflow 399s # End of to-iso8601 tests 399s # End of timeval tests 399s # Start of usleep tests 399s ok 10 /usleep/with-zero-wait 399s # End of usleep tests 399s ok - glib/timer.test 399s # Running test: glib/enums.test 399s TAP version 14 399s # random seed: R02Sebb215ba1017be4a0e84f82d62e61dc8 399s 1..4 399s # Start of enum tests 399s ok 1 /enum/basic 399s ok 2 /enum/define-type 399s # End of enum tests 399s # Start of flags tests 399s ok 3 /flags/basic 399s ok 4 /flags/define-type 399s # End of flags tests 399s ok - glib/enums.test 399s # Running test: glib/simple-async-result.test 399s TAP version 14 399s # random seed: R02S994d208f579bb6834c5e1ba3cb1f5feb 399s 1..2 399s # Start of gio tests 399s # Start of simple-async-result tests 399s ok 1 /gio/simple-async-result/test 399s # GLib-GIO-DEBUG: GTask 0x1f2a47d90720 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 399s ok 2 /gio/simple-async-result/valid 399s # End of simple-async-result tests 399s # End of gio tests 399s ok - glib/simple-async-result.test 399s # Running test: glib/debugcontroller.test 399s TAP version 14 399s # random seed: R02S9a8de1d8d87aa1cac466f48a12996196 399s 1..3 399s # Start of debug-controller tests 399s # Start of dbus tests 399s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # GLib-GIO-DEBUG: Debug output enabled 399s # GLib-GIO-DEBUG: Debug output disabled 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s ok 1 /debug-controller/dbus/basic 399s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 399s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 399s ok 2 /debug-controller/dbus/duplicate 399s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 399s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 399s # End of dbus tests 399s # End of debug-controller tests 399s ok - glib/debugcontroller.test 399s # Running test: glib/mappedfile.test 399s TAP version 14 399s # random seed: R02S89ec0d3f8e80a69b991e23a92ac86008 399s 1..7 399s # Start of mappedfile tests 399s ok 1 /mappedfile/basic 399s ok 2 /mappedfile/empty 399s ok 3 /mappedfile/device 399s ok 4 /mappedfile/nonexisting 399s ok 5 /mappedfile/writable 399s ok 6 /mappedfile/writable_fd 399s ok 7 /mappedfile/gbytes 399s # End of mappedfile tests 399s ok - glib/mappedfile.test 399s # Running test: glib/date.test 399s TAP version 14 399s # random seed: R02S7d83c32c3fec1941c0297bbfd7d8c059 399s 1..121 399s # Start of date tests 399s ok 1 /date/basic 399s ok 2 /date/empty 399s ok 3 /date/dmy 399s ok 4 /date/julian 399s ok 5 /date/compare 399s ok 6 /date/dates 399s ok 7 /date/strftime 399s ok 8 /date/two-digit-years 399s ok 9 /date/parse 399s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 399s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 399s ok 11 /date/month_substring 399s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 399s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 399s ok 13 /date/clamp 399s ok 14 /date/order 399s ok 15 /date/copy 399s # Vector 0: 0000-00-00, invalid 399s # Vector 1: 0001-01-01, valid 399s # Vector 2: 0000-01-01, invalid 399s # Vector 3: 2000-02-30, invalid 399s # Vector 4: 2000-02-29, valid 399s # Vector 5: 2001-02-29, invalid 399s # Vector 6: 65535-01-01, valid 399s ok 16 /date/valid-dmy 399s # Start of parse tests 399s # Test 0 399s # Test 1 399s ok 17 /date/parse/invalid 399s # End of parse tests 399s # Start of year tests 399s ok 18 /date/year/1 399s ok 19 /date/year/2 399s ok 20 /date/year/3 399s ok 21 /date/year/4 399s ok 22 /date/year/5 399s ok 23 /date/year/6 399s ok 24 /date/year/7 399s ok 25 /date/year/8 399s ok 26 /date/year/9 399s ok 27 /date/year/10 399s ok 28 /date/year/11 399s ok 29 /date/year/12 399s ok 30 /date/year/13 399s ok 31 /date/year/14 399s ok 32 /date/year/98 399s ok 33 /date/year/99 399s ok 34 /date/year/100 399s ok 35 /date/year/101 399s ok 36 /date/year/102 399s ok 37 /date/year/103 399s ok 38 /date/year/397 399s ok 39 /date/year/398 399s ok 40 /date/year/399 399s ok 41 /date/year/400 399s ok 42 /date/year/401 399s ok 43 /date/year/402 399s ok 44 /date/year/403 399s ok 45 /date/year/404 399s ok 46 /date/year/405 399s ok 47 /date/year/406 399s ok 48 /date/year/1598 399s ok 49 /date/year/1599 399s ok 50 /date/year/1600 399s ok 51 /date/year/1601 399s ok 52 /date/year/1602 399s ok 53 /date/year/1650 399s ok 54 /date/year/1651 399s ok 55 /date/year/1897 399s ok 56 /date/year/1898 399s ok 57 /date/year/1899 399s ok 58 /date/year/1900 399s ok 59 /date/year/1901 399s ok 60 /date/year/1902 399s ok 61 /date/year/1903 399s ok 62 /date/year/1961 399s ok 63 /date/year/1962 399s ok 64 /date/year/1963 399s ok 65 /date/year/1964 399s ok 66 /date/year/1965 399s ok 67 /date/year/1967 399s ok 68 /date/year/1968 399s ok 69 /date/year/1969 399s ok 70 /date/year/1970 399s ok 71 /date/year/1971 399s ok 72 /date/year/1972 399s ok 73 /date/year/1973 399s ok 74 /date/year/1974 399s ok 75 /date/year/1975 399s ok 76 /date/year/1976 399s ok 77 /date/year/1977 399s ok 78 /date/year/1978 399s ok 79 /date/year/1979 399s ok 80 /date/year/1980 399s ok 81 /date/year/1981 399s ok 82 /date/year/1982 399s ok 83 /date/year/1983 399s ok 84 /date/year/1984 399s ok 85 /date/year/1985 399s ok 86 /date/year/1986 399s ok 87 /date/year/1987 399s ok 88 /date/year/1988 399s ok 89 /date/year/1989 399s ok 90 /date/year/1990 399s ok 91 /date/year/1991 399s ok 92 /date/year/1992 399s ok 93 /date/year/1993 399s ok 94 /date/year/1994 399s ok 95 /date/year/1995 399s ok 96 /date/year/1996 399s ok 97 /date/year/1997 399s ok 98 /date/year/1998 399s ok 99 /date/year/1999 399s ok 100 /date/year/2000 399s ok 101 /date/year/2001 399s ok 102 /date/year/2002 399s ok 103 /date/year/2003 399s ok 104 /date/year/2004 399s ok 105 /date/year/2005 399s ok 106 /date/year/2006 399s ok 107 /date/year/2007 399s ok 108 /date/year/2008 399s ok 109 /date/year/2009 399s ok 110 /date/year/2010 399s ok 111 /date/year/2011 399s ok 112 /date/year/2012 399s ok 113 /date/year/3000 399s ok 114 /date/year/3001 399s ok 115 /date/year/3002 399s ok 116 /date/year/3998 399s ok 117 /date/year/3999 399s ok 118 /date/year/4000 399s ok 119 /date/year/4001 399s ok 120 /date/year/4002 399s ok 121 /date/year/4003 399s # End of year tests 399s # End of date tests 399s ok - glib/date.test 399s # Running test: glib/types.test 399s TAP version 14 399s # random seed: R02S5793d7528547ca65579ab1b3972ab099 399s 1..1 399s # Start of types tests 399s ok 1 /types/basic_types 399s # End of types tests 399s ok - glib/types.test 399s # Running test: glib/memory-monitor-dbus.test 400s # Executing: glib/memory-monitor-dbus.test 400s TAP version 13 400s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 400s 1..1 400s ok - glib/memory-monitor-dbus.test 400s # Running test: glib/gdbus-bz627724.test 400s TAP version 14 400s # random seed: R02S1a400397acceee73e9d53b6786266e98 400s 1..1 400s # Start of gdbus tests 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_S2J7W2/gdbus/bz627724/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_S2J7W2/gdbus/bz627724/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_S2J7W2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_S2J7W2/gdbus/bz627724/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_S2J7W2/gdbus/bz627724/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_S2J7W2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_S2J7W2/gdbus/bz627724/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_S2J7W2/gdbus/bz627724/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_S2J7W2/gdbus/bz627724/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_S2J7W2/gdbus/bz627724/.dirs/runtime 400s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 400s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 400s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 400s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 400s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 400s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 400s ok 1 /gdbus/bz627724 400s # End of gdbus tests 400s ok - glib/gdbus-bz627724.test 400s # Running test: glib/portal-support-flatpak-gsettings-only.test 400s TAP version 14 400s # random seed: R02S7c8dfadc53001969a6c4f76c3163af47 400s 1..1 400s # Start of portal-support tests 400s # Start of flatpak tests 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_MM38W2/portal-support/flatpak/gsettings/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MM38W2/portal-support/flatpak/gsettings/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_MM38W2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_MM38W2/portal-support/flatpak/gsettings/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MM38W2/portal-support/flatpak/gsettings/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_MM38W2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_MM38W2/portal-support/flatpak/gsettings/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MM38W2/portal-support/flatpak/gsettings/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MM38W2/portal-support/flatpak/gsettings/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_MM38W2/portal-support/flatpak/gsettings/.dirs/runtime 400s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_MM38W2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 400s ok 1 /portal-support/flatpak/gsettings 400s # End of flatpak tests 400s # End of portal-support tests 400s ok - glib/portal-support-flatpak-gsettings-only.test 400s # Running test: glib/struct-info.test 400s TAP version 14 400s # random seed: R02Sce0c80c742ddcc661a266169e4d8aace 400s 1..4 400s # Start of struct-info tests 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SNB9W2/struct-info/field-iterators/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SNB9W2/struct-info/field-iterators/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SNB9W2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_SNB9W2/struct-info/field-iterators/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SNB9W2/struct-info/field-iterators/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SNB9W2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_SNB9W2/struct-info/field-iterators/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SNB9W2/struct-info/field-iterators/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SNB9W2/struct-info/field-iterators/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SNB9W2/struct-info/field-iterators/.dirs/runtime 400s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 400s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 400s ok 1 /struct-info/field-iterators 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SNB9W2/struct-info/sizeof-gvalue/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SNB9W2/struct-info/sizeof-gvalue/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SNB9W2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_SNB9W2/struct-info/sizeof-gvalue/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SNB9W2/struct-info/sizeof-gvalue/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SNB9W2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_SNB9W2/struct-info/sizeof-gvalue/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SNB9W2/struct-info/sizeof-gvalue/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SNB9W2/struct-info/sizeof-gvalue/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SNB9W2/struct-info/sizeof-gvalue/.dirs/runtime 400s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 400s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 400s ok 2 /struct-info/sizeof-gvalue 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SNB9W2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SNB9W2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SNB9W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_SNB9W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SNB9W2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SNB9W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_SNB9W2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SNB9W2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SNB9W2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SNB9W2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 400s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 400s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 400s ok 3 /struct-info/is-pointer-for-struct-method-arg 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SNB9W2/struct-info/boxed/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SNB9W2/struct-info/boxed/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SNB9W2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_SNB9W2/struct-info/boxed/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SNB9W2/struct-info/boxed/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SNB9W2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_SNB9W2/struct-info/boxed/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SNB9W2/struct-info/boxed/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SNB9W2/struct-info/boxed/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SNB9W2/struct-info/boxed/.dirs/runtime 400s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 400s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 400s ok 4 /struct-info/boxed 400s # End of struct-info tests 400s ok - glib/struct-info.test 400s # Running test: glib/glistmodel.test 400s TAP version 14 400s # random seed: R02S52da22cd9e143293ee2f191d00f084a1 400s 1..18 400s # Start of glistmodel tests 400s # Start of store tests 400s ok 1 /glistmodel/store/properties 400s ok 2 /glistmodel/store/non-gobjects 400s ok 3 /glistmodel/store/boundaries 400s ok 4 /glistmodel/store/refcounts 400s ok 5 /glistmodel/store/sorted 400s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 400s ok 6 /glistmodel/store/splice-replace-middle 400s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 400s ok 7 /glistmodel/store/splice-replace-all 400s ok 8 /glistmodel/store/splice-noop 400s ok 9 /glistmodel/store/splice-remove-multiple 400s ok 10 /glistmodel/store/splice-add-multiple 400s ok 11 /glistmodel/store/splice-wrong-type 400s ok 12 /glistmodel/store/item-type 400s ok 13 /glistmodel/store/remove-all 400s ok 14 /glistmodel/store/sort 400s ok 15 /glistmodel/store/get-item-cache 400s ok 16 /glistmodel/store/items-changed 400s ok 17 /glistmodel/store/past-end 400s ok 18 /glistmodel/store/find 400s # End of store tests 400s # End of glistmodel tests 400s ok - glib/glistmodel.test 400s # Running test: glib/utils-c-89.test 400s TAP version 14 400s # random seed: R02S38418ae7a1c4487f5bd0e11c42f25c7d 400s 1..40 400s # Start of utils tests 400s ok 1 /utils/language-names 400s ok 2 /utils/locale-variants 400s ok 3 /utils/version 400s ok 4 /utils/appname 400s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 400s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 400s ok 5 /utils/prgname-thread-safety 400s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 400s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 400s ok 6 /utils/tmpdir 400s ok 7 /utils/basic_bits 400s ok 8 /utils/bits 400s ok 9 /utils/swap 400s ok 10 /utils/find-program 400s ok 11 /utils/find-program-for-path 400s ok 12 /utils/debug 400s ok 13 /utils/codeset 400s ok 14 /utils/codeset2 400s ok 15 /utils/console-charset 400s ok 16 /utils/gettext 400s ok 17 /utils/username 400s ok 18 /utils/realname 400s ok 19 /utils/hostname 400s ok 20 /utils/xdgdirs 400s ok 21 /utils/specialdir 400s # NAME: Ubuntu 400s ok 22 /utils/os-info 400s ok 23 /utils/clear-pointer 400s ok 24 /utils/clear-pointer-cast 400s ok 25 /utils/take-pointer 400s ok 26 /utils/clear-source 400s ok 27 /utils/misc-mem 400s # /utils/aligned-mem summary: Aligned memory allocator 400s # Alignment must not be zero 400s # Alignment must be a power of two 400s # Alignment must be a multiple of sizeof(void*) 400s ok 28 /utils/aligned-mem 400s # /utils/free-sized summary: Check that g_free_sized() works 400s ok 29 /utils/free-sized 400s ok 30 /utils/nullify 400s ok 31 /utils/atexit 400s ok 32 /utils/check-setuid 400s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 400s ok 33 /utils/int-limits 400s ok 34 /utils/clear-list 400s ok 35 /utils/clear-slist 400s # Start of specialdir tests 400s ok 36 /utils/specialdir/desktop 400s # End of specialdir tests 400s # Start of clear-pointer tests 400s ok 37 /utils/clear-pointer/side-effects 400s # End of clear-pointer tests 400s # Start of aligned-mem tests 400s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 400s ok 38 /utils/aligned-mem/alignment 400s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 400s ok 39 /utils/aligned-mem/zeroed 400s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 400s ok 40 /utils/aligned-mem/free-sized 400s # Start of subprocess tests 400s # End of subprocess tests 400s # End of aligned-mem tests 400s # End of utils tests 400s ok - glib/utils-c-89.test 400s # Running test: glib/appmonitor.test 400s TAP version 14 400s # random seed: R02S3f81581c9d4da227870e4fa66c44c28e 400s 1..1 400s # Start of monitor tests 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_JW2AX2/monitor/app/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_JW2AX2/monitor/app/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_JW2AX2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_JW2AX2/monitor/app/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_JW2AX2/monitor/app/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_JW2AX2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_JW2AX2/monitor/app/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_JW2AX2/monitor/app/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_JW2AX2/monitor/app/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_JW2AX2/monitor/app/.dirs/runtime 400s # Using data directory: /tmp/test_appmonitor_JW2AX2/monitor/app/.dirs/data 400s ok 1 /monitor/app 400s # End of monitor tests 400s ok - glib/appmonitor.test 400s # Running test: glib/rec-mutex.test 400s TAP version 14 400s # random seed: R02S768606968e23f918a4a85b2bb925c39e 400s 1..29 400s # Start of thread tests 400s ok 1 /thread/rec-mutex1 400s ok 2 /thread/rec-mutex2 400s ok 3 /thread/rec-mutex3 400s ok 4 /thread/rec-mutex4 400s # Start of rec-mutex tests 400s # Start of perf tests 400s # Start of uncontended tests 400s # max perf: 1.000000 mips 400s ok 5 /thread/rec-mutex/perf/uncontended/depth1 400s # max perf: 1.000000 mips 400s ok 6 /thread/rec-mutex/perf/uncontended/depth2 400s # max perf: 1.000000 mips 400s ok 7 /thread/rec-mutex/perf/uncontended/depth3 400s # max perf: inf mips 400s ok 8 /thread/rec-mutex/perf/uncontended/depth4 400s # max perf: inf mips 400s ok 9 /thread/rec-mutex/perf/uncontended/depth5 400s # End of uncontended tests 400s # Start of contended1 tests 400s # max perf: inf mips 400s ok 10 /thread/rec-mutex/perf/contended1/depth1 400s # max perf: 2.000000 mips 400s ok 11 /thread/rec-mutex/perf/contended1/depth2 400s # max perf: inf mips 400s ok 12 /thread/rec-mutex/perf/contended1/depth3 400s # max perf: inf mips 400s ok 13 /thread/rec-mutex/perf/contended1/depth4 400s # max perf: 2.000000 mips 400s ok 14 /thread/rec-mutex/perf/contended1/depth5 400s # End of contended1 tests 400s # Start of contended2 tests 400s # max perf: inf mips 400s ok 15 /thread/rec-mutex/perf/contended2/depth1 400s # max perf: 3.000000 mips 400s ok 16 /thread/rec-mutex/perf/contended2/depth2 400s # max perf: 3.000000 mips 400s ok 17 /thread/rec-mutex/perf/contended2/depth3 400s # max perf: 3.000000 mips 400s ok 18 /thread/rec-mutex/perf/contended2/depth4 400s # max perf: 3.000000 mips 400s ok 19 /thread/rec-mutex/perf/contended2/depth5 400s # End of contended2 tests 400s # Start of contended3 tests 400s # max perf: 4.000000 mips 400s ok 20 /thread/rec-mutex/perf/contended3/depth1 400s # max perf: 4.000000 mips 400s ok 21 /thread/rec-mutex/perf/contended3/depth2 400s # max perf: 2.000000 mips 400s ok 22 /thread/rec-mutex/perf/contended3/depth3 400s # max perf: 4.000000 mips 400s ok 23 /thread/rec-mutex/perf/contended3/depth4 400s # max perf: 4.000000 mips 400s ok 24 /thread/rec-mutex/perf/contended3/depth5 400s # End of contended3 tests 400s # Start of contended4 tests 400s # max perf: 1.250000 mips 400s ok 25 /thread/rec-mutex/perf/contended4/depth1 400s # max perf: 5.000000 mips 400s ok 26 /thread/rec-mutex/perf/contended4/depth2 400s # max perf: 0.833333 mips 400s ok 27 /thread/rec-mutex/perf/contended4/depth3 400s # max perf: 0.714286 mips 400s ok 28 /thread/rec-mutex/perf/contended4/depth4 400s # max perf: 1.250000 mips 400s ok 29 /thread/rec-mutex/perf/contended4/depth5 400s # End of contended4 tests 400s # End of perf tests 400s # End of rec-mutex tests 400s # End of thread tests 400s ok - glib/rec-mutex.test 400s # Running test: glib/environment.test 400s TAP version 14 400s # random seed: R02S060cac7b207e901bdfa578e0a3b4f7a3 400s 1..6 400s # Start of environ tests 400s # /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. 400s ok 1 /environ/listenv 400s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 400s ok 2 /environ/getenv 400s ok 3 /environ/setenv 400s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 400s ok 4 /environ/array 400s # /environ/null summary: Test getting and setting variables on a NULL envp array. 400s ok 5 /environ/null 400s # /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. 400s ok 6 /environ/case 400s # End of environ tests 400s ok - glib/environment.test 400s # Running test: glib/gdbus-addresses.test 400s TAP version 14 400s # random seed: R02Se421eaee89c4d180ac45e32def510852 400s 1..9 400s # Start of gdbus tests 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/empty-address/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/empty-address/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/empty-address/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/empty-address/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/empty-address/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/empty-address/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/empty-address/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_AOXZW2/gdbus/empty-address/.dirs/runtime 400s ok 1 /gdbus/empty-address 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unsupported-address/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unsupported-address/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/unsupported-address/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unsupported-address/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/unsupported-address/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unsupported-address/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unsupported-address/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unsupported-address/.dirs/runtime 400s ok 2 /gdbus/unsupported-address 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/address-parsing/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/address-parsing/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/address-parsing/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/address-parsing/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/address-parsing/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/address-parsing/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/address-parsing/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_AOXZW2/gdbus/address-parsing/.dirs/runtime 400s ok 3 /gdbus/address-parsing 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unix-address/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unix-address/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/unix-address/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unix-address/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/unix-address/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unix-address/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unix-address/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_AOXZW2/gdbus/unix-address/.dirs/runtime 400s ok 4 /gdbus/unix-address 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/nonce-tcp-address/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/nonce-tcp-address/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/nonce-tcp-address/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/nonce-tcp-address/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/nonce-tcp-address/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/nonce-tcp-address/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/nonce-tcp-address/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_AOXZW2/gdbus/nonce-tcp-address/.dirs/runtime 400s ok 5 /gdbus/nonce-tcp-address 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/tcp-address/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/tcp-address/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/tcp-address/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/tcp-address/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/tcp-address/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/tcp-address/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/tcp-address/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_AOXZW2/gdbus/tcp-address/.dirs/runtime 400s ok 6 /gdbus/tcp-address 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/autolaunch-address/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/autolaunch-address/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/autolaunch-address/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/autolaunch-address/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/autolaunch-address/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/autolaunch-address/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/autolaunch-address/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_AOXZW2/gdbus/autolaunch-address/.dirs/runtime 400s ok 7 /gdbus/autolaunch-address 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/mixed-address/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/mixed-address/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/mixed-address/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/mixed-address/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/mixed-address/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/mixed-address/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/mixed-address/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_AOXZW2/gdbus/mixed-address/.dirs/runtime 400s ok 8 /gdbus/mixed-address 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/escape-address/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/escape-address/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/escape-address/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/escape-address/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_AOXZW2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_AOXZW2/gdbus/escape-address/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/escape-address/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_AOXZW2/gdbus/escape-address/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_AOXZW2/gdbus/escape-address/.dirs/runtime 400s ok 9 /gdbus/escape-address 400s # End of gdbus tests 400s ok - glib/gdbus-addresses.test 400s # Running test: glib/network-monitor.test 400s TAP version 14 400s # random seed: R02S0d1cf6b7c76e6f54d346d8910a838edd 400s 1..4 400s # Start of network-monitor tests 400s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 400s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 400s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 400s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 400s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 400s ok 1 /network-monitor/default 400s ok 2 /network-monitor/remove_default 400s ok 3 /network-monitor/add_networks 400s ok 4 /network-monitor/remove_networks 400s # End of network-monitor tests 400s ok - glib/network-monitor.test 400s # Running test: glib/uri.test 400s TAP version 14 400s # random seed: R02S4af0c1c007a7852fbb4cf3447f3baaf6 400s 1..24 400s # Start of uri tests 400s ok 1 /uri/file-to-uri 400s ok 2 /uri/file-from-uri 400s ok 3 /uri/file-roundtrip 400s ok 4 /uri/list 400s # Test 0: %2Babc %4F 400s # Test 1: %2Babc %4F 400s # Test 2: %00abc %4F 400s # Test 3: /cursors/none.png 400s # Test 4: /cursors%2fbad-subdir/none.png 400s # Test 5: %0 400s # Test 6: %ra 400s # Test 7: %2r 400s # Test 8: Timm B?der 400s # Test 9: (null) 400s ok 5 /uri/unescape-string 400s ok 6 /uri/unescape-segment 400s # Test 0: abcdefgABCDEFG._~ 400s # Test 1: :+ \\?# 400s # Test 2: a+b:c 400s # Test 3: a+b:c\303\234 400s # Test 4: \374;\322 400s # Test 5: \303\261\303( 400s ok 7 /uri/escape-string 400s ok 8 /uri/escape-bytes 400s ok 9 /uri/scheme 400s ok 10 /uri/build 400s ok 11 /uri/split 400s ok 12 /uri/is_valid 400s ok 13 /uri/to-string 400s ok 14 /uri/join 400s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 400s # Combination 0 400s # Combination 1 400s # Combination 2 400s # Combination 3 400s # Combination 4 400s # Combination 5 400s # Combination 6 400s # Combination 7 400s # Combination 8 400s # Combination 9 400s # Combination 10 400s # Combination 11 400s # Combination 12 400s # Combination 13 400s # Combination 14 400s # Combination 15 400s # Combination 16 400s # Combination 17 400s # Combination 18 400s # Combination 19 400s # Combination 20 400s # Combination 21 400s # Combination 22 400s # Combination 23 400s # Combination 24 400s # Combination 25 400s # Combination 26 400s # Combination 27 400s # Combination 28 400s # Combination 29 400s # Combination 30 400s # Combination 31 400s # Combination 32 400s # Combination 33 400s # Combination 34 400s # Combination 35 400s # Combination 36 400s # Combination 37 400s # Combination 38 400s # Combination 39 400s # Combination 40 400s # Combination 41 400s # Combination 42 400s # Combination 43 400s # Combination 44 400s # Combination 45 400s # Combination 46 400s # Combination 47 400s # Combination 48 400s # Combination 49 400s # Combination 50 400s # Combination 51 400s # Combination 52 400s # Combination 53 400s # Combination 54 400s # Combination 55 400s # Combination 56 400s # Combination 57 400s # Combination 58 400s # Combination 59 400s # Combination 60 400s # Combination 61 400s # Combination 62 400s # Combination 63 400s # Combination 64 400s # Combination 65 400s # Combination 66 400s # Combination 67 400s # Combination 68 400s # Combination 69 400s # Combination 70 400s # Combination 71 400s # Combination 72 400s # Combination 73 400s # Combination 74 400s # Combination 75 400s # Combination 76 400s # Combination 77 400s # Combination 78 400s # Combination 79 400s # Combination 80 400s # Combination 81 400s # Combination 82 400s # Combination 83 400s # Combination 84 400s # Combination 85 400s # Combination 86 400s # Combination 87 400s # Combination 88 400s # Combination 89 400s # Combination 90 400s # Combination 91 400s # Combination 92 400s # Combination 93 400s # Combination 94 400s # Combination 95 400s # Combination 96 400s # Combination 97 400s # Combination 98 400s # Combination 99 400s # Combination 100 400s # Combination 101 400s # Combination 102 400s # Combination 103 400s # Combination 104 400s # Combination 105 400s # Combination 106 400s # Combination 107 400s # Combination 108 400s # Combination 109 400s # Combination 110 400s # Combination 111 400s # Combination 112 400s # Combination 113 400s # Combination 114 400s # Combination 115 400s # Combination 116 400s # Combination 117 400s # Combination 118 400s # Combination 119 400s # Combination 120 400s # Combination 121 400s # Combination 122 400s # Combination 123 400s # Combination 124 400s # Combination 125 400s # Combination 126 400s # Combination 127 400s # Combination 128 400s # Combination 129 400s # Combination 130 400s # Combination 131 400s # Combination 132 400s # Combination 133 400s # Combination 134 400s # Combination 135 400s # Combination 136 400s # Combination 137 400s # Combination 138 400s # Combination 139 400s # Combination 140 400s # Combination 141 400s # Combination 142 400s # Combination 143 400s # Combination 144 400s # Combination 145 400s # Combination 146 400s # Combination 147 400s # Combination 148 400s # Combination 149 400s # Combination 150 400s # Combination 151 400s # Combination 152 400s # Combination 153 400s # Combination 154 400s # Combination 155 400s # Combination 156 400s # Combination 157 400s # Combination 158 400s # Combination 159 400s # Combination 160 400s # Combination 161 400s # Combination 162 400s # Combination 163 400s # Combination 164 400s # Combination 165 400s # Combination 166 400s # Combination 167 400s # Combination 168 400s # Combination 169 400s # Combination 170 400s # Combination 171 400s # Combination 172 400s # Combination 173 400s # Combination 174 400s # Combination 175 400s # Combination 176 400s # Combination 177 400s # Combination 178 400s # Combination 179 400s # Combination 180 400s # Combination 181 400s # Combination 182 400s # Combination 183 400s # Combination 184 400s # Combination 185 400s # Combination 186 400s # Combination 187 400s # Combination 188 400s # Combination 189 400s # Combination 190 400s # Combination 191 400s # Combination 192 400s # Combination 193 400s # Combination 194 400s # Combination 195 400s # Combination 196 400s # Combination 197 400s # Combination 198 400s # Combination 199 400s # Combination 200 400s # Combination 201 400s # Combination 202 400s # Combination 203 400s # Combination 204 400s # Combination 205 400s # Combination 206 400s # Combination 207 400s # Combination 208 400s # Combination 209 400s # Combination 210 400s # Combination 211 400s # Combination 212 400s # Combination 213 400s # Combination 214 400s # Combination 215 400s # Combination 216 400s # Combination 217 400s # Combination 218 400s # Combination 219 400s # Combination 220 400s # Combination 221 400s # Combination 222 400s # Combination 223 400s # Combination 224 400s # Combination 225 400s # Combination 226 400s # Combination 227 400s # Combination 228 400s # Combination 229 400s # Combination 230 400s # Combination 231 400s # Combination 232 400s # Combination 233 400s # Combination 234 400s # Combination 235 400s # Combination 236 400s # Combination 237 400s # Combination 238 400s # Combination 239 400s # Combination 240 400s # Combination 241 400s # Combination 242 400s # Combination 243 400s # Combination 244 400s # Combination 245 400s # Combination 246 400s # Combination 247 400s # Combination 248 400s # Combination 249 400s # Combination 250 400s # Combination 251 400s # Combination 252 400s # Combination 253 400s # Combination 254 400s # Combination 255 400s ok 15 /uri/join-split-round-trip 400s ok 16 /uri/normalize 400s # Start of unescape-bytes tests 400s # Test 0: %00%00 400s # Test 1: /cursors/none.png 400s # Test 2: /cursors%2fbad-subdir/none.png 400s # Test 3: %% 400s # Test 4: % 400s ok 17 /uri/unescape-bytes/nul-terminated 400s # Test 0: %00%00 400s # Test 1: /cursors/none.png 400s # Test 2: /cursors%2fbad-subdir/none.png 400s # Test 3: %% 400s # Test 4: % 400s ok 18 /uri/unescape-bytes/length 400s # End of unescape-bytes tests 400s # Start of parsing tests 400s # Test 0: foo: 400s # Test 1: file:/dev/null 400s # Test 2: file:///dev/null 400s # Test 3: ftp://user@host/path 400s # Test 4: ftp://user@host:9999/path 400s # Test 5: ftp://user:password@host/path 400s # Test 6: ftp://user:password@host:9999/path 400s # Test 7: ftp://user:password@host 400s # Test 8: http://us%65r@host 400s # Test 9: http://us%40r@host 400s # Test 10: http://us%3ar@host 400s # Test 11: http://us%2fr@host 400s # Test 12: http://us%3fr@host 400s # Test 13: http://host?query 400s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 400s # 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 400s # Test 16: http://space/%20 400s # Test 17: http://delims/%3C%3E%23%25%22 400s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 400s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 400s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 400s # Test 21: http://[3ffe:2a00:100:7031::1] 400s # Test 22: http://[1080::8:800:200C:417A]/foo 400s # Test 23: http://[::192.9.5.5]/ipng 400s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 400s # Test 25: http://[2010:836B:4179::836B:4179] 400s # Test 26: http://host/path with spaces 400s # Test 27: http://host/path 400s # Test 28: http://host/path 400s # Test 29: http://host 400s # Test 30: http://host:999 400s # Test 31: http://host/pa 400s # th 400s # Test 32: http: 400s # //host/path 400s # Test 33: http:// host/path 400s # Test 34: http://host/path? 400s # Test 35: http://host/path# 400s # Test 36: http://host/path% 400s # Test 37: http://h%ost/path 400s # Test 38: http://host/path%% 400s # Test 39: http://host/path%%% 400s # Test 40: http://host/path%/x/ 400s # Test 41: http://host/path%0x/ 400s # Test 42: http://host/path%ax 400s # Test 43: http://host/p?th/ 400s # Test 44: HTTP://////////////// 400s # Test 45: http://@host 400s # Test 46: http://:@host 400s # Test 47: scheme://foo%3Abar._webdav._tcp.local 400s # Test 48: http://example.com/.. 400s # Test 49: foo0://host/path 400s # Test 50: f0.o://host/path 400s # Test 51: http++://host/path 400s # Test 52: http-ish://host/path 400s # Test 53: http://[fe80::dead:beef%]/ 400s # Test 54: http://[fe80::dead:beef%em1]/ 400s # Test 55: http://[fe80::dead:beef%em1]/ 400s # Test 56: http://[fe80::dead:beef%25em1]/ 400s # Test 57: http://[fe80::dead:beef%25em1%20]/ 400s # Test 58: http://[fe80::dead:beef%25em%31]/ 400s # Test 59: http://[fe80::dead:beef%10]/ 400s # Test 60: http://[fe80::dead:beef%10]/ 400s # Test 61: http://[fe80::dead:beef%25]/ 400s # Test 62: http://[fe80::dead:beef%25]/ 400s # Test 63: http://[192.168.0.1%25em1]/ 400s # Test 64: http://[fe80::dead:beef%2em1]/ 400s # Test 65: http://[fe80::dead:beef%2em1]/ 400s # Test 66: http://[fe80::dead:beef%25em1%00]/ 400s # Test 67: http://[fe80::dead:beef%25em1%00]/ 400s # Test 68: http://xn--mixed-?p/ 400s ok 19 /uri/parsing/absolute 400s ok 20 /uri/parsing/relative 400s # End of parsing tests 400s # Start of iter-params tests 400s # URI 0: p1=foo&p2=bar;p3=baz 400s # URI 1: p1=foo&p2=bar 400s # URI 2: p1=foo&&P1=bar 400s # URI 3: %00=foo 400s # URI 4: p1=%00 400s # URI 5: p1=foo&p1=bar 400s # URI 6: p1=foo&P1=bar 400s # URI 7: =% 400s # URI 8: = 400s # URI 9: foo 400s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 400s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 400s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 400s ok 21 /uri/iter-params/nul-terminated 400s # URI 0: p1=foo&p2=bar;p3=baz 400s # URI 1: p1=foo&p2=bar 400s # URI 2: p1=foo&&P1=bar 400s # URI 3: %00=foo 400s # URI 4: p1=%00 400s # URI 5: p1=foo&p1=bar 400s # URI 6: p1=foo&P1=bar 400s # URI 7: =% 400s # URI 8: = 400s # URI 9: foo 400s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 400s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 400s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 400s ok 22 /uri/iter-params/length 400s # End of iter-params tests 400s # Start of parse-params tests 400s # URI 0: p1=foo&p2=bar;p3=baz 400s # URI 1: p1=foo&p2=bar 400s # URI 2: p1=foo&&P1=bar 400s # URI 3: %00=foo 400s # URI 4: p1=%00 400s # URI 5: p1=foo&p1=bar 400s # URI 6: p1=foo&P1=bar 400s # URI 7: =% 400s # URI 8: = 400s # URI 9: foo 400s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 400s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 400s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 400s ok 23 /uri/parse-params/nul-terminated 400s # URI 0: p1=foo&p2=bar;p3=baz 400s # URI 1: p1=foo&p2=bar 400s # URI 2: p1=foo&&P1=bar 400s # URI 3: %00=foo 400s # URI 4: p1=%00 400s # URI 5: p1=foo&p1=bar 400s # URI 6: p1=foo&P1=bar 400s # URI 7: =% 400s # URI 8: = 400s # URI 9: foo 400s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 400s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 400s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 400s ok 24 /uri/parse-params/length 400s # End of parse-params tests 400s # End of uri tests 400s ok - glib/uri.test 400s # Running test: glib/resources.test 400s TAP version 14 400s # random seed: R02S71dbab5e1a381d19927e33af7a34ceab 400s 1..17 400s # Start of resource tests 400s ok 1 /resource/file 400s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 400s ok 2 /resource/file-path 400s ok 3 /resource/data 400s ok 4 /resource/data_unaligned 400s ok 5 /resource/data-corrupt 400s ok 6 /resource/data-empty 400s ok 7 /resource/registered 400s ok 8 /resource/manual 400s ok 9 /resource/manual2 400s ok 10 /resource/automatic 400s ok 11 /resource/module 400s ok 12 /resource/binary-linked 400s ok 13 /resource/64k 400s GLib-GIO-Message: 12:41:48.345: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 400s ok 14 /resource/overlay 400s ok 15 /resource/digits 400s # Start of uri tests 400s ok 16 /resource/uri/query-info 400s ok 17 /resource/uri/file 400s # End of uri tests 400s # End of resource tests 400s ok - glib/resources.test 400s # Running test: glib/hmac.test 400s TAP version 14 400s # random seed: R02S5830fe970715a41fd1eaa9d6f9b11033 400s 1..37 400s # Start of hmac tests 400s ok 1 /hmac/sha1-1 400s ok 2 /hmac/sha1-2 400s ok 3 /hmac/sha1-3 400s ok 4 /hmac/sha1-4 400s ok 5 /hmac/sha1-5 400s ok 6 /hmac/sha1-6 400s ok 7 /hmac/sha1-7 400s ok 8 /hmac/sha256-1 400s ok 9 /hmac/sha256-2 400s ok 10 /hmac/sha256-3 400s ok 11 /hmac/sha256-4 400s ok 12 /hmac/sha256-5 400s ok 13 /hmac/sha256-6 400s ok 14 /hmac/sha384-1 400s ok 15 /hmac/sha384-2 400s ok 16 /hmac/sha384-3 400s ok 17 /hmac/sha384-4 400s ok 18 /hmac/sha384-5 400s ok 19 /hmac/sha384-6 400s ok 20 /hmac/sha512-1 400s ok 21 /hmac/sha512-2 400s ok 22 /hmac/sha512-3 400s ok 23 /hmac/sha512-4 400s ok 24 /hmac/sha512-5 400s ok 25 /hmac/sha512-6 400s ok 26 /hmac/md5-1 400s ok 27 /hmac/md5-2 400s ok 28 /hmac/md5-3 400s ok 29 /hmac/md5-4 400s ok 30 /hmac/md5-5 400s ok 31 /hmac/md5-6 400s ok 32 /hmac/md5-7 400s ok 33 /hmac/ref-unref 400s ok 34 /hmac/copy 400s ok 35 /hmac/for-data 400s ok 36 /hmac/for-string 400s ok 37 /hmac/for-bytes 400s # End of hmac tests 400s ok - glib/hmac.test 400s # Running test: glib/atomic-c-89.test 400s TAP version 14 400s # random seed: R02Seed5237aec16064d73703686def0e133 400s 1..2 400s # Start of atomic tests 400s ok 1 /atomic/types 400s ok 2 /atomic/threaded 400s # End of atomic tests 400s ok - glib/atomic-c-89.test 400s # Running test: glib/init.test 400s TAP version 14 400s # random seed: R02S3f6ab5d11e50a0e3fb086c53dd473a55 400s 1..2 400s # Start of thread tests 400s # Start of deprecated tests 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_HJT4W2/thread/deprecated/init/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_HJT4W2/thread/deprecated/init/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_HJT4W2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_HJT4W2/thread/deprecated/init/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_HJT4W2/thread/deprecated/init/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_HJT4W2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_HJT4W2/thread/deprecated/init/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_HJT4W2/thread/deprecated/init/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_HJT4W2/thread/deprecated/init/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_HJT4W2/thread/deprecated/init/.dirs/runtime 400s ok 1 /thread/deprecated/init 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_HJT4W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_HJT4W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_HJT4W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_HJT4W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_HJT4W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_HJT4W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_HJT4W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_HJT4W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_HJT4W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_HJT4W2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 400s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 400s # End of deprecated tests 400s # End of thread tests 400s ok - glib/init.test 400s # Running test: glib/pollable.test 400s TAP version 14 400s # random seed: R02S9b6d151153cfba269d01bb01f0136d02 400s 1..6 400s # Start of pollable tests 400s ok 1 /pollable/converter 400s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 400s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe60c6cdf7d0 and GSocketClientAsyncConnectData 0xe60c6cd2ad0 400s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 400s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 400s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe60c6ce0850 for GSocketClientAsyncConnectData 0xe60c6cd2ad0 400s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 400s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 400s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 400s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 400s ok 2 /pollable/socket 400s # Start of unix tests 400s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 400s ok 3 /pollable/unix/pipe 400s # /pollable/unix/pty summary: Test that PTYs are considered pollable 400s ok 4 /pollable/unix/pty 400s # /pollable/unix/file summary: Test that regular files are not considered pollable 400s ok 5 /pollable/unix/file 400s # /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 400s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 400s # End of unix tests 400s # End of pollable tests 400s ok - glib/pollable.test 400s # Running test: glib/boxed.test 400s TAP version 14 400s # random seed: R02S9d16229d45cde0ec1d7e9b7d1a955814 400s 1..27 400s # Start of boxed tests 400s ok 1 /boxed/define 400s ok 2 /boxed/ownership 400s ok 3 /boxed/closure 400s ok 4 /boxed/date 400s ok 5 /boxed/value 400s ok 6 /boxed/string 400s ok 7 /boxed/hashtable 400s ok 8 /boxed/array 400s ok 9 /boxed/ptrarray 400s ok 10 /boxed/regex 400s ok 11 /boxed/varianttype 400s ok 12 /boxed/error 400s ok 13 /boxed/datetime 400s ok 14 /boxed/matchinfo 400s ok 15 /boxed/keyfile 400s ok 16 /boxed/mainloop 400s ok 17 /boxed/maincontext 400s ok 18 /boxed/source 400s ok 19 /boxed/variantbuilder 400s ok 20 /boxed/timezone 400s ok 21 /boxed/pollfd 400s ok 22 /boxed/markup 400s ok 23 /boxed/thread 400s ok 24 /boxed/checksum 400s ok 25 /boxed/tree 400s ok 26 /boxed/patternspec 400s ok 27 /boxed/rand 400s # End of boxed tests 400s ok - glib/boxed.test 400s # Running test: glib/properties-refcount4.test 400s TAP version 14 400s # random seed: R02S5a062c0ba3f9a5a535c6d5178472e97b 400s 1..1 400s # Start of gobject tests 400s # Start of refcount tests 400s ok 1 /gobject/refcount/properties-4 400s # End of refcount tests 400s # End of gobject tests 400s ok - glib/properties-refcount4.test 400s # Running test: glib/rcbox.test 400s TAP version 14 400s # random seed: R02S1c2f7f7884c3c88ac0076dcb6a9414c2 400s 1..8 400s # Start of rcbox tests 400s ok 1 /rcbox/new 400s # global_point = 0x1ae6d36388d0 400s ok 2 /rcbox/release-full 400s # global_point_a = 0x1ae6d36388d0 400s # global_point_b = 0x1ae6d3638890 400s ok 3 /rcbox/dup 400s ok 4 /rcbox/alignment 400s # End of rcbox tests 400s # Start of atomic-rcbox tests 400s ok 5 /atomic-rcbox/new 400s # global_point = 0x1ae6d3638aa0 400s ok 6 /atomic-rcbox/release-full 400s # global_point_a = 0x1ae6d3638aa0 400s # global_point_b = 0x1ae6d3638a60 400s ok 7 /atomic-rcbox/dup 400s ok 8 /atomic-rcbox/alignment 400s # End of atomic-rcbox tests 400s ok - glib/rcbox.test 400s # Running test: glib/refstring.test 400s TAP version 14 400s # random seed: R02S82a034c322c2579138bb91b7da138265 400s 1..5 400s # Start of refstring tests 400s # s = 'hello, world' (0x8321b9d8660) 400s ok 1 /refstring/base 400s ok 2 /refstring/length 400s ok 3 /refstring/length-auto 400s ok 4 /refstring/length-nuls 400s # s = 'hello, world' (0x8321b9d8660) 400s # p = s = 'hello, world' (0x8321b9d8660) 400s # releasing p[0x8321b9d8660] ('hello, world') 400s # p = 'goodbye, world' (0x8321b9e06c0) 400s # releasing p[0x8321b9e06c0] ('goodbye, world') 400s # releasing s[0x8321b9d8660] ('hello, world') 400s ok 5 /refstring/intern 400s # End of refstring tests 400s ok - glib/refstring.test 400s # Running test: glib/converter.test 400s TAP version 14 400s # random seed: R02S2eaf47e4c8b634c7f551368bba49b064 400s 1..1 400s # Start of converter tests 400s ok 1 /converter/bytes 400s # End of converter tests 400s ok - glib/converter.test 400s # Running test: glib/portal-support-none.test 400s TAP version 14 400s # random seed: R02Sd99e4803f0d324c0a6ff49edbc31f78d 400s 1..1 400s # Start of portal-support tests 400s ok 1 /portal-support/none 400s # End of portal-support tests 400s ok - glib/portal-support-none.test 400s # Running test: glib/flags.test 400s TAP version 14 400s # random seed: R02S920cd0c885f135416df7789859d25918 400s 1..1 400s # Start of gobject tests 400s # Start of flags tests 400s ok 1 /gobject/flags/validate 400s # End of flags tests 400s # End of gobject tests 400s ok - glib/flags.test 400s # Running test: glib/binding.test 400s TAP version 14 400s # random seed: R02Sa5e40a3d4c92de0aaed2e850aa2b99a0 400s 1..19 400s # Start of binding tests 400s ok 1 /binding/default 400s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 400s ok 2 /binding/canonicalisation 400s ok 3 /binding/bidirectional 400s ok 4 /binding/transform 400s ok 5 /binding/transform-default 400s ok 6 /binding/transform-closure 400s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 400s ok 7 /binding/chain 400s ok 8 /binding/sync-create 400s ok 9 /binding/invert-boolean 400s ok 10 /binding/same-object 400s ok 11 /binding/unbind 400s ok 12 /binding/unbind-weak 400s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 400s ok 13 /binding/unbind-multiple 400s ok 14 /binding/fail 400s ok 15 /binding/interface 400s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 400s ok 16 /binding/concurrent-unbind 400s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 400s ok 17 /binding/concurrent-finalizing 400s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 400s ok 18 /binding/dispose-source 400s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 400s ok 19 /binding/dispose-target 400s # End of binding tests 400s ok - glib/binding.test 400s # Running test: glib/trash.test 400s TAP version 14 400s # random seed: R02S66555cd23ca113be28cba3d1b77559ae 400s 1..3 400s # Start of trash tests 400s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 400s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 400s # File: /tmp/test-trashZ2RHX2 (parent st_dev: 64769) 400s # Home: /home/ubuntu (st_dev: 64769) 400s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 400s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 400s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 400s ok 3 /trash/long-filename 400s # End of trash tests 400s ok - glib/trash.test 400s # Running test: glib/module-test-library.test 400s TAP version 14 400s # random seed: R02Sddbe4131fa281e5ecedb7c0df7629fc9 400s 1..3 400s # Start of module tests 400s ok 1 /module/basics 400s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 400s ok 2 /module/invalid-libtool-archive 400s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 400s ok 3 /module/local-binding 400s # End of module tests 400s ok - glib/module-test-library.test 400s # Running test: glib/file-thumbnail.test 400s TAP version 14 400s # random seed: R02S53917a6a265550e29d1f06278c557b76 400s 1..7 400s # Start of file-thumbnail tests 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/fail/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/fail/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/fail/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/fail/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/fail/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/fail/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/fail/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/fail/.dirs/runtime 400s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 400s # Created test thumbnail at /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 400s ok 1 /file-thumbnail/fail 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/runtime 400s # Created test thumbnail at /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 400s # Created test thumbnail at /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 400s # Created test thumbnail at /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 400s # Created test thumbnail at /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 400s # Created test thumbnail at /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 400s ok 2 /file-thumbnail/size-priority 400s # Start of valid tests 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/normal/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/normal/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/normal/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/normal/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/normal/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/normal/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/normal/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/normal/.dirs/runtime 400s # Created test thumbnail at /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 400s ok 3 /file-thumbnail/valid/normal 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/large/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/large/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/large/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/large/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/large/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/large/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/large/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/large/.dirs/runtime 400s # Created test thumbnail at /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 400s ok 4 /file-thumbnail/valid/large 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/x-large/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/x-large/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/x-large/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/x-large/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/x-large/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/x-large/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/x-large/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/x-large/.dirs/runtime 400s # Created test thumbnail at /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 400s ok 5 /file-thumbnail/valid/x-large 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/xx-large/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/xx-large/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/xx-large/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/xx-large/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/xx-large/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/xx-large/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/xx-large/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/xx-large/.dirs/runtime 400s # Created test thumbnail at /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 400s ok 6 /file-thumbnail/valid/xx-large 400s # End of valid tests 400s # Start of unknown tests 400s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/unknown/super-large/.dirs/home 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/unknown/super-large/.dirs/cache 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/unknown/super-large/.dirs/system-config2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/unknown/super-large/.dirs/config 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_O3WHX2/file-thumbnail/unknown/super-large/.dirs/system-data2 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/unknown/super-large/.dirs/data 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/unknown/super-large/.dirs/state 400s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/unknown/super-large/.dirs/runtime 400s # Created test thumbnail at /tmp/test_file-thumbnail_O3WHX2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 400s ok 7 /file-thumbnail/unknown/super-large 400s # End of unknown tests 400s # End of file-thumbnail tests 400s ok - glib/file-thumbnail.test 400s # Running test: glib/gobject-query.py.test 400s TAP version 13 400s ok 1 __main__.TestGobjectQuery.test_froots 400s # gobject-query: /usr/bin/gobject-query 400s # Running: ['/usr/bin/gobject-query', 'froots'] 400s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 400s # Output: ├void 400s # ├GInterface 400s # │ â””GTypePlugin 400s # ├gchar 400s # ├guchar 400s # ├gboolean 400s # ├gint 400s # ├guint 400s # ├glong 400s # ├gulong 400s # ├gint64 400s # ├guint64 400s # ├GEnum 400s # ├GFlags 400s # ├gfloat 400s # ├gdouble 400s # ├gchararray 400s # ├gpointer 400s # │ â””GType 400s # ├GBoxed 400s # │ â””GValueArray 400s # ├GParam 400s # │ ├GParamChar 400s # │ ├GParamUChar 400s # │ ├GParamBoolean 400s # │ ├GParamInt 400s # │ ├GParamUInt 400s # │ ├GParamLong 400s # │ ├GParamULong 400s # │ ├GParamInt64 400s # │ ├GParamUInt64 400s # │ ├GParamUnichar 400s # │ ├GParamEnum 400s # │ ├GParamFlags 400s # │ ├GParamFloat 400s # │ ├GParamDouble 400s # │ ├GParamString 400s # │ ├GParamParam 400s # │ ├GParamBoxed 400s # │ ├GParamPointer 400s # │ ├GParamValueArray 400s # │ ├GParamObject 400s # │ ├GParamOverride 400s # │ ├GParamGType 400s # │ â””GParamVariant 400s # ├GObject 400s # â””GVariant 400s ok 2 __main__.TestGobjectQuery.test_help 400s # gobject-query: /usr/bin/gobject-query 400s # Running: ['/usr/bin/gobject-query', '--help'] 400s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 400s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 400s # -r specify root type 400s # -n don't descend type tree 400s # -h show help 400s # -b specify indent string 400s # -i specify incremental indent string 400s # -s specify line spacing 400s # qualifiers: 400s # froots iterate over fundamental roots 400s # tree print type tree 400s ok 3 __main__.TestGobjectQuery.test_tree 400s # gobject-query: /usr/bin/gobject-query 400s # Running: ['/usr/bin/gobject-query', 'tree'] 400s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 400s # Output: GObject 400s ok 4 __main__.TestGobjectQuery.test_version 400s # gobject-query: /usr/bin/gobject-query 400s # Running: ['/usr/bin/gobject-query', '--version'] 400s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 400s # Output: 2.82.1 400s 1..4 400s ok - glib/gobject-query.py.test 400s # Running test: glib/thread-deprecated.test 400s TAP version 14 400s # random seed: R02S8ddcc0fb1907abf89f9aaf18b6be4221 400s 1..6 400s # Start of thread tests 400s ok 1 /thread/mutex 401s ok 2 /thread/static-rec-mutex 405s # Executing: glib/thread-deprecated.test 405s ok 3 /thread/static-private 405s # slow test /thread/static-private executed in 4.41 secs 410s # Executing: glib/thread-deprecated.test 410s ok 4 /thread/static-rw-lock 410s # slow test /thread/static-rw-lock executed in 5.00 secs 410s ok 5 /thread/once 415s # Executing: glib/thread-deprecated.test 420s # Executing: glib/thread-deprecated.test 420s ok 6 /thread/rerun-all 420s # slow test /thread/rerun-all executed in 9.83 secs 420s # End of thread tests 420s ok - glib/thread-deprecated.test 420s # Running test: glib/thread-pool.test 420s TAP version 14 420s # random seed: R02Sd1b0b58c77e82fbf21071ba517df3e62 420s 1..5 420s # Start of thread_pool tests 420s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 420s ok 1 /thread_pool/shared 420s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 420s ok 2 /thread_pool/exclusive 420s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 420s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 420s ok 3 /thread_pool/create_shared_after_exclusive 420s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 420s ok 4 /thread_pool/create_full 420s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 420s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 420s ok 5 /thread_pool/create_exclusive_after_shared 420s # End of thread_pool tests 420s ok - glib/thread-pool.test 420s # Running test: glib/data-input-stream.test 420s TAP version 14 420s # random seed: R02S68709157494aea93bb765fbb11c0a835 420s 1..10 420s # Start of data-input-stream tests 420s ok 1 /data-input-stream/basic 420s ok 2 /data-input-stream/read-lines-LF 420s ok 3 /data-input-stream/read-lines-LF-valid-utf8 420s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 420s ok 5 /data-input-stream/read-lines-CR 420s ok 6 /data-input-stream/read-lines-CR-LF 420s ok 7 /data-input-stream/read-lines-any 420s ok 8 /data-input-stream/read-until 420s ok 9 /data-input-stream/read-upto 420s ok 10 /data-input-stream/read-int 420s # End of data-input-stream tests 420s ok - glib/data-input-stream.test 420s # Running test: glib/utils.test 420s TAP version 14 420s # random seed: R02Se7fb843f71f77842bf06eefc71640d9d 420s 1..40 420s # Start of utils tests 420s ok 1 /utils/language-names 420s ok 2 /utils/locale-variants 420s ok 3 /utils/version 420s ok 4 /utils/appname 420s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 420s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 420s ok 5 /utils/prgname-thread-safety 420s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 420s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 420s ok 6 /utils/tmpdir 420s ok 7 /utils/basic_bits 420s ok 8 /utils/bits 420s ok 9 /utils/swap 420s ok 10 /utils/find-program 420s ok 11 /utils/find-program-for-path 420s ok 12 /utils/debug 420s ok 13 /utils/codeset 420s ok 14 /utils/codeset2 420s ok 15 /utils/console-charset 420s ok 16 /utils/gettext 420s ok 17 /utils/username 420s ok 18 /utils/realname 420s ok 19 /utils/hostname 420s ok 20 /utils/xdgdirs 420s ok 21 /utils/specialdir 420s # NAME: Ubuntu 420s ok 22 /utils/os-info 420s ok 23 /utils/clear-pointer 420s ok 24 /utils/clear-pointer-cast 420s ok 25 /utils/take-pointer 420s ok 26 /utils/clear-source 420s ok 27 /utils/misc-mem 420s # /utils/aligned-mem summary: Aligned memory allocator 420s # Alignment must not be zero 420s # Alignment must be a power of two 420s # Alignment must be a multiple of sizeof(void*) 420s ok 28 /utils/aligned-mem 420s # /utils/free-sized summary: Check that g_free_sized() works 420s ok 29 /utils/free-sized 420s ok 30 /utils/nullify 420s ok 31 /utils/atexit 420s ok 32 /utils/check-setuid 420s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 420s ok 33 /utils/int-limits 420s ok 34 /utils/clear-list 420s ok 35 /utils/clear-slist 420s # Start of specialdir tests 420s ok 36 /utils/specialdir/desktop 420s # End of specialdir tests 420s # Start of clear-pointer tests 420s ok 37 /utils/clear-pointer/side-effects 420s # End of clear-pointer tests 420s # Start of aligned-mem tests 420s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 420s ok 38 /utils/aligned-mem/alignment 420s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 420s ok 39 /utils/aligned-mem/zeroed 420s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 420s ok 40 /utils/aligned-mem/free-sized 420s # Start of subprocess tests 420s # End of subprocess tests 420s # End of aligned-mem tests 420s # End of utils tests 420s ok - glib/utils.test 420s # Running test: glib/markup-collect.test 420s TAP version 14 420s # random seed: R02S6cf2c16049685309b817dafe94bc4f2f 420s 1..21 420s # Start of markup tests 420s # Start of collect tests 420s ok 1 /markup/collect/0 420s ok 2 /markup/collect/1 420s ok 3 /markup/collect/2 420s ok 4 /markup/collect/3 420s ok 5 /markup/collect/4 420s ok 6 /markup/collect/5 420s ok 7 /markup/collect/6 420s ok 8 /markup/collect/7 420s ok 9 /markup/collect/8 420s ok 10 /markup/collect/9 420s ok 11 /markup/collect/10 420s ok 12 /markup/collect/11 420s ok 13 /markup/collect/12 420s ok 14 /markup/collect/13 420s ok 15 /markup/collect/14 420s ok 16 /markup/collect/15 420s ok 17 /markup/collect/16 420s ok 18 /markup/collect/17 420s ok 19 /markup/collect/18 420s ok 20 /markup/collect/19 420s ok 21 /markup/collect/cleanup 420s # End of collect tests 420s # End of markup tests 420s ok - glib/markup-collect.test 420s # Running test: glib/dataset.test 420s TAP version 14 420s # random seed: R02S76679e0e974c92f2c89fb94ace8e3a9c 420s 1..14 420s # Start of quark tests 420s ok 1 /quark/basic 420s ok 2 /quark/string 420s # End of quark tests 420s # Start of dataset tests 420s ok 3 /dataset/basic 420s ok 4 /dataset/id 420s ok 5 /dataset/full 420s ok 6 /dataset/foreach 420s ok 7 /dataset/destroy 420s # End of dataset tests 420s # Start of datalist tests 420s ok 8 /datalist/basic 420s ok 9 /datalist/id 420s ok 10 /datalist/recursive-clear 420s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 420s ok 11 /datalist/id-remove-multiple 420s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 420s ok 12 /datalist/id-remove-multiple-destroy-order 420s ok 13 /datalist/update-atomic 420s # Start of id-remove-multiple tests 420s ok 14 /datalist/id-remove-multiple/resize 420s # End of id-remove-multiple tests 420s # End of datalist tests 420s ok - glib/dataset.test 420s # Running test: glib/gdbus-threading.test 420s TAP version 14 420s # random seed: R02Sd167000c755cca4404cdf1ff703774d8 420s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 420s ok - glib/gdbus-threading.test 420s # Running test: glib/type-flags.test 420s TAP version 14 420s # random seed: R02S80853471c001eda2b926ad0f45ecea64 420s 1..4 420s # Start of type tests 420s # Start of flags tests 420s ok 1 /type/flags/interface 420s ok 2 /type/flags/final 420s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 420s ok 3 /type/flags/deprecated 420s # Start of final tests 420s ok 4 /type/flags/final/instance-check 420s # End of final tests 420s # End of flags tests 420s # End of type tests 420s ok - glib/type-flags.test 420s # Running test: glib/atomic-c-17.test 420s TAP version 14 420s # random seed: R02S70a08297ca67907eb0b5a7357f358bf8 420s 1..2 420s # Start of atomic tests 420s ok 1 /atomic/types 420s ok 2 /atomic/threaded 420s # End of atomic tests 420s ok - glib/atomic-c-17.test 420s # Running test: glib/mount-operation.test 420s TAP version 14 420s # random seed: R02S5a49458be4647085117fb77df2ff8815 420s 1..2 420s # Start of mount-operation tests 420s ok 1 /mount-operation/construction 420s ok 2 /mount-operation/properties 420s # End of mount-operation tests 420s ok - glib/mount-operation.test 420s # Running test: glib/dump.test 420s TAP version 14 420s # random seed: R02S7d1aabb21d21e481421b66d1bfc2d516 420s 1..4 420s # Start of dump tests 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_NX9EX2/dump/empty-file/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_NX9EX2/dump/empty-file/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_NX9EX2/dump/empty-file/.dirs/system-config1:/tmp/test_dump_NX9EX2/dump/empty-file/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_NX9EX2/dump/empty-file/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_NX9EX2/dump/empty-file/.dirs/system-data1:/tmp/test_dump_NX9EX2/dump/empty-file/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_NX9EX2/dump/empty-file/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_NX9EX2/dump/empty-file/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_NX9EX2/dump/empty-file/.dirs/runtime 420s ok 1 /dump/empty-file 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_NX9EX2/dump/missing-get-type/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_NX9EX2/dump/missing-get-type/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_NX9EX2/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_NX9EX2/dump/missing-get-type/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_NX9EX2/dump/missing-get-type/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_NX9EX2/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_NX9EX2/dump/missing-get-type/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_NX9EX2/dump/missing-get-type/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_NX9EX2/dump/missing-get-type/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_NX9EX2/dump/missing-get-type/.dirs/runtime 420s Invalid GType function: 'does_not_exist_get_type' 420s ok 2 /dump/missing-get-type 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_NX9EX2/dump/missing-quark/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_NX9EX2/dump/missing-quark/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_NX9EX2/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_NX9EX2/dump/missing-quark/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_NX9EX2/dump/missing-quark/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_NX9EX2/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_NX9EX2/dump/missing-quark/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_NX9EX2/dump/missing-quark/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_NX9EX2/dump/missing-quark/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_NX9EX2/dump/missing-quark/.dirs/runtime 420s Invalid error quark function: 'does_not_exist_error' 420s ok 3 /dump/missing-quark 420s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_NX9EX2/dump/basic/.dirs/home 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_NX9EX2/dump/basic/.dirs/cache 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_NX9EX2/dump/basic/.dirs/system-config1:/tmp/test_dump_NX9EX2/dump/basic/.dirs/system-config2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_NX9EX2/dump/basic/.dirs/config 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_NX9EX2/dump/basic/.dirs/system-data1:/tmp/test_dump_NX9EX2/dump/basic/.dirs/system-data2 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_NX9EX2/dump/basic/.dirs/data 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_NX9EX2/dump/basic/.dirs/state 420s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_NX9EX2/dump/basic/.dirs/runtime 420s ok 4 /dump/basic 420s # End of dump tests 420s ok - glib/dump.test 420s # Running test: glib/properties.test 420s TAP version 14 420s # random seed: R02S2f5d7738fe83c2f80fbccc9be603e3f8 420s 1..13 420s # Start of properties tests 420s ok 1 /properties/install 420s ok 2 /properties/install-many 420s ok 3 /properties/notify 420s ok 4 /properties/notify-queue 420s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 420s ok 5 /properties/construct 420s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 420s # Test g_object_get_property with an initialized value 420s # Test g_object_get_property with an uninitialized value 420s # Test g_object_get_property with a transformable value 420s ok 6 /properties/get-property 420s ok 7 /properties/testv_with_no_properties 420s ok 8 /properties/testv_with_valid_properties 420s ok 9 /properties/testv_with_invalid_property_type 420s ok 10 /properties/testv_with_invalid_property_names 420s ok 11 /properties/testv_getv 420s ok 12 /properties/testv_notify_queue 420s # Start of set-property tests 420s # Start of variant tests 420s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 420s ok 13 /properties/set-property/variant/floating 420s # End of variant tests 420s # End of set-property tests 420s # End of properties tests 421s ok - glib/properties.test 421s # Running test: glib/refcount-macro.test 421s TAP version 14 421s # random seed: R02S65ef6cdc60784a94af320144edee9301 421s 1..4 421s # Start of refcount tests 421s ok 1 /refcount/grefcount 421s ok 2 /refcount/gatomicrefcount 421s # Start of grefcount tests 421s ok 3 /refcount/grefcount/saturation 421s # End of grefcount tests 421s # Start of gatomicrefcount tests 421s ok 4 /refcount/gatomicrefcount/saturation 421s # End of gatomicrefcount tests 421s # End of refcount tests 421s ok - glib/refcount-macro.test 421s # Running test: glib/ifaceproperties.test 421s TAP version 14 421s # random seed: R02Sbc37b35b69e17c96cb2baaac09604bc4 421s 1..7 421s # Start of interface tests 421s # Start of properties tests 421s ok 1 /interface/properties/set 421s ok 2 /interface/properties/notify 421s ok 3 /interface/properties/find-overridden 421s ok 4 /interface/properties/list-overridden 421s ok 5 /interface/properties/find-interface 421s ok 6 /interface/properties/list-interface 421s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 421s ok 7 /interface/properties/not-overridden 421s # End of properties tests 421s # End of interface tests 421s ok - glib/ifaceproperties.test 421s # Running test: glib/proxy-test.test 421s TAP version 14 421s # random seed: R02Sd8ce51dea962a6c50bcba67bd074471d 421s 1..11 421s # Start of proxy tests 421s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 421s ok 1 /proxy/direct_sync 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e209c0 and GSocketClientAsyncConnectData 0x144724e16260 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 421s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x144724e213d0 for GSocketClientAsyncConnectData 0x144724e16260 421s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 421s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 421s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 421s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 421s ok 2 /proxy/direct_async 421s ok 3 /proxy/single_sync 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e22cd0 and GSocketClientAsyncConnectData 0x144724e21e20 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 421s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x144724e23830 for GSocketClientAsyncConnectData 0x144724e21e20 421s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 421s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 421s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 421s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 421s ok 4 /proxy/single_async 421s ok 5 /proxy/multiple_sync 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e23560 and GSocketClientAsyncConnectData 0x144724e23330 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 421s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x144724e23eb0 for GSocketClientAsyncConnectData 0x144724e23330 421s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 421s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 421s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 421s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x144724e238c0 for GSocketClientAsyncConnectData 0x144724e23330 421s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 421s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 421s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 421s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 421s ok 6 /proxy/multiple_async 421s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 421s ok 7 /proxy/invalid-uris-sync 421s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e23c40 and GSocketClientAsyncConnectData 0x144724e23140 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 421s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e22cd0 and GSocketClientAsyncConnectData 0x144724e23140 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 421s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e22cd0 and GSocketClientAsyncConnectData 0x144724e23140 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 421s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x144724e21930 for GSocketClientAsyncConnectData 0x144724e23140 421s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 421s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 421s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 421s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e23560 and GSocketClientAsyncConnectData 0x144724e23620 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 421s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x144724e21be0 for GSocketClientAsyncConnectData 0x144724e23620 421s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 421s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 421s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 421s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 421s ok 8 /proxy/invalid-uris-async 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e22cd0 and GSocketClientAsyncConnectData 0x144724e232b0 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 421s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 421s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e232b0 and GSocketClientAsyncConnectData 0x144724e23620 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 421s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x144724e245e0 for GSocketClientAsyncConnectData 0x144724e23620 421s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 421s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 421s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 421s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e22cd0 and GSocketClientAsyncConnectData 0x144724e23140 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 421s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x144724e23310 for GSocketClientAsyncConnectData 0x144724e23140 421s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 421s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 421s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 421s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 421s ok 9 /proxy/dns 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e21810 and GSocketClientAsyncConnectData 0x144724e23900 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 421s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x144724e245e0 for GSocketClientAsyncConnectData 0x144724e23900 421s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 421s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 421s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 421s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e229e0 and GSocketClientAsyncConnectData 0x144724e22c10 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 421s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x144724e21be0 for GSocketClientAsyncConnectData 0x144724e22c10 421s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 421s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 421s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 421s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 421s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 421s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x144724e232b0 and GSocketClientAsyncConnectData 0x144724e23900 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 421s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x144724e24600 for GSocketClientAsyncConnectData 0x144724e23900 421s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 421s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 421s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 421s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 421s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 421s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 421s ok 10 /proxy/override 421s ok 11 /proxy/enumerator-ports 421s # End of proxy tests 421s ok - glib/proxy-test.test 421s # Running test: glib/function-info.test 421s TAP version 14 421s # random seed: R02Sd17ef9fe24d16d7a63e19b9470fa5aae 421s 1..1 421s # Start of function-info tests 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_KN95W2/function-info/invoker/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_KN95W2/function-info/invoker/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_KN95W2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_KN95W2/function-info/invoker/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_KN95W2/function-info/invoker/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_KN95W2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_KN95W2/function-info/invoker/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_KN95W2/function-info/invoker/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_KN95W2/function-info/invoker/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_KN95W2/function-info/invoker/.dirs/runtime 421s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 421s # /function-info/invoker summary: Test preparing a function invoker 421s ok 1 /function-info/invoker 421s # End of function-info tests 421s ok - glib/function-info.test 421s # Running test: glib/throws.test 421s TAP version 14 421s # random seed: R02Sdd4b8800050afcc4d35d9b230ad04bd5 421s 1..3 421s # Start of throws tests 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_8EI6W2/throws/invoke-gerror/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_8EI6W2/throws/invoke-gerror/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_8EI6W2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_8EI6W2/throws/invoke-gerror/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_8EI6W2/throws/invoke-gerror/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_8EI6W2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_8EI6W2/throws/invoke-gerror/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_8EI6W2/throws/invoke-gerror/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_8EI6W2/throws/invoke-gerror/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_8EI6W2/throws/invoke-gerror/.dirs/runtime 421s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 421s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 421s ok 1 /throws/invoke-gerror 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_8EI6W2/throws/vfunc-can-throw-gerror/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_8EI6W2/throws/vfunc-can-throw-gerror/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_8EI6W2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_8EI6W2/throws/vfunc-can-throw-gerror/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_8EI6W2/throws/vfunc-can-throw-gerror/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_8EI6W2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_8EI6W2/throws/vfunc-can-throw-gerror/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_8EI6W2/throws/vfunc-can-throw-gerror/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_8EI6W2/throws/vfunc-can-throw-gerror/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_8EI6W2/throws/vfunc-can-throw-gerror/.dirs/runtime 421s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 421s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 421s ok 2 /throws/vfunc-can-throw-gerror 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_8EI6W2/throws/callback-can-throw-gerror/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_8EI6W2/throws/callback-can-throw-gerror/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_8EI6W2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_8EI6W2/throws/callback-can-throw-gerror/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_8EI6W2/throws/callback-can-throw-gerror/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_8EI6W2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_8EI6W2/throws/callback-can-throw-gerror/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_8EI6W2/throws/callback-can-throw-gerror/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_8EI6W2/throws/callback-can-throw-gerror/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_8EI6W2/throws/callback-can-throw-gerror/.dirs/runtime 421s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 421s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 421s ok 3 /throws/callback-can-throw-gerror 421s # End of throws tests 421s ok - glib/throws.test 421s # Running test: glib/markup-escape.test 421s TAP version 14 421s # random seed: R02S5eb8a275adb8ed3a4353358e90f8d2d8 421s 1..41 421s # Start of markup tests 421s ok 1 /markup/format 421s # Start of escape-text tests 421s ok 2 /markup/escape-text/0 421s ok 3 /markup/escape-text/1 421s ok 4 /markup/escape-text/2 421s ok 5 /markup/escape-text/3 421s ok 6 /markup/escape-text/4 421s ok 7 /markup/escape-text/5 421s ok 8 /markup/escape-text/6 421s ok 9 /markup/escape-text/7 421s ok 10 /markup/escape-text/8 421s ok 11 /markup/escape-text/9 421s ok 12 /markup/escape-text/10 421s ok 13 /markup/escape-text/11 421s ok 14 /markup/escape-text/12 421s ok 15 /markup/escape-text/13 421s ok 16 /markup/escape-text/14 421s ok 17 /markup/escape-text/15 421s ok 18 /markup/escape-text/16 421s ok 19 /markup/escape-text/17 421s ok 20 /markup/escape-text/18 421s ok 21 /markup/escape-text/19 421s ok 22 /markup/escape-text/20 421s ok 23 /markup/escape-text/21 421s ok 24 /markup/escape-text/22 421s # End of escape-text tests 421s # Start of escape-unichar tests 421s ok 25 /markup/escape-unichar/0 421s ok 26 /markup/escape-unichar/1 421s ok 27 /markup/escape-unichar/2 421s ok 28 /markup/escape-unichar/3 421s ok 29 /markup/escape-unichar/4 421s ok 30 /markup/escape-unichar/5 421s ok 31 /markup/escape-unichar/6 421s ok 32 /markup/escape-unichar/7 421s ok 33 /markup/escape-unichar/8 421s ok 34 /markup/escape-unichar/9 421s ok 35 /markup/escape-unichar/10 421s ok 36 /markup/escape-unichar/11 421s ok 37 /markup/escape-unichar/12 421s ok 38 /markup/escape-unichar/13 421s ok 39 /markup/escape-unichar/14 421s ok 40 /markup/escape-unichar/15 421s ok 41 /markup/escape-unichar/16 421s # End of escape-unichar tests 421s # End of markup tests 421s ok - glib/markup-escape.test 421s # Running test: glib/gdbus-connection-slow.test 421s TAP version 14 421s # random seed: R02Sf7da8f2e7f255ce3a965334f0f84c279 421s 1..2 421s # Start of gdbus tests 421s # Start of connection tests 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/flush/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/flush/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/flush/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/flush/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/flush/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/flush/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/flush/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/flush/.dirs/runtime 421s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s ok 1 /gdbus/connection/flush 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/large_message/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/large_message/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/large_message/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/large_message/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/large_message/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/large_message/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/large_message/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_2PM6W2/gdbus/connection/large_message/.dirs/runtime 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 421s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 421s ok 2 /gdbus/connection/large_message 421s # End of connection tests 421s # End of gdbus tests 421s ok - glib/gdbus-connection-slow.test 421s # Running test: glib/utils-isolated.test 421s TAP version 14 421s # random seed: R02S4d081153b70d58daf15614ccf6d6137a 421s 1..11 421s # Start of utils-isolated tests 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/tmp-dir/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/tmp-dir/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/tmp-dir/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/tmp-dir/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/tmp-dir/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/tmp-dir/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/tmp-dir/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TA3KX2/utils-isolated/tmp-dir/.dirs/runtime 421s ok 1 /utils-isolated/tmp-dir 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/home-dir/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/home-dir/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/home-dir/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/home-dir/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/home-dir/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/home-dir/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/home-dir/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TA3KX2/utils-isolated/home-dir/.dirs/runtime 421s ok 2 /utils-isolated/home-dir 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-cache-dir/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-cache-dir/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/user-cache-dir/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-cache-dir/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/user-cache-dir/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-cache-dir/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-cache-dir/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-cache-dir/.dirs/runtime 421s ok 3 /utils-isolated/user-cache-dir 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-config-dirs/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-config-dirs/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/system-config-dirs/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-config-dirs/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/system-config-dirs/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-config-dirs/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-config-dirs/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-config-dirs/.dirs/runtime 421s ok 4 /utils-isolated/system-config-dirs 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-config-dir/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-config-dir/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/user-config-dir/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-config-dir/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/user-config-dir/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-config-dir/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-config-dir/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-config-dir/.dirs/runtime 421s ok 5 /utils-isolated/user-config-dir 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-data-dirs/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-data-dirs/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/system-data-dirs/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-data-dirs/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/system-data-dirs/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-data-dirs/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-data-dirs/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TA3KX2/utils-isolated/system-data-dirs/.dirs/runtime 421s ok 6 /utils-isolated/system-data-dirs 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-data-dir/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-data-dir/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/user-data-dir/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-data-dir/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/user-data-dir/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-data-dir/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-data-dir/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-data-dir/.dirs/runtime 421s ok 7 /utils-isolated/user-data-dir 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-state-dir/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-state-dir/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/user-state-dir/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-state-dir/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/user-state-dir/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-state-dir/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-state-dir/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-state-dir/.dirs/runtime 421s ok 8 /utils-isolated/user-state-dir 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-runtime-dir/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-runtime-dir/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/user-runtime-dir/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-runtime-dir/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/user-runtime-dir/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-runtime-dir/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-runtime-dir/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TA3KX2/utils-isolated/user-runtime-dir/.dirs/runtime 421s ok 9 /utils-isolated/user-runtime-dir 421s # Start of cleanup tests 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs/runtime 421s Unable to clean up temporary directory /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 421s Unable to clean up temporary directory /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 421s Unable to clean up temporary directory /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/handles-errors: Directory not empty 421s ok 10 /utils-isolated/cleanup/handles-errors 421s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 421s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 421s Unable to clean up temporary directory /tmp/test_utils-isolated_TA3KX2/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 421s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 421s # End of cleanup tests 421s # End of utils-isolated tests 421s ok - glib/utils-isolated.test 421s # Running test: glib/overflow.test 421s TAP version 14 421s # random seed: R02Sde4cc64ac9b170b5cfad88a1d257079e 421s 1..6 421s # Start of glib tests 421s # Start of checked-math tests 421s ok 1 /glib/checked-math/guint-add 421s ok 2 /glib/checked-math/guint-mul 421s ok 3 /glib/checked-math/guint64-add 421s ok 4 /glib/checked-math/guint64-mul 421s ok 5 /glib/checked-math/gsize-add 421s ok 6 /glib/checked-math/gsize-mul 421s # End of checked-math tests 421s # End of glib tests 421s ok - glib/overflow.test 421s # Running test: glib/task.test 421s TAP version 14 421s # random seed: R02Sddf6a9c4584da57481772a2dfe99ef8b 421s 1..36 421s # Start of gtask tests 421s ok 1 /gtask/basic 421s ok 2 /gtask/error 421s ok 3 /gtask/error-literal 421s ok 4 /gtask/error-literal-from-variable 421s ok 5 /gtask/return-from-same-iteration 421s ok 6 /gtask/return-from-toplevel 421s ok 7 /gtask/return-from-anon-thread 421s ok 8 /gtask/return-from-wrong-thread 421s ok 9 /gtask/no-callback 421s ok 10 /gtask/report-error 421s ok 11 /gtask/priority 421s ok 12 /gtask/name 421s ok 13 /gtask/static-name 421s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 422s ok 14 /gtask/asynchronous-cancellation 422s ok 15 /gtask/check-cancellable 422s ok 16 /gtask/return-if-cancelled 422s ok 17 /gtask/run-in-thread 422s ok 18 /gtask/run-in-thread-sync 422s ok 19 /gtask/run-in-thread-priority 422s ok 20 /gtask/run-in-thread-nested 422s ok 21 /gtask/run-in-thread-overflow 422s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 422s # GLib-GIO-DEBUG: GTask 0x13c85ef234a0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 422s # GLib-GIO-DEBUG: GTask 0x13c85ef22fc0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 422s ok 22 /gtask/return-on-cancel 422s # GLib-GIO-DEBUG: GTask 0x13c85ef91f80 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 422s # GLib-GIO-DEBUG: GTask 0x13c85ef22b80 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 422s ok 23 /gtask/return-on-cancel-sync 422s ok 24 /gtask/return-on-cancel-atomic 422s ok 25 /gtask/return-pointer 422s ok 26 /gtask/return-value 422s ok 27 /gtask/return-prefixed-error 422s ok 28 /gtask/object-keepalive 422s ok 29 /gtask/legacy-error 422s ok 30 /gtask/finalize-without-return 422s # Start of name tests 422s ok 31 /gtask/name/macro-wrapper 422s # End of name tests 422s # Start of return tests 422s ok 32 /gtask/return/error-first 422s ok 33 /gtask/return/value-first 422s # Start of in-idle tests 422s ok 34 /gtask/return/in-idle/error-first 422s ok 35 /gtask/return/in-idle/value-first 422s # End of in-idle tests 422s # End of return tests 422s # Start of attach-source tests 422s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 422s ok 36 /gtask/attach-source/set-name 422s # End of attach-source tests 422s # End of gtask tests 422s ok - glib/task.test 422s # Running test: glib/properties-refcount3.test 422s TAP version 14 422s # random seed: R02S188044763d213403d3c2e6529fcc8638 422s 1..1 422s # Start of gobject tests 422s # Start of refcount tests 425s # Executing: glib/properties-refcount3.test 430s # Executing: glib/properties-refcount3.test 435s # Executing: glib/properties-refcount3.test 440s # Executing: glib/properties-refcount3.test 445s # Executing: glib/properties-refcount3.test 450s # Executing: glib/properties-refcount3.test 452s # 452s # stopping 452s # 452s # stopped 452s # 452s # 11348316 101617 452s # 452s ok 1 /gobject/refcount/properties-3 452s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 452s # End of refcount tests 452s # End of gobject tests 452s ok - glib/properties-refcount3.test 452s # Running test: glib/bindinggroup.test 452s TAP version 14 452s # random seed: R02Scaa583b2436288ff544042d4b394ab1f 452s 1..11 452s # Start of GObject tests 452s # Start of BindingGroup tests 452s ok 1 /GObject/BindingGroup/invalid 452s ok 2 /GObject/BindingGroup/default 452s ok 3 /GObject/BindingGroup/bidirectional 452s ok 4 /GObject/BindingGroup/transform 452s ok 5 /GObject/BindingGroup/transform-closures 452s ok 6 /GObject/BindingGroup/same-object 452s ok 7 /GObject/BindingGroup/weak-ref-source 452s ok 8 /GObject/BindingGroup/weak-ref-target 452s ok 9 /GObject/BindingGroup/properties 452s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 452s ok 11 /GObject/BindingGroup/empty-closures 452s # End of BindingGroup tests 452s # End of GObject tests 452s ok - glib/bindinggroup.test 452s # Running test: glib/type.test 452s TAP version 14 452s # random seed: R02Sf46255c465e573b3b8585d8d7f63c933 452s 1..6 452s # Start of type tests 452s ok 1 /type/registration-serial 452s ok 2 /type/interface-prerequisite 452s ok 3 /type/interface-check 452s ok 4 /type/next-base 452s ok 5 /type/is-a 452s # Invalid types can?t be queried. 452s # Unclassed types can?t be queried. 452s ok 6 /type/query 452s # End of type tests 452s ok - glib/type.test 452s # Running test: glib/gdbus-peer-object-manager.test 452s TAP version 14 452s # random seed: R02Sf08ee754bbc425d5f70a6e9f472a072e 452s 1..2 452s # Start of gdbus tests 452s # Start of peer-object-manager tests 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/normal/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/normal/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/normal/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/normal/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/normal/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/normal/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/normal/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/normal/.dirs/runtime 452s ok 1 /gdbus/peer-object-manager/normal 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/root/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/root/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/root/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/root/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/root/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/root/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/root/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_MT6BX2/gdbus/peer-object-manager/root/.dirs/runtime 452s ok 2 /gdbus/peer-object-manager/root 452s # End of peer-object-manager tests 452s # End of gdbus tests 452s ok - glib/gdbus-peer-object-manager.test 452s # Running test: glib/gdbus-method-invocation.test 452s TAP version 14 452s # random seed: R02S417ed07b763cb73b81eebef65e730de3 452s 1..1 452s # Start of gdbus tests 452s # Start of method-invocation tests 452s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_749AX2/gdbus/method-invocation/return/.dirs/home 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_749AX2/gdbus/method-invocation/return/.dirs/cache 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_749AX2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_749AX2/gdbus/method-invocation/return/.dirs/system-config2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_749AX2/gdbus/method-invocation/return/.dirs/config 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_749AX2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_749AX2/gdbus/method-invocation/return/.dirs/system-data2 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_749AX2/gdbus/method-invocation/return/.dirs/data 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_749AX2/gdbus/method-invocation/return/.dirs/state 452s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_749AX2/gdbus/method-invocation/return/.dirs/runtime 452s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 452s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 452s # Calling org.freedesktop.DBus.Properties.Get 452s # Calling org.freedesktop.DBus.Properties.Get 452s # Calling org.freedesktop.DBus.Properties.Get 452s # Calling org.freedesktop.DBus.Properties.Set 452s # Calling org.freedesktop.DBus.Properties.GetAll 452s # Calling org.example.Foo.WrongReturnType 452s # Calling org.example.Foo.GetFDs 452s # Calling org.example.Foo.GetFDs 452s # Calling org.example.Foo.ReturnError 452s # Calling org.example.Foo.CloseBeforeReturning 452s ok 1 /gdbus/method-invocation/return 452s # End of method-invocation 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-method-invocation.test 452s # Running test: glib/bitlock.test 452s TAP version 14 452s # random seed: R02Sf25ac549731ac1146fc18c2cbc45b289 452s 1..1 452s # Start of bitlock tests 452s # Start of performance tests 452s # max perf: iterations per second 452s ok 1 /bitlock/performance/uncontended 452s # End of performance tests 452s # End of bitlock tests 452s ok - glib/bitlock.test 452s # Running test: glib/live-g-file.test 452s TAP version 14 452s # random seed: R02S0df2d0eed975ed9c0dc601032239c6b5 452s 1..13 452s # Start of live-g-file tests 452s # Cleaning target testing structure in 'testdir_live-g-file'... 452s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 452s ok 1 /live-g-file/prep_clean_structure 452s # 452s # Going to create testing structure in 'testdir_live-g-file'... 452s # Creating directory 'dir1'... 452s # Creating directory 'dir1/subdir'... 452s # Creating directory 'dir2'... 452s # Creating directory 'dir-target'... 452s # Creating directory 'dir_no-access'... 452s # Creating directory 'dir_no-write'... 452s # Creating file 'target-file'... 452s # Creating file 'normal_file'... 452s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 452s # Creating file 'executable_file'... 452s # Creating file 'private_file'... 452s # Creating file 'normal_file2'... 452s # Creating file 'readonly_file'... 452s # Creating file 'UTF_pr?i?lis? z'... 452s # Creating directory 'dir_pr?i?lis? z'... 452s # Creating symlink 'lost_symlink' --> 'nowhere'... 452s # Creating directory 'dir_hidden'... 452s # Creating file 'dir_hidden/.a-hidden-file'... 452s # Creating file 'dir_hidden/file-in-.hidden1'... 452s # Creating file 'dir_hidden/file-in-.hidden2'... 452s # Creating pattern file... 452s # done. 452s ok 2 /live-g-file/create_structure 452s # Testing sample structure in 'testdir_live-g-file'... 452s # Testing file 'dir1'... 452s # Testing file 'dir1/subdir'... 452s # Testing file 'dir2'... 452s # Testing file 'dir-target'... 452s # Testing file 'dir_no-access'... 452s # Testing file 'dir_no-write'... 452s # Testing file 'target-file'... 452s # Testing file 'normal_file'... 452s # Testing file 'normal_file-symlink'... 452s # Testing file 'executable_file'... 452s # Testing file 'private_file'... 452s # Testing file 'normal_file2'... 452s # Testing file 'readonly_file'... 452s # Testing file 'UTF_pr?i?lis? z'... 452s # Testing file 'dir_pr?i?lis? z'... 452s # Testing file 'lost_symlink'... 452s # Testing file 'dir_hidden'... 452s # Testing file 'dir_hidden/.a-hidden-file'... 452s # Testing file 'dir_hidden/file-in-.hidden1'... 452s # Testing file 'dir_hidden/file-in-.hidden2'... 452s # Testing pattern file... 452s # read 65536 bytes, total = 65536 of 65536. 452s ok 3 /live-g-file/test_initial_structure 452s # Traversing through the sample structure in 'testdir_live-g-file'... 452s # Found file dir1, relative to root: dir1 452s # Found file subdir, relative to root: dir1/subdir 452s # Found file dir2, relative to root: dir2 452s # Found file dir-target, relative to root: dir-target 452s # Found file dir_no-access, relative to root: dir_no-access 452s # Found file dir_no-write, relative to root: dir_no-write 452s # Found file target-file, relative to root: target-file 452s # Found file normal_file, relative to root: normal_file 452s # Found file normal_file-symlink, relative to root: normal_file-symlink 452s # Found file executable_file, relative to root: executable_file 452s # Found file private_file, relative to root: private_file 452s # Found file normal_file2, relative to root: normal_file2 452s # Found file readonly_file, relative to root: readonly_file 452s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 452s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 452s # Found file lost_symlink, relative to root: lost_symlink 452s # Found file dir_hidden, relative to root: dir_hidden 452s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 452s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 452s # Found file .hidden, relative to root: dir_hidden/.hidden 452s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 452s # Found file pattern_file, relative to root: pattern_file 452s ok 4 /live-g-file/test_traverse_structure 452s # Test enumerate 'testdir_live-g-file'... 452s # Testing file 'dir_no-access' 452s # Testing file 'normal_file' 452s # Testing file 'normal_file-symlink' 452s # Testing file 'not_exists' 452s # Testing file 'not_exists' 452s # Testing file 'not_exists2' 452s # Testing file 'not_exists3' 452s # Testing file 'not_exists4' 452s # Testing file 'dir_no-execute/file' 452s ok 5 /live-g-file/test_enumerate 452s # test_open: 'dir1' 452s # test_open: 'dir_no-access' 452s # test_open: 'target-file' 452s # test_open: 'normal_file-symlink' 452s # test_open: 'executable_file' 452s # test_open: 'private_file' 452s # test_open: 'readonly_file' 452s # test_open: 'UTF_pr?i?lis? z' 452s # test_open: 'pattern_file' 452s # test_open: 'not_exists' 452s # test_open: 'dir_no-execute/file' 452s # test_open: 'lost_symlink' 452s ok 6 /live-g-file/test_open 452s # test_create: 'dir1' 452s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir1?: Is a directory 452s # test_create: 'dir1/subdir' 452s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir1/subdir?: Is a directory 452s # test_create: 'dir2' 452s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir2?: File exists 452s # test_create: 'normal_file' 452s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/normal_file?: File exists 452s # test_create: 'executable_file' 452s # test_create: 'private_file' 452s # test_create: 'normal_file2' 452s # test_create: 'UTF_pr?i?lis? z' 452s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 452s # test_create: 'dir_pr?i?lis? z' 452s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 452s # test_create: 'pattern_file' 452s # test_create: 'not_exists2' 452s # test_create: 'not_exists3' 452s # test_create: 'not_exists4' 452s ok 7 /live-g-file/test_create 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir1/subdir' --> 'dir-target' 452s # res = 0, error code 25 = Can?t recursively copy directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir1/subdir' --> '.' 452s # res = 0, error code 2 = Target file exists 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir1/subdir' --> 'target-file' 452s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir1/subdir' --> 'not_exists' 452s # res = 0, error code 25 = Can?t recursively copy directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 452s # res = 0, error code 25 = Can?t recursively copy directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 452s # res = 0, error code 25 = Can?t recursively copy directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir2' --> 'dir-target' 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir-target' --> 'dir-target' 452s # res = 0, error code 25 = Can?t recursively copy directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir-target' --> '.' 452s # res = 0, error code 2 = Target file exists 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir-target' --> 'target-file' 452s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/target-file/dir-target?: Not a directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir-target' --> 'not_exists' 452s # res = 0, error code 25 = Can?t recursively copy directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir-target' --> 'dir_no-access' 452s # res = 0, error code 25 = Can?t recursively copy directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'dir-target' --> 'dir_no-write' 452s # res = 0, error code 25 = Can?t recursively copy directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'target-file' --> 'dir-target' 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'target-file' --> '.' 452s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/target-file?: File exists 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'target-file' --> 'target-file' 452s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/target-file/target-file?: Not a directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'target-file' --> 'not_exists' 452s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists/target-file?: No such file or directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'target-file' --> 'dir_no-access' 452s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'target-file' --> 'dir_no-write' 452s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'normal_file-symlink' --> '.' 452s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/normal_file-symlink: File exists 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'normal_file-symlink' --> 'target-file' 452s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 452s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 452s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 452s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'executable_file' --> 'dir-target' 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'executable_file' --> 'dir-target' 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'executable_file' --> '.' 452s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/executable_file?: File exists 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'executable_file' --> 'target-file' 452s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/target-file/executable_file?: Not a directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'executable_file' --> 'not_exists' 452s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'executable_file' --> 'dir_no-access' 452s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'executable_file' --> 'dir_no-write' 452s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'private_file' --> 'dir-target' 452s # We do not have CAP_DAC_OVERRIDE or equivalent 452s # do_copy_move: 'private_file' --> 'dir-target' 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'private_file' --> '.' 453s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/private_file?: File exists 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'private_file' --> 'target-file' 453s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/target-file/private_file?: Not a directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'private_file' --> 'not_exists' 453s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists/private_file?: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'private_file' --> 'dir_no-access' 453s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'private_file' --> 'dir_no-write' 453s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'normal_file2' --> 'dir-target' 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'normal_file2' --> 'dir-target' 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'normal_file2' --> '.' 453s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/normal_file2?: File exists 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'normal_file2' --> 'target-file' 453s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/target-file/normal_file2?: Not a directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'normal_file2' --> 'not_exists' 453s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'normal_file2' --> 'dir_no-access' 453s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'normal_file2' --> 'dir_no-write' 453s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 453s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 453s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 453s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 453s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 453s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'pattern_file' --> 'dir-target' 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'pattern_file' --> '.' 453s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/pattern_file?: File exists 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'pattern_file' --> 'target-file' 453s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/target-file/pattern_file?: Not a directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'pattern_file' --> 'not_exists' 453s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'pattern_file' --> 'dir_no-access' 453s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'pattern_file' --> 'dir_no-write' 453s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'not_exists' --> 'dir-target' 453s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists?: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'not_exists' --> '.' 453s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists?: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'not_exists' --> 'target-file' 453s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists?: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'not_exists' --> 'not_exists' 453s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists?: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'not_exists' --> 'dir_no-access' 453s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists?: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'not_exists' --> 'dir_no-write' 453s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists?: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'not_exists' --> 'dir-target' 453s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'lost_symlink' --> 'dir-target' 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'lost_symlink' --> '.' 453s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/lost_symlink: File exists 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'lost_symlink' --> 'target-file' 453s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/target-file/lost_symlink: Not a directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'lost_symlink' --> 'not_exists' 453s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 453s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 453s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 453s ok 8 /live-g-file/test_copy_move 453s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir1 453s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir1: Directory not empty 453s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir2 453s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir2: No such file or directory 453s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/executable_file 453s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/readonly_file 453s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_pr?i?lis? z 453s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists 453s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists: No such file or directory 453s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists 453s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/not_exists: No such file or directory 453s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-execute/file 453s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/dir_no-execute/file: No such file or directory 453s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-C1ABX2/testdir_live-g-file/lost_symlink 453s ok 9 /live-g-file/test_delete 453s # We do not have CAP_DAC_OVERRIDE or equivalent 453s ok 10 /live-g-file/test_make_directory_with_parents 453s # Cleaning target testing structure in 'testdir_live-g-file'... 453s # deleting 'dir1' 453s # deleting 'subdir' 453s # deleting 'dir-target' 453s # deleting 'dir2' 453s # deleting 'target-file' 453s # deleting 'normal_file-symlink' 453s # deleting 'pattern_file' 453s # deleting 'executable_file' 453s # deleting 'private_file' 453s # deleting 'normal_file2' 453s # deleting 'UTF_pr?i?lis? z' 453s # deleting 'lost_symlink' 453s # deleting 'dir_no-access' 453s # deleting 'dir_no-write' 453s # deleting 'target-file' 453s # deleting 'normal_file' 453s # deleting 'normal_file-symlink' 453s # deleting 'executable_file~' 453s # deleting 'private_file' 453s # deleting 'normal_file2~' 453s # deleting 'a' 453s # deleting 'UTF_pr?i?lis? z' 453s # deleting 'dir_hidden' 453s # deleting '.a-hidden-file' 453s # deleting 'file-in-.hidden1' 453s # deleting '.hidden' 453s # deleting 'file-in-.hidden2' 453s # deleting 'pattern_file' 453s # deleting 'normal_file2' 453s # deleting 'not_exists2' 453s # deleting 'not_exists3' 453s # deleting 'not_exists4' 453s ok 11 /live-g-file/final_clean 453s # Start of test_unix_is_mountpoint tests 453s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 453s ok 13 /live-g-file/test_unix_is_mountpoint/proc 453s # End of test_unix_is_mountpoint tests 453s # End of live-g-file tests 453s ok - glib/live-g-file.test 453s # Running test: glib/signalgroup.test 453s TAP version 14 453s # random seed: R02Sdc6ae5b498754a4b9d232d4321fd7fe2 453s 1..9 453s # Start of GObject tests 453s # Start of SignalGroup tests 453s ok 1 /GObject/SignalGroup/invalid 453s ok 2 /GObject/SignalGroup/simple 453s ok 3 /GObject/SignalGroup/changing-target 453s ok 4 /GObject/SignalGroup/blocking 453s ok 5 /GObject/SignalGroup/weak-ref-target 453s ok 6 /GObject/SignalGroup/connect-object 453s ok 7 /GObject/SignalGroup/signal-parsing 453s ok 8 /GObject/SignalGroup/properties 453s ok 9 /GObject/SignalGroup/interface 453s # Start of signal-parsing tests 453s # End of signal-parsing tests 453s # End of SignalGroup tests 453s # End of GObject tests 453s ok - glib/signalgroup.test 453s # Running test: glib/unicode-encoding.test 453s TAP version 14 453s # random seed: R02Sbd42535054ae1d3493da39670a8180c5 453s 1..1 453s # Start of unicode tests 453s ok 1 /unicode/encoding 453s # End of unicode tests 453s ok - glib/unicode-encoding.test 453s # Running test: glib/base64.test 453s TAP version 14 453s # random seed: R02Saef30ecdd767c0097639e2a808588b53 453s 1..28 453s # Start of base64 tests 453s ok 1 /base64/encode 453s ok 2 /base64/decode 453s ok 3 /base64/decode-inplace 453s ok 4 /base64/encode-decode 453s # Start of full tests 453s ok 5 /base64/full/1 453s ok 6 /base64/full/2 453s ok 7 /base64/full/3 453s ok 8 /base64/full/4 453s # End of full tests 453s # Start of encode tests 453s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 453s ok 9 /base64/encode/empty 453s # Start of incremental tests 453s # Start of small-block tests 453s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 453s ok 10 /base64/encode/incremental/small-block/1 453s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 453s ok 11 /base64/encode/incremental/small-block/2 453s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 453s ok 12 /base64/encode/incremental/small-block/3 453s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 453s ok 13 /base64/encode/incremental/small-block/4 453s # End of small-block tests 453s # End of incremental tests 453s # End of encode tests 453s # Start of incremental tests 453s # Start of nobreak tests 453s ok 14 /base64/incremental/nobreak/1 453s ok 15 /base64/incremental/nobreak/2 453s ok 16 /base64/incremental/nobreak/3 453s ok 17 /base64/incremental/nobreak/4-a 453s ok 18 /base64/incremental/nobreak/4-b 453s ok 19 /base64/incremental/nobreak/4-c 453s # End of nobreak tests 453s # Start of break tests 453s ok 20 /base64/incremental/break/1 453s ok 21 /base64/incremental/break/2 453s ok 22 /base64/incremental/break/3 453s # End of break tests 453s # Start of smallblock tests 453s ok 23 /base64/incremental/smallblock/1 453s ok 24 /base64/incremental/smallblock/2 453s ok 25 /base64/incremental/smallblock/3 453s ok 26 /base64/incremental/smallblock/4 453s # End of smallblock tests 453s # End of incremental tests 453s # Start of decode tests 453s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 453s ok 27 /base64/decode/empty 453s # End of decode tests 453s # Start of encode-decode tests 453s # Vector 0: 453s # Vector 1: f 453s # Vector 2: fo 453s # Vector 3: foo 453s # Vector 4: foob 453s # Vector 5: fooba 453s # Vector 6: foobar 453s ok 28 /base64/encode-decode/rfc4648 453s # End of encode-decode tests 453s # End of base64 tests 453s ok - glib/base64.test 453s # Running test: glib/codegen.py.test 453s TAP version 13 453s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 453s # tmpdir: /tmp/tmpz5jfxcb1 453s # codegen: /usr/bin/gdbus-codegen 453s # /tmp/tmpz5jfxcb1/tmpz895c_wn.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz5jfxcb1/tmpz895c_wn.xml', '--output', '-', '--header'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # Output: /* 453s # * This file is generated by gdbus-codegen, do not modify it. 453s # * 453s # * The license of this code is the same as for the D-Bus interface description 453s # * it was derived from. Note that it links to GLib, so must comply with the 453s # * LGPL linking clauses. 453s # */ 453s # 453s # #ifndef __STDOUT__ 453s # #define __STDOUT__ 453s # 453s # #include 453s # 453s # G_BEGIN_DECLS 453s # 453s # 453s # /* ------------------------------------------------------------------------ */ 453s # /* Declarations for org.project.UsefulInterface */ 453s # 453s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 453s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 453s # 453s # struct _OrgProjectUsefulInterface; 453s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 453s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 453s # 453s # struct _OrgProjectUsefulInterfaceIface 453s # { 453s # GTypeInterface parent_iface; 453s # 453s # gboolean (*handle_useful_method) ( 453s # OrgProjectUsefulInterface *object, 453s # GDBusMethodInvocation *invocation); 453s # 453s # }; 453s # 453s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 453s # 453s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 453s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 453s # 453s # 453s # /* D-Bus method call completion functions: */ 453s # void org_project_useful_interface_complete_useful_method ( 453s # OrgProjectUsefulInterface *object, 453s # GDBusMethodInvocation *invocation); 453s # 453s # 453s # 453s # /* D-Bus method calls: */ 453s # void org_project_useful_interface_call_useful_method ( 453s # OrgProjectUsefulInterface *proxy, 453s # GCancellable *cancellable, 453s # GAsyncReadyCallback callback, 453s # gpointer user_data); 453s # 453s # gboolean org_project_useful_interface_call_useful_method_finish ( 453s # OrgProjectUsefulInterface *proxy, 453s # GAsyncResult *res, 453s # GError **error); 453s # 453s # gboolean org_project_useful_interface_call_useful_method_sync ( 453s # OrgProjectUsefulInterface *proxy, 453s # GCancellable *cancellable, 453s # GError **error); 453s # 453s # 453s # 453s # /* ---- */ 453s # 453s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 453s # 453s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 453s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 453s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 453s # 453s # struct _OrgProjectUsefulInterfaceProxy 453s # { 453s # /*< private >*/ 453s # GDBusProxy parent_instance; 453s # OrgProjectUsefulInterfaceProxyPrivate *priv; 453s # }; 453s # 453s # struct _OrgProjectUsefulInterfaceProxyClass 453s # { 453s # GDBusProxyClass parent_class; 453s # }; 453s # 453s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 453s # 453s # #if GLIB_CHECK_VERSION(2, 44, 0) 453s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 453s # #endif 453s # 453s # void org_project_useful_interface_proxy_new ( 453s # GDBusConnection *connection, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GAsyncReadyCallback callback, 453s # gpointer user_data); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 453s # GAsyncResult *res, 453s # GError **error); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 453s # GDBusConnection *connection, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GError **error); 453s # 453s # void org_project_useful_interface_proxy_new_for_bus ( 453s # GBusType bus_type, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GAsyncReadyCallback callback, 453s # gpointer user_data); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 453s # GAsyncResult *res, 453s # GError **error); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 453s # GBusType bus_type, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GError **error); 453s # 453s # 453s # /* ---- */ 453s # 453s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 453s # 453s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 453s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 453s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 453s # 453s # struct _OrgProjectUsefulInterfaceSkeleton 453s # { 453s # /*< private >*/ 453s # GDBusInterfaceSkeleton parent_instance; 453s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 453s # }; 453s # 453s # struct _OrgProjectUsefulInterfaceSkeletonClass 453s # { 453s # GDBusInterfaceSkeletonClass parent_class; 453s # }; 453s # 453s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 453s # 453s # #if GLIB_CHECK_VERSION(2, 44, 0) 453s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 453s # #endif 453s # 453s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 453s # 453s # 453s # G_END_DECLS 453s # 453s # #endif /* __STDOUT__ */ 453s # /tmp/tmpz5jfxcb1/tmp8twep2hs.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz5jfxcb1/tmp8twep2hs.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # Output: /* 453s # * This file is generated by gdbus-codegen, do not modify it. 453s # * 453s # * The license of this code is the same as for the D-Bus interface description 453s # * it was derived from. Note that it links to GLib, so must comply with the 453s # * LGPL linking clauses. 453s # */ 453s # 453s # #ifndef __STDOUT__ 453s # #define __STDOUT__ 453s # 453s # #include 453s # 453s # G_BEGIN_DECLS 453s # 453s # 453s # /* ------------------------------------------------------------------------ */ 453s # /* Declarations for org.project.UsefulInterface */ 453s # 453s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 453s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 453s # 453s # struct _OrgProjectUsefulInterface; 453s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 453s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 453s # 453s # struct _OrgProjectUsefulInterfaceIface 453s # { 453s # GTypeInterface parent_iface; 453s # 453s # gboolean (*handle_useful_method) ( 453s # OrgProjectUsefulInterface *object, 453s # GDBusMethodInvocation *invocation); 453s # 453s # }; 453s # 453s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 453s # 453s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 453s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 453s # 453s # 453s # /* D-Bus method call completion functions: */ 453s # void org_project_useful_interface_complete_useful_method ( 453s # OrgProjectUsefulInterface *object, 453s # GDBusMethodInvocation *invocation); 453s # 453s # 453s # 453s # /* D-Bus method calls: */ 453s # void org_project_useful_interface_call_useful_method ( 453s # OrgProjectUsefulInterface *proxy, 453s # GCancellable *cancellable, 453s # GAsyncReadyCallback callback, 453s # gpointer user_data); 453s # 453s # gboolean org_project_useful_interface_call_useful_method_finish ( 453s # OrgProjectUsefulInterface *proxy, 453s # GAsyncResult *res, 453s # GError **error); 453s # 453s # gboolean org_project_useful_interface_call_useful_method_sync ( 453s # OrgProjectUsefulInterface *proxy, 453s # GCancellable *cancellable, 453s # GError **error); 453s # 453s # 453s # 453s # /* ---- */ 453s # 453s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 453s # 453s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 453s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 453s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 453s # 453s # struct _OrgProjectUsefulInterfaceProxy 453s # { 453s # /*< private >*/ 453s # GDBusProxy parent_instance; 453s # OrgProjectUsefulInterfaceProxyPrivate *priv; 453s # }; 453s # 453s # struct _OrgProjectUsefulInterfaceProxyClass 453s # { 453s # GDBusProxyClass parent_class; 453s # }; 453s # 453s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 453s # 453s # #if GLIB_CHECK_VERSION(2, 44, 0) 453s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 453s # #endif 453s # 453s # void org_project_useful_interface_proxy_new ( 453s # GDBusConnection *connection, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GAsyncReadyCallback callback, 453s # gpointer user_data); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 453s # GAsyncResult *res, 453s # GError **error); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 453s # GDBusConnection *connection, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GError **error); 453s # 453s # void org_project_useful_interface_proxy_new_for_bus ( 453s # GBusType bus_type, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GAsyncReadyCallback callback, 453s # gpointer user_data); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 453s # GAsyncResult *res, 453s # GError **error); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 453s # GBusType bus_type, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GError **error); 453s # 453s # 453s # /* ---- */ 453s # 453s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 453s # 453s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 453s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 453s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 453s # 453s # struct _OrgProjectUsefulInterfaceSkeleton 453s # { 453s # /*< private >*/ 453s # GDBusInterfaceSkeleton parent_instance; 453s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 453s # }; 453s # 453s # struct _OrgProjectUsefulInterfaceSkeletonClass 453s # { 453s # GDBusInterfaceSkeletonClass parent_class; 453s # }; 453s # 453s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 453s # 453s # #if GLIB_CHECK_VERSION(2, 44, 0) 453s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 453s # #endif 453s # 453s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 453s # 453s # 453s # G_END_DECLS 453s # 453s # #endif /* __STDOUT__ */ 453s # /tmp/tmpz5jfxcb1/tmp_xdzkypj.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz5jfxcb1/tmp_xdzkypj.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # Output: /* 453s # * This file is generated by gdbus-codegen, do not modify it. 453s # * 453s # * The license of this code is the same as for the D-Bus interface description 453s # * it was derived from. Note that it links to GLib, so must comply with the 453s # * LGPL linking clauses. 453s # */ 453s # 453s # #ifndef __STDOUT__ 453s # #define __STDOUT__ 453s # 453s # #include 453s # 453s # G_BEGIN_DECLS 453s # 453s # 453s # /* ------------------------------------------------------------------------ */ 453s # /* Declarations for org.project.UsefulInterface */ 453s # 453s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 453s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 453s # 453s # struct _OrgProjectUsefulInterface; 453s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 453s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 453s # 453s # struct _OrgProjectUsefulInterfaceIface 453s # { 453s # GTypeInterface parent_iface; 453s # 453s # gboolean (*handle_useful_method) ( 453s # OrgProjectUsefulInterface *object, 453s # GDBusMethodInvocation *invocation); 453s # 453s # }; 453s # 453s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 453s # 453s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 453s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 453s # 453s # 453s # /* D-Bus method call completion functions: */ 453s # void org_project_useful_interface_complete_useful_method ( 453s # OrgProjectUsefulInterface *object, 453s # GDBusMethodInvocation *invocation); 453s # 453s # 453s # 453s # /* D-Bus method calls: */ 453s # void org_project_useful_interface_call_useful_method ( 453s # OrgProjectUsefulInterface *proxy, 453s # GDBusCallFlags call_flags, 453s # gint timeout_msec, 453s # GCancellable *cancellable, 453s # GAsyncReadyCallback callback, 453s # gpointer user_data); 453s # 453s # gboolean org_project_useful_interface_call_useful_method_finish ( 453s # OrgProjectUsefulInterface *proxy, 453s # GAsyncResult *res, 453s # GError **error); 453s # 453s # gboolean org_project_useful_interface_call_useful_method_sync ( 453s # OrgProjectUsefulInterface *proxy, 453s # GDBusCallFlags call_flags, 453s # gint timeout_msec, 453s # GCancellable *cancellable, 453s # GError **error); 453s # 453s # 453s # 453s # /* ---- */ 453s # 453s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 453s # 453s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 453s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 453s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 453s # 453s # struct _OrgProjectUsefulInterfaceProxy 453s # { 453s # /*< private >*/ 453s # GDBusProxy parent_instance; 453s # OrgProjectUsefulInterfaceProxyPrivate *priv; 453s # }; 453s # 453s # struct _OrgProjectUsefulInterfaceProxyClass 453s # { 453s # GDBusProxyClass parent_class; 453s # }; 453s # 453s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 453s # 453s # #if GLIB_CHECK_VERSION(2, 44, 0) 453s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 453s # #endif 453s # 453s # void org_project_useful_interface_proxy_new ( 453s # GDBusConnection *connection, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GAsyncReadyCallback callback, 453s # gpointer user_data); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 453s # GAsyncResult *res, 453s # GError **error); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 453s # GDBusConnection *connection, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GError **error); 453s # 453s # void org_project_useful_interface_proxy_new_for_bus ( 453s # GBusType bus_type, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GAsyncReadyCallback callback, 453s # gpointer user_data); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 453s # GAsyncResult *res, 453s # GError **error); 453s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 453s # GBusType bus_type, 453s # GDBusProxyFlags flags, 453s # const gchar *name, 453s # const gchar *object_path, 453s # GCancellable *cancellable, 453s # GError **error); 453s # 453s # 453s # /* ---- */ 453s # 453s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 453s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 453s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 453s # 453s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 453s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 453s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 453s # 453s # struct _OrgProjectUsefulInterfaceSkeleton 453s # { 453s # /*< private >*/ 453s # GDBusInterfaceSkeleton parent_instance; 453s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 453s # }; 453s # 453s # struct _OrgProjectUsefulInterfaceSkeletonClass 453s # { 453s # GDBusInterfaceSkeletonClass parent_class; 453s # }; 453s # 453s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 453s # 453s # #if GLIB_CHECK_VERSION(2, 44, 0) 453s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 453s # #endif 453s # 453s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 453s # 453s # 453s # G_END_DECLS 453s # 453s # #endif /* __STDOUT__ */ 453s ok 2 __main__.TestCodegen.test_dbus_types 453s # tmpdir: /tmp/tmpfv__7hke 453s # codegen: /usr/bin/gdbus-codegen 453s # /tmp/tmpfv__7hke/tmpitbfdzmx.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmpitbfdzmx.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmpdzbht3j7.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmpdzbht3j7.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmp5xw7di28.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmp5xw7di28.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmpznt0633a.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmpznt0633a.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmpzl_kwg8w.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmpzl_kwg8w.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmp8mrob26e.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmp8mrob26e.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmp14vvf_gh.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmp14vvf_gh.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmp41r_brdp.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmp41r_brdp.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmpxiw07_5x.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmpxiw07_5x.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmp3ydtsly8.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmp3ydtsly8.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmp4szylnyb.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmp4szylnyb.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmpu0_jzew1.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmpu0_jzew1.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmph6o5g35a.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmph6o5g35a.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # /tmp/tmpfv__7hke/tmpilotf47l.xml: 453s # 453s # 453s # 453s # 453s # 453s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmpilotf47l.xml', '--output', '-', '--body'] 453s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 453s # Output: /* 453s # * This file is generated by gdbus-codegen, do not modify it. 453s # * 453s # * The license of this code is the same as for the D-Bus interface description 453s # * it was derived from. Note that it links to GLib, so must comply with the 453s # * LGPL linking clauses. 453s # */ 453s # 453s # #ifdef HAVE_CONFIG_H 453s # # include "config.h" 453s # #endif 453s # 453s # #include 453s # #ifdef G_OS_UNIX 453s # # include 453s # #endif 453s # 453s # #ifdef G_ENABLE_DEBUG 453s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 453s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 453s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 453s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 453s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 453s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 453s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 453s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 453s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 453s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 453s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 453s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 453s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 453s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 453s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 453s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 453s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 453s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 453s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 453s # #else /* !G_ENABLE_DEBUG */ 453s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 453s # * Do not access GValues directly in your code. Instead, use the 453s # * g_value_get_*() functions 453s # */ 453s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 453s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 453s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 453s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 453s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 453s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 453s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 453s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 453s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 453s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 453s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 453s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 453s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 453s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 453s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 453s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 453s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 453s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 453s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 453s # #endif /* !G_ENABLE_DEBUG */ 453s # 453s # typedef struct 453s # { 453s # GDBusArgInfo parent_struct; 453s # gboolean use_gvariant; 453s # } _ExtendedGDBusArgInfo; 453s # 453s # typedef struct 453s # { 453s # GDBusMethodInfo parent_struct; 453s # const gchar *signal_name; 453s # gboolean pass_fdlist; 453s # } _ExtendedGDBusMethodInfo; 453s # 453s # typedef struct 453s # { 453s # GDBusSignalInfo parent_struct; 453s # const gchar *signal_name; 453s # } _ExtendedGDBusSignalInfo; 453s # 453s # typedef struct 453s # { 453s # GDBusPropertyInfo parent_struct; 453s # const gchar *hyphen_name; 453s # guint use_gvariant : 1; 453s # guint emits_changed_signal : 1; 453s # } _ExtendedGDBusPropertyInfo; 453s # 453s # typedef struct 453s # { 453s # GDBusInterfaceInfo parent_struct; 453s # const gchar *hyphen_name; 453s # } _ExtendedGDBusInterfaceInfo; 453s # 453s # typedef struct 453s # { 453s # const _ExtendedGDBusPropertyInfo *info; 453s # guint prop_id; 453s # GValue orig_value; /* the value before the change */ 453s # } ChangedProperty; 453s # 453s # static void 453s # _changed_property_free (ChangedProperty *data) 453s # { 453s # g_value_unset (&data->orig_value); 453s # g_free (data); 453s # } 453s # 453s # static gboolean 453s # _g_strv_equal0 (gchar **a, gchar **b) 453s # { 453s # gboolean ret = FALSE; 453s # guint n; 453s # if (a == NULL && b == NULL) 453s # { 453s # ret = TRUE; 453s # goto out; 453s # } 453s # if (a == NULL || b == NULL) 453s # goto out; 453s # if (g_strv_length (a) != g_strv_length (b)) 453s # goto out; 453s # for (n = 0; a[n] != NULL; n++) 453s # if (g_strcmp0 (a[n], b[n]) != 0) 453s # goto out; 453s # ret = TRUE; 453s # out: 453s # return ret; 453s # } 453s # 453s # static gboolean 453s # _g_variant_equal0 (GVariant *a, GVariant *b) 453s # { 453s # gboolean ret = FALSE; 453s # if (a == NULL && b == NULL) 453s # { 453s # ret = TRUE; 453s # goto out; 453s # } 453s # if (a == NULL || b == NULL) 453s # goto out; 453s # ret = g_variant_equal (a, b); 453s # out: 453s # return ret; 453s # } 453s # 453s # G_GNUC_UNUSED static gboolean 453s # _g_value_equal (const GValue *a, const GValue *b) 453s # { 453s # gboolean ret = FALSE; 453s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 453s # switch (G_VALUE_TYPE (a)) 453s # { 453s # case G_TYPE_BOOLEAN: 453s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 453s # break; 453s # case G_TYPE_UCHAR: 453s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 453s # break; 453s # case G_TYPE_INT: 453s # ret = (g_value_get_int (a) == g_value_get_int (b)); 453s # break; 453s # case G_TYPE_UINT: 453s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 453s # break; 453s # case G_TYPE_INT64: 453s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 453s # break; 453s # case G_TYPE_UINT64: 453s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 453s # break; 453s # case G_TYPE_DOUBLE: 453s # { 453s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 453s # gdouble da = g_value_get_double (a); 453s # gdouble db = g_value_get_double (b); 453s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 453s # } 453s # break; 453s # case G_TYPE_STRING: 453s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 453s # break; 453s # case G_TYPE_VARIANT: 453s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 453s # break; 453s # default: 453s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 453s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 453s # else 453s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 453s # break; 453s # } 453s # return ret; 453s # } 453s # 453s # /* ------------------------------------------------------------------------ 453s # * Code for interface GoodTypes 453s # * ------------------------------------------------------------------------ 453s # */ 453s # 453s # /** 453s # * SECTION:GoodTypes 453s # * @title: GoodTypes 453s # * @short_description: Generated C code for the GoodTypes D-Bus interface 453s # * 453s # * This section contains code for working with the GoodTypes D-Bus interface in C. 453s # */ 453s # 453s # /* ---- Introspection data for GoodTypes ---- */ 453s # 453s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 453s # { 453s # { 453s # -1, 453s # (gchar *) "GoodPropertyType", 453s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 453s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 453s # NULL 453s # }, 453s # "good-property-type", 453s # FALSE, 453s # TRUE 453s # }; 453s # 453s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 453s # { 453s # &_good_types_property_info_good_property_type.parent_struct, 453s # NULL 453s # }; 453s # 453s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 453s # { 453s # { 453s # -1, 453s # (gchar *) "GoodTypes", 453s # NULL, 453s # NULL, 453s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 453s # NULL 453s # }, 453s # "good-types", 453s # }; 453s # 453s # 453s # /** 453s # * good_types_interface_info: 453s # * 453s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 453s # * 453s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 453s # */ 453s # GDBusInterfaceInfo * 453s # good_types_interface_info (void) 453s # { 453s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 453s # } 453s # 453s # /** 453s # * good_types_override_properties: 453s # * @klass: The class structure for a #GObject derived class. 453s # * @property_id_begin: The property id to assign to the first overridden property. 453s # * 453s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 453s # * The properties are overridden in the order they are defined. 453s # * 453s # * Returns: The last property id. 453s # */ 453s # guint 453s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 453s # { 453s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 453s # return property_id_begin - 1; 453s # } 453s # 453s # 453s # 453s # /** 453s # * GoodTypes: 453s # * 453s # * Abstract interface type for the D-Bus interface GoodTypes. 453s # */ 453s # 453s # /** 453s # * GoodTypesIface: 453s # * @parent_iface: The parent interface. 453s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 453s # * 453s # * Virtual table for the D-Bus interface GoodTypes. 453s # */ 453s # 453s # typedef GoodTypesIface GoodTypesInterface; 453s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 453s # 453s # static void 453s # good_types_default_init (GoodTypesIface *iface) 453s # { 453s # /* GObject properties for D-Bus properties: */ 453s # /** 453s # * GoodTypes:good-property-type: 453s # * 453s # * Represents the D-Bus property "GoodPropertyType". 453s # * 453s # * 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. 453s # */ 453s # g_object_interface_install_property (iface, 453s # 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)); 453s # } 453s # 453s # /** 453s # * good_types_get_good_property_type: (skip) 453s # * @object: A GoodTypes. 453s # * 453s # * Gets the value of the "GoodPropertyType" D-Bus property. 453s # * 453s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 453s # * 453s # * 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. 453s # * 453s # * 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. 453s # */ 453s # GVariant * 453s # good_types_get_good_property_type (GoodTypes *object) 453s # { 453s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 453s # 453s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 453s # } 453s # 453s # /** 453s # * good_types_dup_good_property_type: (skip) 453s # * @object: A GoodTypes. 453s # * 453s # * Gets a copy of the "GoodPropertyType" D-Bus property. 453s # * 453s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 453s # * 453s # * 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(). 453s # */ 453s # GVariant * 453s # good_types_dup_good_property_type (GoodTypes *object) 453s # { 453s # GVariant *value; 453s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 453s # return value; 453s # } 453s # 453s # /** 453s # * good_types_set_good_property_type: (skip) 453s # * @object: A GoodTypes. 453s # * @value: The value to set. 453s # * 453s # * Sets the "GoodPropertyType" D-Bus property to @value. 453s # * 453s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 453s # */ 453s # void 453s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 453s # { 453s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 453s # } 453s # 453s # /* ------------------------------------------------------------------------ */ 453s # 453s # /** 453s # * GoodTypesProxy: 453s # * 453s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 453s # */ 453s # 453s # /** 453s # * GoodTypesProxyClass: 453s # * @parent_class: The parent class. 453s # * 453s # * Class structure for GoodTypesProxy. 453s # */ 453s # 453s # struct _GoodTypesProxyPrivate 453s # { 453s # GData *qdata; 453s # }; 453s # 453s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 453s # 453s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 453s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 453s # G_ADD_PRIVATE (GoodTypesProxy) 453s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 453s # 453s # #else 453s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 453s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 453s # 453s # #endif 453s # static void 453s # good_types_proxy_finalize (GObject *object) 453s # { 453s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 453s # g_datalist_clear (&proxy->priv->qdata); 453s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 453s # } 453s # 453s # static void 453s # good_types_proxy_get_property (GObject *object, 453s # guint prop_id, 453s # GValue *value, 453s # GParamSpec *pspec G_GNUC_UNUSED) 453s # { 453s # const _ExtendedGDBusPropertyInfo *info; 453s # GVariant *variant; 453s # g_assert (prop_id != 0 && prop_id - 1 < 1); 453s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 453s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 453s # if (info->use_gvariant) 453s # { 453s # g_value_set_variant (value, variant); 453s # } 453s # else 453s # { 453s # if (variant != NULL) 453s # g_dbus_gvariant_to_gvalue (variant, value); 453s # } 453s # if (variant != NULL) 453s # g_variant_unref (variant); 453s # } 453s # 453s # static void 453s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 453s # GAsyncResult *res, 453s # gpointer user_data) 453s # { 453s # const _ExtendedGDBusPropertyInfo *info = user_data; 453s # GError *error; 453s # GVariant *_ret; 453s # error = NULL; 453s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 453s # if (!_ret) 453s # { 453s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 453s # info->parent_struct.name, 453s # error->message, g_quark_to_string (error->domain), error->code); 453s # g_error_free (error); 453s # } 453s # else 453s # { 453s # g_variant_unref (_ret); 453s # } 453s # } 453s # 453s # static void 453s # good_types_proxy_set_property (GObject *object, 453s # guint prop_id, 453s # const GValue *value, 453s # GParamSpec *pspec G_GNUC_UNUSED) 453s # { 453s # const _ExtendedGDBusPropertyInfo *info; 453s # GVariant *variant; 453s # g_assert (prop_id != 0 && prop_id - 1 < 1); 453s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 453s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 453s # g_dbus_proxy_call (G_DBUS_PROXY (object), 453s # "org.freedesktop.DBus.Properties.Set", 453s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 453s # G_DBUS_CALL_FLAGS_NONE, 453s # -1, 453s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 453s # g_variant_unref (variant); 453s # } 453s # 453s # static void 453s # good_types_proxy_g_signal (GDBusProxy *proxy, 453s # const gchar *sender_name G_GNUC_UNUSED, 453s # const gchar *signal_name, 453s # GVariant *parameters) 453s # { 453s # _ExtendedGDBusSignalInfo *info; 453s # GVariantIter iter; 453s # GVariant *child; 453s # GValue *paramv; 453s # gsize num_params; 453s # gsize n; 453s # guint signal_id; 453s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 453s # if (info == NULL) 453s # return; 453s # num_params = g_variant_n_children (parameters); 453s # paramv = g_new0 (GValue, num_params + 1); 453s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 453s # g_value_set_object (¶mv[0], proxy); 453s # g_variant_iter_init (&iter, parameters); 453s # n = 1; 453s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 453s # { 453s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 453s # if (arg_info->use_gvariant) 453s # { 453s # g_value_init (¶mv[n], G_TYPE_VARIANT); 453s # g_value_set_variant (¶mv[n], child); 453s # n++; 453s # } 453s # else 453s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 453s # g_variant_unref (child); 453s # } 453s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 453s # g_signal_emitv (paramv, signal_id, 0, NULL); 453s # for (n = 0; n < num_params + 1; n++) 453s # g_value_unset (¶mv[n]); 453s # g_free (paramv); 453s # } 453s # 453s # static void 453s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 453s # GVariant *changed_properties, 453s # const gchar *const *invalidated_properties) 453s # { 453s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 453s # guint n; 453s # const gchar *key; 453s # GVariantIter *iter; 453s # _ExtendedGDBusPropertyInfo *info; 453s # g_variant_get (changed_properties, "a{sv}", &iter); 453s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 453s # { 453s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 453s # g_datalist_remove_data (&proxy->priv->qdata, key); 453s # if (info != NULL) 453s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 453s # } 453s # g_variant_iter_free (iter); 453s # for (n = 0; invalidated_properties[n] != NULL; n++) 453s # { 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 454s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 454s # if (info != NULL) 454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 454s # } 454s # } 454s # 454s # static GVariant * 454s # good_types_proxy_get_good_property_type (GoodTypes *object) 454s # { 454s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 454s # GVariant *variant; 454s # GVariant *value = NULL; 454s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 454s # value = variant; 454s # if (variant != NULL) 454s # g_variant_unref (variant); 454s # return value; 454s # } 454s # 454s # static void 454s # good_types_proxy_init (GoodTypesProxy *proxy) 454s # { 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # proxy->priv = good_types_proxy_get_instance_private (proxy); 454s # #else 454s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 454s # #endif 454s # 454s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 454s # } 454s # 454s # static void 454s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 454s # { 454s # GObjectClass *gobject_class; 454s # GDBusProxyClass *proxy_class; 454s # 454s # gobject_class = G_OBJECT_CLASS (klass); 454s # gobject_class->finalize = good_types_proxy_finalize; 454s # gobject_class->get_property = good_types_proxy_get_property; 454s # gobject_class->set_property = good_types_proxy_set_property; 454s # 454s # proxy_class = G_DBUS_PROXY_CLASS (klass); 454s # proxy_class->g_signal = good_types_proxy_g_signal; 454s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 454s # 454s # good_types_override_properties (gobject_class, 1); 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 454s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 454s # #endif 454s # } 454s # 454s # static void 454s # good_types_proxy_iface_init (GoodTypesIface *iface) 454s # { 454s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 454s # } 454s # 454s # /** 454s # * good_types_proxy_new: 454s # * @connection: A #GDBusConnection. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 454s # * 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 454s # * 454s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 454s # */ 454s # void 454s # good_types_proxy_new ( 454s # GDBusConnection *connection, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # 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); 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_finish: 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 454s # * @error: Return location for error or %NULL 454s # * 454s # * Finishes an operation started with good_types_proxy_new(). 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_finish ( 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GObject *ret; 454s # GObject *source_object; 454s # source_object = g_async_result_get_source_object (res); 454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 454s # g_object_unref (source_object); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_sync: 454s # * @connection: A #GDBusConnection. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL 454s # * 454s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 454s # * 454s # * The calling thread is blocked until a reply is received. 454s # * 454s # * See good_types_proxy_new() for the asynchronous version of this constructor. 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_sync ( 454s # GDBusConnection *connection, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GInitable *ret; 454s # 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); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # 454s # /** 454s # * good_types_proxy_new_for_bus: 454s # * @bus_type: A #GBusType. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: A bus name (well-known or unique). 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 454s # * 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 454s # * 454s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 454s # */ 454s # void 454s # good_types_proxy_new_for_bus ( 454s # GBusType bus_type, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # 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); 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_for_bus_finish: 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 454s # * @error: Return location for error or %NULL 454s # * 454s # * Finishes an operation started with good_types_proxy_new_for_bus(). 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_for_bus_finish ( 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GObject *ret; 454s # GObject *source_object; 454s # source_object = g_async_result_get_source_object (res); 454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 454s # g_object_unref (source_object); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_for_bus_sync: 454s # * @bus_type: A #GBusType. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: A bus name (well-known or unique). 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL 454s # * 454s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 454s # * 454s # * The calling thread is blocked until a reply is received. 454s # * 454s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_for_bus_sync ( 454s # GBusType bus_type, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GInitable *ret; 454s # 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); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # 454s # /* ------------------------------------------------------------------------ */ 454s # 454s # /** 454s # * GoodTypesSkeleton: 454s # * 454s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 454s # */ 454s # 454s # /** 454s # * GoodTypesSkeletonClass: 454s # * @parent_class: The parent class. 454s # * 454s # * Class structure for GoodTypesSkeleton. 454s # */ 454s # 454s # struct _GoodTypesSkeletonPrivate 454s # { 454s # GValue *properties; 454s # GList *changed_properties; 454s # GSource *changed_properties_idle_source; 454s # GMainContext *context; 454s # GMutex lock; 454s # }; 454s # 454s # static void 454s # _good_types_skeleton_handle_method_call ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name, 454s # const gchar *method_name, 454s # GVariant *parameters, 454s # GDBusMethodInvocation *invocation, 454s # gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # _ExtendedGDBusMethodInfo *info; 454s # GVariantIter iter; 454s # GVariant *child; 454s # GValue *paramv; 454s # gsize num_params; 454s # guint num_extra; 454s # gsize n; 454s # guint signal_id; 454s # GValue return_value = G_VALUE_INIT; 454s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 454s # g_assert (info != NULL); 454s # num_params = g_variant_n_children (parameters); 454s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 454s # n = 0; 454s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 454s # g_value_set_object (¶mv[n++], skeleton); 454s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 454s # g_value_set_object (¶mv[n++], invocation); 454s # if (info->pass_fdlist) 454s # { 454s # #ifdef G_OS_UNIX 454s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 454s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 454s # #else 454s # g_assert_not_reached (); 454s # #endif 454s # } 454s # g_variant_iter_init (&iter, parameters); 454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 454s # { 454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 454s # if (arg_info->use_gvariant) 454s # { 454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 454s # g_value_set_variant (¶mv[n], child); 454s # n++; 454s # } 454s # else 454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 454s # g_variant_unref (child); 454s # } 454s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 454s # g_value_init (&return_value, G_TYPE_BOOLEAN); 454s # g_signal_emitv (paramv, signal_id, 0, &return_value); 454s # if (!g_value_get_boolean (&return_value)) 454s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 454s # g_value_unset (&return_value); 454s # for (n = 0; n < num_params + num_extra; n++) 454s # g_value_unset (¶mv[n]); 454s # g_free (paramv); 454s # } 454s # 454s # static GVariant * 454s # _good_types_skeleton_handle_get_property ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name G_GNUC_UNUSED, 454s # const gchar *property_name, 454s # GError **error, 454s # gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # GValue value = G_VALUE_INIT; 454s # GParamSpec *pspec; 454s # _ExtendedGDBusPropertyInfo *info; 454s # GVariant *ret; 454s # ret = NULL; 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 454s # g_assert (info != NULL); 454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 454s # if (pspec == NULL) 454s # { 454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 454s # } 454s # else 454s # { 454s # g_value_init (&value, pspec->value_type); 454s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 454s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 454s # g_value_unset (&value); 454s # } 454s # return ret; 454s # } 454s # 454s # static gboolean 454s # _good_types_skeleton_handle_set_property ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name G_GNUC_UNUSED, 454s # const gchar *property_name, 454s # GVariant *variant, 454s # GError **error, 454s # gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # GValue value = G_VALUE_INIT; 454s # GParamSpec *pspec; 454s # _ExtendedGDBusPropertyInfo *info; 454s # gboolean ret; 454s # ret = FALSE; 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 454s # g_assert (info != NULL); 454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 454s # if (pspec == NULL) 454s # { 454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 454s # } 454s # else 454s # { 454s # if (info->use_gvariant) 454s # g_value_set_variant (&value, variant); 454s # else 454s # g_dbus_gvariant_to_gvalue (variant, &value); 454s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 454s # g_value_unset (&value); 454s # ret = TRUE; 454s # } 454s # return ret; 454s # } 454s # 454s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 454s # { 454s # _good_types_skeleton_handle_method_call, 454s # _good_types_skeleton_handle_get_property, 454s # _good_types_skeleton_handle_set_property, 454s # {NULL} 454s # }; 454s # 454s # static GDBusInterfaceInfo * 454s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 454s # { 454s # return good_types_interface_info (); 454s # } 454s # 454s # static GDBusInterfaceVTable * 454s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 454s # { 454s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 454s # } 454s # 454s # static GVariant * 454s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 454s # 454s # GVariantBuilder builder; 454s # guint n; 454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 454s # if (_good_types_interface_info.parent_struct.properties == NULL) 454s # goto out; 454s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 454s # { 454s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 454s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 454s # { 454s # GVariant *value; 454s # 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); 454s # if (value != NULL) 454s # { 454s # g_variant_take_ref (value); 454s # g_variant_builder_add (&builder, "{sv}", info->name, value); 454s # g_variant_unref (value); 454s # } 454s # } 454s # } 454s # out: 454s # return g_variant_builder_end (&builder); 454s # } 454s # 454s # static gboolean _good_types_emit_changed (gpointer user_data); 454s # 454s # static void 454s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 454s # gboolean emit_changed = FALSE; 454s # 454s # g_mutex_lock (&skeleton->priv->lock); 454s # if (skeleton->priv->changed_properties_idle_source != NULL) 454s # { 454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 454s # skeleton->priv->changed_properties_idle_source = NULL; 454s # emit_changed = TRUE; 454s # } 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # 454s # if (emit_changed) 454s # _good_types_emit_changed (skeleton); 454s # } 454s # 454s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 454s # G_ADD_PRIVATE (GoodTypesSkeleton) 454s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 454s # 454s # #else 454s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 454s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 454s # 454s # #endif 454s # static void 454s # good_types_skeleton_finalize (GObject *object) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # guint n; 454s # for (n = 0; n < 1; n++) 454s # g_value_unset (&skeleton->priv->properties[n]); 454s # g_free (skeleton->priv->properties); 454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 454s # if (skeleton->priv->changed_properties_idle_source != NULL) 454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 454s # g_main_context_unref (skeleton->priv->context); 454s # g_mutex_clear (&skeleton->priv->lock); 454s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 454s # } 454s # 454s # static void 454s # good_types_skeleton_get_property (GObject *object, 454s # guint prop_id, 454s # GValue *value, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # g_assert (prop_id != 0 && prop_id - 1 < 1); 454s # g_mutex_lock (&skeleton->priv->lock); 454s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # } 454s # 454s # static gboolean 454s # _good_types_emit_changed (gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # GList *l; 454s # GVariantBuilder builder; 454s # GVariantBuilder invalidated_builder; 454s # guint num_changes; 454s # 454s # g_mutex_lock (&skeleton->priv->lock); 454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 454s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 454s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 454s # { 454s # ChangedProperty *cp = l->data; 454s # GVariant *variant; 454s # const GValue *cur_value; 454s # 454s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 454s # if (!_g_value_equal (cur_value, &cp->orig_value)) 454s # { 454s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 454s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 454s # g_variant_unref (variant); 454s # num_changes++; 454s # } 454s # } 454s # if (num_changes > 0) 454s # { 454s # GList *connections, *ll; 454s # GVariant *signal_variant; 454s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 454s # &builder, &invalidated_builder)); 454s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 454s # for (ll = connections; ll != NULL; ll = ll->next) 454s # { 454s # GDBusConnection *connection = ll->data; 454s # 454s # g_dbus_connection_emit_signal (connection, 454s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 454s # "org.freedesktop.DBus.Properties", 454s # "PropertiesChanged", 454s # signal_variant, 454s # NULL); 454s # } 454s # g_variant_unref (signal_variant); 454s # g_list_free_full (connections, g_object_unref); 454s # } 454s # else 454s # { 454s # g_variant_builder_clear (&builder); 454s # g_variant_builder_clear (&invalidated_builder); 454s # } 454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 454s # skeleton->priv->changed_properties = NULL; 454s # skeleton->priv->changed_properties_idle_source = NULL; 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # return FALSE; 454s # } 454s # 454s # static void 454s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 454s # { 454s # ChangedProperty *cp; 454s # GList *l; 454s # cp = NULL; 454s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 454s # { 454s # ChangedProperty *i_cp = l->data; 454s # if (i_cp->info == info) 454s # { 454s # cp = i_cp; 454s # break; 454s # } 454s # } 454s # if (cp == NULL) 454s # { 454s # cp = g_new0 (ChangedProperty, 1); 454s # cp->prop_id = prop_id; 454s # cp->info = info; 454s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 454s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 454s # g_value_copy (orig_value, &cp->orig_value); 454s # } 454s # } 454s # 454s # static void 454s # good_types_skeleton_notify (GObject *object, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # g_mutex_lock (&skeleton->priv->lock); 454s # if (skeleton->priv->changed_properties != NULL && 454s # skeleton->priv->changed_properties_idle_source == NULL) 454s # { 454s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 454s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 454s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 454s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 454s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 454s # g_source_unref (skeleton->priv->changed_properties_idle_source); 454s # } 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # } 454s # 454s # static void 454s # good_types_skeleton_set_property (GObject *object, 454s # guint prop_id, 454s # const GValue *value, 454s # GParamSpec *pspec) 454s # { 454s # const _ExtendedGDBusPropertyInfo *info; 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # g_assert (prop_id != 0 && prop_id - 1 < 1); 454s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 454s # g_mutex_lock (&skeleton->priv->lock); 454s # g_object_freeze_notify (object); 454s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 454s # { 454s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 454s # info->emits_changed_signal) 454s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 454s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 454s # g_object_notify_by_pspec (object, pspec); 454s # } 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # g_object_thaw_notify (object); 454s # } 454s # 454s # static void 454s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 454s # { 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 454s # #else 454s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 454s # #endif 454s # 454s # g_mutex_init (&skeleton->priv->lock); 454s # skeleton->priv->context = g_main_context_ref_thread_default (); 454s # skeleton->priv->properties = g_new0 (GValue, 1); 454s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 454s # } 454s # 454s # static GVariant * 454s # good_types_skeleton_get_good_property_type (GoodTypes *object) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # GVariant *value; 454s # g_mutex_lock (&skeleton->priv->lock); 454s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # return value; 454s # } 454s # 454s # static void 454s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 454s # { 454s # GObjectClass *gobject_class; 454s # GDBusInterfaceSkeletonClass *skeleton_class; 454s # 454s # gobject_class = G_OBJECT_CLASS (klass); 454s # gobject_class->finalize = good_types_skeleton_finalize; 454s # gobject_class->get_property = good_types_skeleton_get_property; 454s # gobject_class->set_property = good_types_skeleton_set_property; 454s # gobject_class->notify = good_types_skeleton_notify; 454s # 454s # 454s # good_types_override_properties (gobject_class, 1); 454s # 454s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 454s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 454s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 454s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 454s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 454s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 454s # #endif 454s # } 454s # 454s # static void 454s # good_types_skeleton_iface_init (GoodTypesIface *iface) 454s # { 454s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 454s # } 454s # 454s # /** 454s # * good_types_skeleton_new: 454s # * 454s # * Creates a skeleton object for the D-Bus interface GoodTypes. 454s # * 454s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 454s # */ 454s # GoodTypes * 454s # good_types_skeleton_new (void) 454s # { 454s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 454s # } 454s # /tmp/tmpfv__7hke/tmp5juiqg0o.xml: 454s # 454s # 454s # 454s # 454s # 454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmp5juiqg0o.xml', '--output', '-', '--body'] 454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 454s # Output: /* 454s # * This file is generated by gdbus-codegen, do not modify it. 454s # * 454s # * The license of this code is the same as for the D-Bus interface description 454s # * it was derived from. Note that it links to GLib, so must comply with the 454s # * LGPL linking clauses. 454s # */ 454s # 454s # #ifdef HAVE_CONFIG_H 454s # # include "config.h" 454s # #endif 454s # 454s # #include 454s # #ifdef G_OS_UNIX 454s # # include 454s # #endif 454s # 454s # #ifdef G_ENABLE_DEBUG 454s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 454s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 454s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 454s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 454s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 454s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 454s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 454s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 454s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 454s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 454s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 454s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 454s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 454s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 454s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 454s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 454s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 454s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 454s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 454s # #else /* !G_ENABLE_DEBUG */ 454s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 454s # * Do not access GValues directly in your code. Instead, use the 454s # * g_value_get_*() functions 454s # */ 454s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 454s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 454s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 454s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 454s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 454s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 454s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 454s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 454s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 454s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 454s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 454s # #endif /* !G_ENABLE_DEBUG */ 454s # 454s # typedef struct 454s # { 454s # GDBusArgInfo parent_struct; 454s # gboolean use_gvariant; 454s # } _ExtendedGDBusArgInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusMethodInfo parent_struct; 454s # const gchar *signal_name; 454s # gboolean pass_fdlist; 454s # } _ExtendedGDBusMethodInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusSignalInfo parent_struct; 454s # const gchar *signal_name; 454s # } _ExtendedGDBusSignalInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusPropertyInfo parent_struct; 454s # const gchar *hyphen_name; 454s # guint use_gvariant : 1; 454s # guint emits_changed_signal : 1; 454s # } _ExtendedGDBusPropertyInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusInterfaceInfo parent_struct; 454s # const gchar *hyphen_name; 454s # } _ExtendedGDBusInterfaceInfo; 454s # 454s # typedef struct 454s # { 454s # const _ExtendedGDBusPropertyInfo *info; 454s # guint prop_id; 454s # GValue orig_value; /* the value before the change */ 454s # } ChangedProperty; 454s # 454s # static void 454s # _changed_property_free (ChangedProperty *data) 454s # { 454s # g_value_unset (&data->orig_value); 454s # g_free (data); 454s # } 454s # 454s # static gboolean 454s # _g_strv_equal0 (gchar **a, gchar **b) 454s # { 454s # gboolean ret = FALSE; 454s # guint n; 454s # if (a == NULL && b == NULL) 454s # { 454s # ret = TRUE; 454s # goto out; 454s # } 454s # if (a == NULL || b == NULL) 454s # goto out; 454s # if (g_strv_length (a) != g_strv_length (b)) 454s # goto out; 454s # for (n = 0; a[n] != NULL; n++) 454s # if (g_strcmp0 (a[n], b[n]) != 0) 454s # goto out; 454s # ret = TRUE; 454s # out: 454s # return ret; 454s # } 454s # 454s # static gboolean 454s # _g_variant_equal0 (GVariant *a, GVariant *b) 454s # { 454s # gboolean ret = FALSE; 454s # if (a == NULL && b == NULL) 454s # { 454s # ret = TRUE; 454s # goto out; 454s # } 454s # if (a == NULL || b == NULL) 454s # goto out; 454s # ret = g_variant_equal (a, b); 454s # out: 454s # return ret; 454s # } 454s # 454s # G_GNUC_UNUSED static gboolean 454s # _g_value_equal (const GValue *a, const GValue *b) 454s # { 454s # gboolean ret = FALSE; 454s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 454s # switch (G_VALUE_TYPE (a)) 454s # { 454s # case G_TYPE_BOOLEAN: 454s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 454s # break; 454s # case G_TYPE_UCHAR: 454s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 454s # break; 454s # case G_TYPE_INT: 454s # ret = (g_value_get_int (a) == g_value_get_int (b)); 454s # break; 454s # case G_TYPE_UINT: 454s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 454s # break; 454s # case G_TYPE_INT64: 454s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 454s # break; 454s # case G_TYPE_UINT64: 454s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 454s # break; 454s # case G_TYPE_DOUBLE: 454s # { 454s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 454s # gdouble da = g_value_get_double (a); 454s # gdouble db = g_value_get_double (b); 454s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 454s # } 454s # break; 454s # case G_TYPE_STRING: 454s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 454s # break; 454s # case G_TYPE_VARIANT: 454s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 454s # break; 454s # default: 454s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 454s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 454s # else 454s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 454s # break; 454s # } 454s # return ret; 454s # } 454s # 454s # /* ------------------------------------------------------------------------ 454s # * Code for interface GoodTypes 454s # * ------------------------------------------------------------------------ 454s # */ 454s # 454s # /** 454s # * SECTION:GoodTypes 454s # * @title: GoodTypes 454s # * @short_description: Generated C code for the GoodTypes D-Bus interface 454s # * 454s # * This section contains code for working with the GoodTypes D-Bus interface in C. 454s # */ 454s # 454s # /* ---- Introspection data for GoodTypes ---- */ 454s # 454s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 454s # { 454s # { 454s # -1, 454s # (gchar *) "GoodPropertyType", 454s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 454s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 454s # NULL 454s # }, 454s # "good-property-type", 454s # FALSE, 454s # TRUE 454s # }; 454s # 454s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 454s # { 454s # &_good_types_property_info_good_property_type.parent_struct, 454s # NULL 454s # }; 454s # 454s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 454s # { 454s # { 454s # -1, 454s # (gchar *) "GoodTypes", 454s # NULL, 454s # NULL, 454s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 454s # NULL 454s # }, 454s # "good-types", 454s # }; 454s # 454s # 454s # /** 454s # * good_types_interface_info: 454s # * 454s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 454s # * 454s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 454s # */ 454s # GDBusInterfaceInfo * 454s # good_types_interface_info (void) 454s # { 454s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 454s # } 454s # 454s # /** 454s # * good_types_override_properties: 454s # * @klass: The class structure for a #GObject derived class. 454s # * @property_id_begin: The property id to assign to the first overridden property. 454s # * 454s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 454s # * The properties are overridden in the order they are defined. 454s # * 454s # * Returns: The last property id. 454s # */ 454s # guint 454s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 454s # { 454s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 454s # return property_id_begin - 1; 454s # } 454s # 454s # 454s # 454s # /** 454s # * GoodTypes: 454s # * 454s # * Abstract interface type for the D-Bus interface GoodTypes. 454s # */ 454s # 454s # /** 454s # * GoodTypesIface: 454s # * @parent_iface: The parent interface. 454s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 454s # * 454s # * Virtual table for the D-Bus interface GoodTypes. 454s # */ 454s # 454s # typedef GoodTypesIface GoodTypesInterface; 454s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 454s # 454s # static void 454s # good_types_default_init (GoodTypesIface *iface) 454s # { 454s # /* GObject properties for D-Bus properties: */ 454s # /** 454s # * GoodTypes:good-property-type: 454s # * 454s # * Represents the D-Bus property "GoodPropertyType". 454s # * 454s # * 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. 454s # */ 454s # g_object_interface_install_property (iface, 454s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 454s # } 454s # 454s # /** 454s # * good_types_get_good_property_type: (skip) 454s # * @object: A GoodTypes. 454s # * 454s # * Gets the value of the "GoodPropertyType" D-Bus property. 454s # * 454s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 454s # * 454s # * 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. 454s # * 454s # * 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. 454s # */ 454s # GVariant * 454s # good_types_get_good_property_type (GoodTypes *object) 454s # { 454s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 454s # 454s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 454s # } 454s # 454s # /** 454s # * good_types_dup_good_property_type: (skip) 454s # * @object: A GoodTypes. 454s # * 454s # * Gets a copy of the "GoodPropertyType" D-Bus property. 454s # * 454s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 454s # * 454s # * 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(). 454s # */ 454s # GVariant * 454s # good_types_dup_good_property_type (GoodTypes *object) 454s # { 454s # GVariant *value; 454s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 454s # return value; 454s # } 454s # 454s # /** 454s # * good_types_set_good_property_type: (skip) 454s # * @object: A GoodTypes. 454s # * @value: The value to set. 454s # * 454s # * Sets the "GoodPropertyType" D-Bus property to @value. 454s # * 454s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 454s # */ 454s # void 454s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 454s # { 454s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 454s # } 454s # 454s # /* ------------------------------------------------------------------------ */ 454s # 454s # /** 454s # * GoodTypesProxy: 454s # * 454s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 454s # */ 454s # 454s # /** 454s # * GoodTypesProxyClass: 454s # * @parent_class: The parent class. 454s # * 454s # * Class structure for GoodTypesProxy. 454s # */ 454s # 454s # struct _GoodTypesProxyPrivate 454s # { 454s # GData *qdata; 454s # }; 454s # 454s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 454s # G_ADD_PRIVATE (GoodTypesProxy) 454s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 454s # 454s # #else 454s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 454s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 454s # 454s # #endif 454s # static void 454s # good_types_proxy_finalize (GObject *object) 454s # { 454s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 454s # g_datalist_clear (&proxy->priv->qdata); 454s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 454s # } 454s # 454s # static void 454s # good_types_proxy_get_property (GObject *object, 454s # guint prop_id, 454s # GValue *value, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # const _ExtendedGDBusPropertyInfo *info; 454s # GVariant *variant; 454s # g_assert (prop_id != 0 && prop_id - 1 < 1); 454s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 454s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 454s # if (info->use_gvariant) 454s # { 454s # g_value_set_variant (value, variant); 454s # } 454s # else 454s # { 454s # if (variant != NULL) 454s # g_dbus_gvariant_to_gvalue (variant, value); 454s # } 454s # if (variant != NULL) 454s # g_variant_unref (variant); 454s # } 454s # 454s # static void 454s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 454s # GAsyncResult *res, 454s # gpointer user_data) 454s # { 454s # const _ExtendedGDBusPropertyInfo *info = user_data; 454s # GError *error; 454s # GVariant *_ret; 454s # error = NULL; 454s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 454s # if (!_ret) 454s # { 454s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 454s # info->parent_struct.name, 454s # error->message, g_quark_to_string (error->domain), error->code); 454s # g_error_free (error); 454s # } 454s # else 454s # { 454s # g_variant_unref (_ret); 454s # } 454s # } 454s # 454s # static void 454s # good_types_proxy_set_property (GObject *object, 454s # guint prop_id, 454s # const GValue *value, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # const _ExtendedGDBusPropertyInfo *info; 454s # GVariant *variant; 454s # g_assert (prop_id != 0 && prop_id - 1 < 1); 454s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 454s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 454s # g_dbus_proxy_call (G_DBUS_PROXY (object), 454s # "org.freedesktop.DBus.Properties.Set", 454s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 454s # G_DBUS_CALL_FLAGS_NONE, 454s # -1, 454s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 454s # g_variant_unref (variant); 454s # } 454s # 454s # static void 454s # good_types_proxy_g_signal (GDBusProxy *proxy, 454s # const gchar *sender_name G_GNUC_UNUSED, 454s # const gchar *signal_name, 454s # GVariant *parameters) 454s # { 454s # _ExtendedGDBusSignalInfo *info; 454s # GVariantIter iter; 454s # GVariant *child; 454s # GValue *paramv; 454s # gsize num_params; 454s # gsize n; 454s # guint signal_id; 454s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 454s # if (info == NULL) 454s # return; 454s # num_params = g_variant_n_children (parameters); 454s # paramv = g_new0 (GValue, num_params + 1); 454s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 454s # g_value_set_object (¶mv[0], proxy); 454s # g_variant_iter_init (&iter, parameters); 454s # n = 1; 454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 454s # { 454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 454s # if (arg_info->use_gvariant) 454s # { 454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 454s # g_value_set_variant (¶mv[n], child); 454s # n++; 454s # } 454s # else 454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 454s # g_variant_unref (child); 454s # } 454s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 454s # g_signal_emitv (paramv, signal_id, 0, NULL); 454s # for (n = 0; n < num_params + 1; n++) 454s # g_value_unset (¶mv[n]); 454s # g_free (paramv); 454s # } 454s # 454s # static void 454s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 454s # GVariant *changed_properties, 454s # const gchar *const *invalidated_properties) 454s # { 454s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 454s # guint n; 454s # const gchar *key; 454s # GVariantIter *iter; 454s # _ExtendedGDBusPropertyInfo *info; 454s # g_variant_get (changed_properties, "a{sv}", &iter); 454s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 454s # { 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 454s # g_datalist_remove_data (&proxy->priv->qdata, key); 454s # if (info != NULL) 454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 454s # } 454s # g_variant_iter_free (iter); 454s # for (n = 0; invalidated_properties[n] != NULL; n++) 454s # { 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 454s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 454s # if (info != NULL) 454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 454s # } 454s # } 454s # 454s # static GVariant * 454s # good_types_proxy_get_good_property_type (GoodTypes *object) 454s # { 454s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 454s # GVariant *variant; 454s # GVariant *value = NULL; 454s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 454s # value = variant; 454s # if (variant != NULL) 454s # g_variant_unref (variant); 454s # return value; 454s # } 454s # 454s # static void 454s # good_types_proxy_init (GoodTypesProxy *proxy) 454s # { 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # proxy->priv = good_types_proxy_get_instance_private (proxy); 454s # #else 454s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 454s # #endif 454s # 454s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 454s # } 454s # 454s # static void 454s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 454s # { 454s # GObjectClass *gobject_class; 454s # GDBusProxyClass *proxy_class; 454s # 454s # gobject_class = G_OBJECT_CLASS (klass); 454s # gobject_class->finalize = good_types_proxy_finalize; 454s # gobject_class->get_property = good_types_proxy_get_property; 454s # gobject_class->set_property = good_types_proxy_set_property; 454s # 454s # proxy_class = G_DBUS_PROXY_CLASS (klass); 454s # proxy_class->g_signal = good_types_proxy_g_signal; 454s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 454s # 454s # good_types_override_properties (gobject_class, 1); 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 454s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 454s # #endif 454s # } 454s # 454s # static void 454s # good_types_proxy_iface_init (GoodTypesIface *iface) 454s # { 454s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 454s # } 454s # 454s # /** 454s # * good_types_proxy_new: 454s # * @connection: A #GDBusConnection. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 454s # * 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 454s # * 454s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 454s # */ 454s # void 454s # good_types_proxy_new ( 454s # GDBusConnection *connection, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # 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); 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_finish: 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 454s # * @error: Return location for error or %NULL 454s # * 454s # * Finishes an operation started with good_types_proxy_new(). 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_finish ( 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GObject *ret; 454s # GObject *source_object; 454s # source_object = g_async_result_get_source_object (res); 454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 454s # g_object_unref (source_object); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_sync: 454s # * @connection: A #GDBusConnection. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL 454s # * 454s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 454s # * 454s # * The calling thread is blocked until a reply is received. 454s # * 454s # * See good_types_proxy_new() for the asynchronous version of this constructor. 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_sync ( 454s # GDBusConnection *connection, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GInitable *ret; 454s # 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); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # 454s # /** 454s # * good_types_proxy_new_for_bus: 454s # * @bus_type: A #GBusType. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: A bus name (well-known or unique). 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 454s # * 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 454s # * 454s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 454s # */ 454s # void 454s # good_types_proxy_new_for_bus ( 454s # GBusType bus_type, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # 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); 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_for_bus_finish: 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 454s # * @error: Return location for error or %NULL 454s # * 454s # * Finishes an operation started with good_types_proxy_new_for_bus(). 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_for_bus_finish ( 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GObject *ret; 454s # GObject *source_object; 454s # source_object = g_async_result_get_source_object (res); 454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 454s # g_object_unref (source_object); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_for_bus_sync: 454s # * @bus_type: A #GBusType. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: A bus name (well-known or unique). 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL 454s # * 454s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 454s # * 454s # * The calling thread is blocked until a reply is received. 454s # * 454s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_for_bus_sync ( 454s # GBusType bus_type, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GInitable *ret; 454s # 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); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # 454s # /* ------------------------------------------------------------------------ */ 454s # 454s # /** 454s # * GoodTypesSkeleton: 454s # * 454s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 454s # */ 454s # 454s # /** 454s # * GoodTypesSkeletonClass: 454s # * @parent_class: The parent class. 454s # * 454s # * Class structure for GoodTypesSkeleton. 454s # */ 454s # 454s # struct _GoodTypesSkeletonPrivate 454s # { 454s # GValue *properties; 454s # GList *changed_properties; 454s # GSource *changed_properties_idle_source; 454s # GMainContext *context; 454s # GMutex lock; 454s # }; 454s # 454s # static void 454s # _good_types_skeleton_handle_method_call ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name, 454s # const gchar *method_name, 454s # GVariant *parameters, 454s # GDBusMethodInvocation *invocation, 454s # gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # _ExtendedGDBusMethodInfo *info; 454s # GVariantIter iter; 454s # GVariant *child; 454s # GValue *paramv; 454s # gsize num_params; 454s # guint num_extra; 454s # gsize n; 454s # guint signal_id; 454s # GValue return_value = G_VALUE_INIT; 454s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 454s # g_assert (info != NULL); 454s # num_params = g_variant_n_children (parameters); 454s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 454s # n = 0; 454s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 454s # g_value_set_object (¶mv[n++], skeleton); 454s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 454s # g_value_set_object (¶mv[n++], invocation); 454s # if (info->pass_fdlist) 454s # { 454s # #ifdef G_OS_UNIX 454s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 454s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 454s # #else 454s # g_assert_not_reached (); 454s # #endif 454s # } 454s # g_variant_iter_init (&iter, parameters); 454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 454s # { 454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 454s # if (arg_info->use_gvariant) 454s # { 454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 454s # g_value_set_variant (¶mv[n], child); 454s # n++; 454s # } 454s # else 454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 454s # g_variant_unref (child); 454s # } 454s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 454s # g_value_init (&return_value, G_TYPE_BOOLEAN); 454s # g_signal_emitv (paramv, signal_id, 0, &return_value); 454s # if (!g_value_get_boolean (&return_value)) 454s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 454s # g_value_unset (&return_value); 454s # for (n = 0; n < num_params + num_extra; n++) 454s # g_value_unset (¶mv[n]); 454s # g_free (paramv); 454s # } 454s # 454s # static GVariant * 454s # _good_types_skeleton_handle_get_property ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name G_GNUC_UNUSED, 454s # const gchar *property_name, 454s # GError **error, 454s # gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # GValue value = G_VALUE_INIT; 454s # GParamSpec *pspec; 454s # _ExtendedGDBusPropertyInfo *info; 454s # GVariant *ret; 454s # ret = NULL; 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 454s # g_assert (info != NULL); 454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 454s # if (pspec == NULL) 454s # { 454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 454s # } 454s # else 454s # { 454s # g_value_init (&value, pspec->value_type); 454s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 454s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 454s # g_value_unset (&value); 454s # } 454s # return ret; 454s # } 454s # 454s # static gboolean 454s # _good_types_skeleton_handle_set_property ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name G_GNUC_UNUSED, 454s # const gchar *property_name, 454s # GVariant *variant, 454s # GError **error, 454s # gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # GValue value = G_VALUE_INIT; 454s # GParamSpec *pspec; 454s # _ExtendedGDBusPropertyInfo *info; 454s # gboolean ret; 454s # ret = FALSE; 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 454s # g_assert (info != NULL); 454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 454s # if (pspec == NULL) 454s # { 454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 454s # } 454s # else 454s # { 454s # if (info->use_gvariant) 454s # g_value_set_variant (&value, variant); 454s # else 454s # g_dbus_gvariant_to_gvalue (variant, &value); 454s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 454s # g_value_unset (&value); 454s # ret = TRUE; 454s # } 454s # return ret; 454s # } 454s # 454s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 454s # { 454s # _good_types_skeleton_handle_method_call, 454s # _good_types_skeleton_handle_get_property, 454s # _good_types_skeleton_handle_set_property, 454s # {NULL} 454s # }; 454s # 454s # static GDBusInterfaceInfo * 454s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 454s # { 454s # return good_types_interface_info (); 454s # } 454s # 454s # static GDBusInterfaceVTable * 454s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 454s # { 454s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 454s # } 454s # 454s # static GVariant * 454s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 454s # 454s # GVariantBuilder builder; 454s # guint n; 454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 454s # if (_good_types_interface_info.parent_struct.properties == NULL) 454s # goto out; 454s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 454s # { 454s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 454s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 454s # { 454s # GVariant *value; 454s # 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); 454s # if (value != NULL) 454s # { 454s # g_variant_take_ref (value); 454s # g_variant_builder_add (&builder, "{sv}", info->name, value); 454s # g_variant_unref (value); 454s # } 454s # } 454s # } 454s # out: 454s # return g_variant_builder_end (&builder); 454s # } 454s # 454s # static gboolean _good_types_emit_changed (gpointer user_data); 454s # 454s # static void 454s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 454s # gboolean emit_changed = FALSE; 454s # 454s # g_mutex_lock (&skeleton->priv->lock); 454s # if (skeleton->priv->changed_properties_idle_source != NULL) 454s # { 454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 454s # skeleton->priv->changed_properties_idle_source = NULL; 454s # emit_changed = TRUE; 454s # } 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # 454s # if (emit_changed) 454s # _good_types_emit_changed (skeleton); 454s # } 454s # 454s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 454s # G_ADD_PRIVATE (GoodTypesSkeleton) 454s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 454s # 454s # #else 454s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 454s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 454s # 454s # #endif 454s # static void 454s # good_types_skeleton_finalize (GObject *object) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # guint n; 454s # for (n = 0; n < 1; n++) 454s # g_value_unset (&skeleton->priv->properties[n]); 454s # g_free (skeleton->priv->properties); 454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 454s # if (skeleton->priv->changed_properties_idle_source != NULL) 454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 454s # g_main_context_unref (skeleton->priv->context); 454s # g_mutex_clear (&skeleton->priv->lock); 454s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 454s # } 454s # 454s # static void 454s # good_types_skeleton_get_property (GObject *object, 454s # guint prop_id, 454s # GValue *value, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # g_assert (prop_id != 0 && prop_id - 1 < 1); 454s # g_mutex_lock (&skeleton->priv->lock); 454s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # } 454s # 454s # static gboolean 454s # _good_types_emit_changed (gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # GList *l; 454s # GVariantBuilder builder; 454s # GVariantBuilder invalidated_builder; 454s # guint num_changes; 454s # 454s # g_mutex_lock (&skeleton->priv->lock); 454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 454s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 454s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 454s # { 454s # ChangedProperty *cp = l->data; 454s # GVariant *variant; 454s # const GValue *cur_value; 454s # 454s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 454s # if (!_g_value_equal (cur_value, &cp->orig_value)) 454s # { 454s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 454s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 454s # g_variant_unref (variant); 454s # num_changes++; 454s # } 454s # } 454s # if (num_changes > 0) 454s # { 454s # GList *connections, *ll; 454s # GVariant *signal_variant; 454s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 454s # &builder, &invalidated_builder)); 454s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 454s # for (ll = connections; ll != NULL; ll = ll->next) 454s # { 454s # GDBusConnection *connection = ll->data; 454s # 454s # g_dbus_connection_emit_signal (connection, 454s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 454s # "org.freedesktop.DBus.Properties", 454s # "PropertiesChanged", 454s # signal_variant, 454s # NULL); 454s # } 454s # g_variant_unref (signal_variant); 454s # g_list_free_full (connections, g_object_unref); 454s # } 454s # else 454s # { 454s # g_variant_builder_clear (&builder); 454s # g_variant_builder_clear (&invalidated_builder); 454s # } 454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 454s # skeleton->priv->changed_properties = NULL; 454s # skeleton->priv->changed_properties_idle_source = NULL; 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # return FALSE; 454s # } 454s # 454s # static void 454s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 454s # { 454s # ChangedProperty *cp; 454s # GList *l; 454s # cp = NULL; 454s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 454s # { 454s # ChangedProperty *i_cp = l->data; 454s # if (i_cp->info == info) 454s # { 454s # cp = i_cp; 454s # break; 454s # } 454s # } 454s # if (cp == NULL) 454s # { 454s # cp = g_new0 (ChangedProperty, 1); 454s # cp->prop_id = prop_id; 454s # cp->info = info; 454s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 454s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 454s # g_value_copy (orig_value, &cp->orig_value); 454s # } 454s # } 454s # 454s # static void 454s # good_types_skeleton_notify (GObject *object, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # g_mutex_lock (&skeleton->priv->lock); 454s # if (skeleton->priv->changed_properties != NULL && 454s # skeleton->priv->changed_properties_idle_source == NULL) 454s # { 454s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 454s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 454s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 454s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 454s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 454s # g_source_unref (skeleton->priv->changed_properties_idle_source); 454s # } 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # } 454s # 454s # static void 454s # good_types_skeleton_set_property (GObject *object, 454s # guint prop_id, 454s # const GValue *value, 454s # GParamSpec *pspec) 454s # { 454s # const _ExtendedGDBusPropertyInfo *info; 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # g_assert (prop_id != 0 && prop_id - 1 < 1); 454s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 454s # g_mutex_lock (&skeleton->priv->lock); 454s # g_object_freeze_notify (object); 454s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 454s # { 454s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 454s # info->emits_changed_signal) 454s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 454s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 454s # g_object_notify_by_pspec (object, pspec); 454s # } 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # g_object_thaw_notify (object); 454s # } 454s # 454s # static void 454s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 454s # { 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 454s # #else 454s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 454s # #endif 454s # 454s # g_mutex_init (&skeleton->priv->lock); 454s # skeleton->priv->context = g_main_context_ref_thread_default (); 454s # skeleton->priv->properties = g_new0 (GValue, 1); 454s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 454s # } 454s # 454s # static GVariant * 454s # good_types_skeleton_get_good_property_type (GoodTypes *object) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # GVariant *value; 454s # g_mutex_lock (&skeleton->priv->lock); 454s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # return value; 454s # } 454s # 454s # static void 454s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 454s # { 454s # GObjectClass *gobject_class; 454s # GDBusInterfaceSkeletonClass *skeleton_class; 454s # 454s # gobject_class = G_OBJECT_CLASS (klass); 454s # gobject_class->finalize = good_types_skeleton_finalize; 454s # gobject_class->get_property = good_types_skeleton_get_property; 454s # gobject_class->set_property = good_types_skeleton_set_property; 454s # gobject_class->notify = good_types_skeleton_notify; 454s # 454s # 454s # good_types_override_properties (gobject_class, 1); 454s # 454s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 454s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 454s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 454s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 454s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 454s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 454s # #endif 454s # } 454s # 454s # static void 454s # good_types_skeleton_iface_init (GoodTypesIface *iface) 454s # { 454s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 454s # } 454s # 454s # /** 454s # * good_types_skeleton_new: 454s # * 454s # * Creates a skeleton object for the D-Bus interface GoodTypes. 454s # * 454s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 454s # */ 454s # GoodTypes * 454s # good_types_skeleton_new (void) 454s # { 454s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 454s # } 454s # /tmp/tmpfv__7hke/tmpu61j71lk.xml: 454s # 454s # 454s # 454s # 454s # 454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfv__7hke/tmpu61j71lk.xml', '--output', '-', '--body'] 454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 454s # Output: /* 454s # * This file is generated by gdbus-codegen, do not modify it. 454s # * 454s # * The license of this code is the same as for the D-Bus interface description 454s # * it was derived from. Note that it links to GLib, so must comply with the 454s # * LGPL linking clauses. 454s # */ 454s # 454s # #ifdef HAVE_CONFIG_H 454s # # include "config.h" 454s # #endif 454s # 454s # #include 454s # #ifdef G_OS_UNIX 454s # # include 454s # #endif 454s # 454s # #ifdef G_ENABLE_DEBUG 454s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 454s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 454s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 454s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 454s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 454s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 454s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 454s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 454s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 454s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 454s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 454s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 454s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 454s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 454s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 454s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 454s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 454s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 454s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 454s # #else /* !G_ENABLE_DEBUG */ 454s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 454s # * Do not access GValues directly in your code. Instead, use the 454s # * g_value_get_*() functions 454s # */ 454s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 454s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 454s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 454s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 454s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 454s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 454s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 454s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 454s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 454s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 454s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 454s # #endif /* !G_ENABLE_DEBUG */ 454s # 454s # typedef struct 454s # { 454s # GDBusArgInfo parent_struct; 454s # gboolean use_gvariant; 454s # } _ExtendedGDBusArgInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusMethodInfo parent_struct; 454s # const gchar *signal_name; 454s # gboolean pass_fdlist; 454s # } _ExtendedGDBusMethodInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusSignalInfo parent_struct; 454s # const gchar *signal_name; 454s # } _ExtendedGDBusSignalInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusPropertyInfo parent_struct; 454s # const gchar *hyphen_name; 454s # guint use_gvariant : 1; 454s # guint emits_changed_signal : 1; 454s # } _ExtendedGDBusPropertyInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusInterfaceInfo parent_struct; 454s # const gchar *hyphen_name; 454s # } _ExtendedGDBusInterfaceInfo; 454s # 454s # typedef struct 454s # { 454s # const _ExtendedGDBusPropertyInfo *info; 454s # guint prop_id; 454s # GValue orig_value; /* the value before the change */ 454s # } ChangedProperty; 454s # 454s # static void 454s # _changed_property_free (ChangedProperty *data) 454s # { 454s # g_value_unset (&data->orig_value); 454s # g_free (data); 454s # } 454s # 454s # static gboolean 454s # _g_strv_equal0 (gchar **a, gchar **b) 454s # { 454s # gboolean ret = FALSE; 454s # guint n; 454s # if (a == NULL && b == NULL) 454s # { 454s # ret = TRUE; 454s # goto out; 454s # } 454s # if (a == NULL || b == NULL) 454s # goto out; 454s # if (g_strv_length (a) != g_strv_length (b)) 454s # goto out; 454s # for (n = 0; a[n] != NULL; n++) 454s # if (g_strcmp0 (a[n], b[n]) != 0) 454s # goto out; 454s # ret = TRUE; 454s # out: 454s # return ret; 454s # } 454s # 454s # static gboolean 454s # _g_variant_equal0 (GVariant *a, GVariant *b) 454s # { 454s # gboolean ret = FALSE; 454s # if (a == NULL && b == NULL) 454s # { 454s # ret = TRUE; 454s # goto out; 454s # } 454s # if (a == NULL || b == NULL) 454s # goto out; 454s # ret = g_variant_equal (a, b); 454s # out: 454s # return ret; 454s # } 454s # 454s # G_GNUC_UNUSED static gboolean 454s # _g_value_equal (const GValue *a, const GValue *b) 454s # { 454s # gboolean ret = FALSE; 454s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 454s # switch (G_VALUE_TYPE (a)) 454s # { 454s # case G_TYPE_BOOLEAN: 454s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 454s # break; 454s # case G_TYPE_UCHAR: 454s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 454s # break; 454s # case G_TYPE_INT: 454s # ret = (g_value_get_int (a) == g_value_get_int (b)); 454s # break; 454s # case G_TYPE_UINT: 454s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 454s # break; 454s # case G_TYPE_INT64: 454s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 454s # break; 454s # case G_TYPE_UINT64: 454s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 454s # break; 454s # case G_TYPE_DOUBLE: 454s # { 454s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 454s # gdouble da = g_value_get_double (a); 454s # gdouble db = g_value_get_double (b); 454s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 454s # } 454s # break; 454s # case G_TYPE_STRING: 454s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 454s # break; 454s # case G_TYPE_VARIANT: 454s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 454s # break; 454s # default: 454s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 454s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 454s # else 454s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 454s # break; 454s # } 454s # return ret; 454s # } 454s # 454s # /* ------------------------------------------------------------------------ 454s # * Code for interface GoodTypes 454s # * ------------------------------------------------------------------------ 454s # */ 454s # 454s # /** 454s # * SECTION:GoodTypes 454s # * @title: GoodTypes 454s # * @short_description: Generated C code for the GoodTypes D-Bus interface 454s # * 454s # * This section contains code for working with the GoodTypes D-Bus interface in C. 454s # */ 454s # 454s # /* ---- Introspection data for GoodTypes ---- */ 454s # 454s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 454s # { 454s # { 454s # -1, 454s # (gchar *) "GoodPropertyType", 454s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 454s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 454s # NULL 454s # }, 454s # "good-property-type", 454s # FALSE, 454s # TRUE 454s # }; 454s # 454s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 454s # { 454s # &_good_types_property_info_good_property_type.parent_struct, 454s # NULL 454s # }; 454s # 454s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 454s # { 454s # { 454s # -1, 454s # (gchar *) "GoodTypes", 454s # NULL, 454s # NULL, 454s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 454s # NULL 454s # }, 454s # "good-types", 454s # }; 454s # 454s # 454s # /** 454s # * good_types_interface_info: 454s # * 454s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 454s # * 454s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 454s # */ 454s # GDBusInterfaceInfo * 454s # good_types_interface_info (void) 454s # { 454s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 454s # } 454s # 454s # /** 454s # * good_types_override_properties: 454s # * @klass: The class structure for a #GObject derived class. 454s # * @property_id_begin: The property id to assign to the first overridden property. 454s # * 454s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 454s # * The properties are overridden in the order they are defined. 454s # * 454s # * Returns: The last property id. 454s # */ 454s # guint 454s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 454s # { 454s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 454s # return property_id_begin - 1; 454s # } 454s # 454s # 454s # 454s # /** 454s # * GoodTypes: 454s # * 454s # * Abstract interface type for the D-Bus interface GoodTypes. 454s # */ 454s # 454s # /** 454s # * GoodTypesIface: 454s # * @parent_iface: The parent interface. 454s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 454s # * 454s # * Virtual table for the D-Bus interface GoodTypes. 454s # */ 454s # 454s # typedef GoodTypesIface GoodTypesInterface; 454s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 454s # 454s # static void 454s # good_types_default_init (GoodTypesIface *iface) 454s # { 454s # /* GObject properties for D-Bus properties: */ 454s # /** 454s # * GoodTypes:good-property-type: 454s # * 454s # * Represents the D-Bus property "GoodPropertyType". 454s # * 454s # * 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. 454s # */ 454s # g_object_interface_install_property (iface, 454s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 454s # } 454s # 454s # /** 454s # * good_types_get_good_property_type: (skip) 454s # * @object: A GoodTypes. 454s # * 454s # * Gets the value of the "GoodPropertyType" D-Bus property. 454s # * 454s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 454s # * 454s # * 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. 454s # * 454s # * 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. 454s # */ 454s # GVariant * 454s # good_types_get_good_property_type (GoodTypes *object) 454s # { 454s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 454s # 454s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 454s # } 454s # 454s # /** 454s # * good_types_dup_good_property_type: (skip) 454s # * @object: A GoodTypes. 454s # * 454s # * Gets a copy of the "GoodPropertyType" D-Bus property. 454s # * 454s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 454s # * 454s # * 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(). 454s # */ 454s # GVariant * 454s # good_types_dup_good_property_type (GoodTypes *object) 454s # { 454s # GVariant *value; 454s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 454s # return value; 454s # } 454s # 454s # /** 454s # * good_types_set_good_property_type: (skip) 454s # * @object: A GoodTypes. 454s # * @value: The value to set. 454s # * 454s # * Sets the "GoodPropertyType" D-Bus property to @value. 454s # * 454s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 454s # */ 454s # void 454s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 454s # { 454s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 454s # } 454s # 454s # /* ------------------------------------------------------------------------ */ 454s # 454s # /** 454s # * GoodTypesProxy: 454s # * 454s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 454s # */ 454s # 454s # /** 454s # * GoodTypesProxyClass: 454s # * @parent_class: The parent class. 454s # * 454s # * Class structure for GoodTypesProxy. 454s # */ 454s # 454s # struct _GoodTypesProxyPrivate 454s # { 454s # GData *qdata; 454s # }; 454s # 454s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 454s # G_ADD_PRIVATE (GoodTypesProxy) 454s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 454s # 454s # #else 454s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 454s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 454s # 454s # #endif 454s # static void 454s # good_types_proxy_finalize (GObject *object) 454s # { 454s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 454s # g_datalist_clear (&proxy->priv->qdata); 454s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 454s # } 454s # 454s # static void 454s # good_types_proxy_get_property (GObject *object, 454s # guint prop_id, 454s # GValue *value, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # const _ExtendedGDBusPropertyInfo *info; 454s # GVariant *variant; 454s # g_assert (prop_id != 0 && prop_id - 1 < 1); 454s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 454s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 454s # if (info->use_gvariant) 454s # { 454s # g_value_set_variant (value, variant); 454s # } 454s # else 454s # { 454s # if (variant != NULL) 454s # g_dbus_gvariant_to_gvalue (variant, value); 454s # } 454s # if (variant != NULL) 454s # g_variant_unref (variant); 454s # } 454s # 454s # static void 454s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 454s # GAsyncResult *res, 454s # gpointer user_data) 454s # { 454s # const _ExtendedGDBusPropertyInfo *info = user_data; 454s # GError *error; 454s # GVariant *_ret; 454s # error = NULL; 454s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 454s # if (!_ret) 454s # { 454s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 454s # info->parent_struct.name, 454s # error->message, g_quark_to_string (error->domain), error->code); 454s # g_error_free (error); 454s # } 454s # else 454s # { 454s # g_variant_unref (_ret); 454s # } 454s # } 454s # 454s # static void 454s # good_types_proxy_set_property (GObject *object, 454s # guint prop_id, 454s # const GValue *value, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # const _ExtendedGDBusPropertyInfo *info; 454s # GVariant *variant; 454s # g_assert (prop_id != 0 && prop_id - 1 < 1); 454s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 454s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 454s # g_dbus_proxy_call (G_DBUS_PROXY (object), 454s # "org.freedesktop.DBus.Properties.Set", 454s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 454s # G_DBUS_CALL_FLAGS_NONE, 454s # -1, 454s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 454s # g_variant_unref (variant); 454s # } 454s # 454s # static void 454s # good_types_proxy_g_signal (GDBusProxy *proxy, 454s # const gchar *sender_name G_GNUC_UNUSED, 454s # const gchar *signal_name, 454s # GVariant *parameters) 454s # { 454s # _ExtendedGDBusSignalInfo *info; 454s # GVariantIter iter; 454s # GVariant *child; 454s # GValue *paramv; 454s # gsize num_params; 454s # gsize n; 454s # guint signal_id; 454s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 454s # if (info == NULL) 454s # return; 454s # num_params = g_variant_n_children (parameters); 454s # paramv = g_new0 (GValue, num_params + 1); 454s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 454s # g_value_set_object (¶mv[0], proxy); 454s # g_variant_iter_init (&iter, parameters); 454s # n = 1; 454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 454s # { 454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 454s # if (arg_info->use_gvariant) 454s # { 454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 454s # g_value_set_variant (¶mv[n], child); 454s # n++; 454s # } 454s # else 454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 454s # g_variant_unref (child); 454s # } 454s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 454s # g_signal_emitv (paramv, signal_id, 0, NULL); 454s # for (n = 0; n < num_params + 1; n++) 454s # g_value_unset (¶mv[n]); 454s # g_free (paramv); 454s # } 454s # 454s # static void 454s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 454s # GVariant *changed_properties, 454s # const gchar *const *invalidated_properties) 454s # { 454s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 454s # guint n; 454s # const gchar *key; 454s # GVariantIter *iter; 454s # _ExtendedGDBusPropertyInfo *info; 454s # g_variant_get (changed_properties, "a{sv}", &iter); 454s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 454s # { 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 454s # g_datalist_remove_data (&proxy->priv->qdata, key); 454s # if (info != NULL) 454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 454s # } 454s # g_variant_iter_free (iter); 454s # for (n = 0; invalidated_properties[n] != NULL; n++) 454s # { 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 454s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 454s # if (info != NULL) 454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 454s # } 454s # } 454s # 454s # static GVariant * 454s # good_types_proxy_get_good_property_type (GoodTypes *object) 454s # { 454s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 454s # GVariant *variant; 454s # GVariant *value = NULL; 454s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 454s # value = variant; 454s # if (variant != NULL) 454s # g_variant_unref (variant); 454s # return value; 454s # } 454s # 454s # static void 454s # good_types_proxy_init (GoodTypesProxy *proxy) 454s # { 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # proxy->priv = good_types_proxy_get_instance_private (proxy); 454s # #else 454s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 454s # #endif 454s # 454s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 454s # } 454s # 454s # static void 454s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 454s # { 454s # GObjectClass *gobject_class; 454s # GDBusProxyClass *proxy_class; 454s # 454s # gobject_class = G_OBJECT_CLASS (klass); 454s # gobject_class->finalize = good_types_proxy_finalize; 454s # gobject_class->get_property = good_types_proxy_get_property; 454s # gobject_class->set_property = good_types_proxy_set_property; 454s # 454s # proxy_class = G_DBUS_PROXY_CLASS (klass); 454s # proxy_class->g_signal = good_types_proxy_g_signal; 454s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 454s # 454s # good_types_override_properties (gobject_class, 1); 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 454s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 454s # #endif 454s # } 454s # 454s # static void 454s # good_types_proxy_iface_init (GoodTypesIface *iface) 454s # { 454s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 454s # } 454s # 454s # /** 454s # * good_types_proxy_new: 454s # * @connection: A #GDBusConnection. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 454s # * 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 454s # * 454s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 454s # */ 454s # void 454s # good_types_proxy_new ( 454s # GDBusConnection *connection, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # 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); 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_finish: 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 454s # * @error: Return location for error or %NULL 454s # * 454s # * Finishes an operation started with good_types_proxy_new(). 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_finish ( 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GObject *ret; 454s # GObject *source_object; 454s # source_object = g_async_result_get_source_object (res); 454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 454s # g_object_unref (source_object); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_sync: 454s # * @connection: A #GDBusConnection. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL 454s # * 454s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 454s # * 454s # * The calling thread is blocked until a reply is received. 454s # * 454s # * See good_types_proxy_new() for the asynchronous version of this constructor. 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_sync ( 454s # GDBusConnection *connection, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GInitable *ret; 454s # 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); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # 454s # /** 454s # * good_types_proxy_new_for_bus: 454s # * @bus_type: A #GBusType. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: A bus name (well-known or unique). 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 454s # * 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 454s # * 454s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 454s # */ 454s # void 454s # good_types_proxy_new_for_bus ( 454s # GBusType bus_type, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # 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); 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_for_bus_finish: 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 454s # * @error: Return location for error or %NULL 454s # * 454s # * Finishes an operation started with good_types_proxy_new_for_bus(). 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_for_bus_finish ( 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GObject *ret; 454s # GObject *source_object; 454s # source_object = g_async_result_get_source_object (res); 454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 454s # g_object_unref (source_object); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # /** 454s # * good_types_proxy_new_for_bus_sync: 454s # * @bus_type: A #GBusType. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: A bus name (well-known or unique). 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL 454s # * 454s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 454s # * 454s # * The calling thread is blocked until a reply is received. 454s # * 454s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 454s # * 454s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # GoodTypes * 454s # good_types_proxy_new_for_bus_sync ( 454s # GBusType bus_type, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GInitable *ret; 454s # 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); 454s # if (ret != NULL) 454s # return GOOD_TYPES (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # 454s # /* ------------------------------------------------------------------------ */ 454s # 454s # /** 454s # * GoodTypesSkeleton: 454s # * 454s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 454s # */ 454s # 454s # /** 454s # * GoodTypesSkeletonClass: 454s # * @parent_class: The parent class. 454s # * 454s # * Class structure for GoodTypesSkeleton. 454s # */ 454s # 454s # struct _GoodTypesSkeletonPrivate 454s # { 454s # GValue *properties; 454s # GList *changed_properties; 454s # GSource *changed_properties_idle_source; 454s # GMainContext *context; 454s # GMutex lock; 454s # }; 454s # 454s # static void 454s # _good_types_skeleton_handle_method_call ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name, 454s # const gchar *method_name, 454s # GVariant *parameters, 454s # GDBusMethodInvocation *invocation, 454s # gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # _ExtendedGDBusMethodInfo *info; 454s # GVariantIter iter; 454s # GVariant *child; 454s # GValue *paramv; 454s # gsize num_params; 454s # guint num_extra; 454s # gsize n; 454s # guint signal_id; 454s # GValue return_value = G_VALUE_INIT; 454s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 454s # g_assert (info != NULL); 454s # num_params = g_variant_n_children (parameters); 454s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 454s # n = 0; 454s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 454s # g_value_set_object (¶mv[n++], skeleton); 454s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 454s # g_value_set_object (¶mv[n++], invocation); 454s # if (info->pass_fdlist) 454s # { 454s # #ifdef G_OS_UNIX 454s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 454s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 454s # #else 454s # g_assert_not_reached (); 454s # #endif 454s # } 454s # g_variant_iter_init (&iter, parameters); 454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 454s # { 454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 454s # if (arg_info->use_gvariant) 454s # { 454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 454s # g_value_set_variant (¶mv[n], child); 454s # n++; 454s # } 454s # else 454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 454s # g_variant_unref (child); 454s # } 454s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 454s # g_value_init (&return_value, G_TYPE_BOOLEAN); 454s # g_signal_emitv (paramv, signal_id, 0, &return_value); 454s # if (!g_value_get_boolean (&return_value)) 454s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 454s # g_value_unset (&return_value); 454s # for (n = 0; n < num_params + num_extra; n++) 454s # g_value_unset (¶mv[n]); 454s # g_free (paramv); 454s # } 454s # 454s # static GVariant * 454s # _good_types_skeleton_handle_get_property ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name G_GNUC_UNUSED, 454s # const gchar *property_name, 454s # GError **error, 454s # gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # GValue value = G_VALUE_INIT; 454s # GParamSpec *pspec; 454s # _ExtendedGDBusPropertyInfo *info; 454s # GVariant *ret; 454s # ret = NULL; 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 454s # g_assert (info != NULL); 454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 454s # if (pspec == NULL) 454s # { 454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 454s # } 454s # else 454s # { 454s # g_value_init (&value, pspec->value_type); 454s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 454s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 454s # g_value_unset (&value); 454s # } 454s # return ret; 454s # } 454s # 454s # static gboolean 454s # _good_types_skeleton_handle_set_property ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name G_GNUC_UNUSED, 454s # const gchar *property_name, 454s # GVariant *variant, 454s # GError **error, 454s # gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # GValue value = G_VALUE_INIT; 454s # GParamSpec *pspec; 454s # _ExtendedGDBusPropertyInfo *info; 454s # gboolean ret; 454s # ret = FALSE; 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 454s # g_assert (info != NULL); 454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 454s # if (pspec == NULL) 454s # { 454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 454s # } 454s # else 454s # { 454s # if (info->use_gvariant) 454s # g_value_set_variant (&value, variant); 454s # else 454s # g_dbus_gvariant_to_gvalue (variant, &value); 454s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 454s # g_value_unset (&value); 454s # ret = TRUE; 454s # } 454s # return ret; 454s # } 454s # 454s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 454s # { 454s # _good_types_skeleton_handle_method_call, 454s # _good_types_skeleton_handle_get_property, 454s # _good_types_skeleton_handle_set_property, 454s # {NULL} 454s # }; 454s # 454s # static GDBusInterfaceInfo * 454s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 454s # { 454s # return good_types_interface_info (); 454s # } 454s # 454s # static GDBusInterfaceVTable * 454s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 454s # { 454s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 454s # } 454s # 454s # static GVariant * 454s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 454s # 454s # GVariantBuilder builder; 454s # guint n; 454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 454s # if (_good_types_interface_info.parent_struct.properties == NULL) 454s # goto out; 454s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 454s # { 454s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 454s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 454s # { 454s # GVariant *value; 454s # 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); 454s # if (value != NULL) 454s # { 454s # g_variant_take_ref (value); 454s # g_variant_builder_add (&builder, "{sv}", info->name, value); 454s # g_variant_unref (value); 454s # } 454s # } 454s # } 454s # out: 454s # return g_variant_builder_end (&builder); 454s # } 454s # 454s # static gboolean _good_types_emit_changed (gpointer user_data); 454s # 454s # static void 454s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 454s # gboolean emit_changed = FALSE; 454s # 454s # g_mutex_lock (&skeleton->priv->lock); 454s # if (skeleton->priv->changed_properties_idle_source != NULL) 454s # { 454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 454s # skeleton->priv->changed_properties_idle_source = NULL; 454s # emit_changed = TRUE; 454s # } 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # 454s # if (emit_changed) 454s # _good_types_emit_changed (skeleton); 454s # } 454s # 454s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 454s # G_ADD_PRIVATE (GoodTypesSkeleton) 454s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 454s # 454s # #else 454s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 454s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 454s # 454s # #endif 454s # static void 454s # good_types_skeleton_finalize (GObject *object) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # guint n; 454s # for (n = 0; n < 1; n++) 454s # g_value_unset (&skeleton->priv->properties[n]); 454s # g_free (skeleton->priv->properties); 454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 454s # if (skeleton->priv->changed_properties_idle_source != NULL) 454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 454s # g_main_context_unref (skeleton->priv->context); 454s # g_mutex_clear (&skeleton->priv->lock); 454s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 454s # } 454s # 454s # static void 454s # good_types_skeleton_get_property (GObject *object, 454s # guint prop_id, 454s # GValue *value, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # g_assert (prop_id != 0 && prop_id - 1 < 1); 454s # g_mutex_lock (&skeleton->priv->lock); 454s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # } 454s # 454s # static gboolean 454s # _good_types_emit_changed (gpointer user_data) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 454s # GList *l; 454s # GVariantBuilder builder; 454s # GVariantBuilder invalidated_builder; 454s # guint num_changes; 454s # 454s # g_mutex_lock (&skeleton->priv->lock); 454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 454s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 454s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 454s # { 454s # ChangedProperty *cp = l->data; 454s # GVariant *variant; 454s # const GValue *cur_value; 454s # 454s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 454s # if (!_g_value_equal (cur_value, &cp->orig_value)) 454s # { 454s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 454s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 454s # g_variant_unref (variant); 454s # num_changes++; 454s # } 454s # } 454s # if (num_changes > 0) 454s # { 454s # GList *connections, *ll; 454s # GVariant *signal_variant; 454s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 454s # &builder, &invalidated_builder)); 454s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 454s # for (ll = connections; ll != NULL; ll = ll->next) 454s # { 454s # GDBusConnection *connection = ll->data; 454s # 454s # g_dbus_connection_emit_signal (connection, 454s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 454s # "org.freedesktop.DBus.Properties", 454s # "PropertiesChanged", 454s # signal_variant, 454s # NULL); 454s # } 454s # g_variant_unref (signal_variant); 454s # g_list_free_full (connections, g_object_unref); 454s # } 454s # else 454s # { 454s # g_variant_builder_clear (&builder); 454s # g_variant_builder_clear (&invalidated_builder); 454s # } 454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 454s # skeleton->priv->changed_properties = NULL; 454s # skeleton->priv->changed_properties_idle_source = NULL; 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # return FALSE; 454s # } 454s # 454s # static void 454s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 454s # { 454s # ChangedProperty *cp; 454s # GList *l; 454s # cp = NULL; 454s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 454s # { 454s # ChangedProperty *i_cp = l->data; 454s # if (i_cp->info == info) 454s # { 454s # cp = i_cp; 454s # break; 454s # } 454s # } 454s # if (cp == NULL) 454s # { 454s # cp = g_new0 (ChangedProperty, 1); 454s # cp->prop_id = prop_id; 454s # cp->info = info; 454s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 454s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 454s # g_value_copy (orig_value, &cp->orig_value); 454s # } 454s # } 454s # 454s # static void 454s # good_types_skeleton_notify (GObject *object, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # g_mutex_lock (&skeleton->priv->lock); 454s # if (skeleton->priv->changed_properties != NULL && 454s # skeleton->priv->changed_properties_idle_source == NULL) 454s # { 454s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 454s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 454s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 454s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 454s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 454s # g_source_unref (skeleton->priv->changed_properties_idle_source); 454s # } 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # } 454s # 454s # static void 454s # good_types_skeleton_set_property (GObject *object, 454s # guint prop_id, 454s # const GValue *value, 454s # GParamSpec *pspec) 454s # { 454s # const _ExtendedGDBusPropertyInfo *info; 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # g_assert (prop_id != 0 && prop_id - 1 < 1); 454s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 454s # g_mutex_lock (&skeleton->priv->lock); 454s # g_object_freeze_notify (object); 454s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 454s # { 454s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 454s # info->emits_changed_signal) 454s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 454s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 454s # g_object_notify_by_pspec (object, pspec); 454s # } 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # g_object_thaw_notify (object); 454s # } 454s # 454s # static void 454s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 454s # { 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 454s # #else 454s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 454s # #endif 454s # 454s # g_mutex_init (&skeleton->priv->lock); 454s # skeleton->priv->context = g_main_context_ref_thread_default (); 454s # skeleton->priv->properties = g_new0 (GValue, 1); 454s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 454s # } 454s # 454s # static GVariant * 454s # good_types_skeleton_get_good_property_type (GoodTypes *object) 454s # { 454s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 454s # GVariant *value; 454s # g_mutex_lock (&skeleton->priv->lock); 454s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 454s # g_mutex_unlock (&skeleton->priv->lock); 454s # return value; 454s # } 454s # 454s # static void 454s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 454s # { 454s # GObjectClass *gobject_class; 454s # GDBusInterfaceSkeletonClass *skeleton_class; 454s # 454s # gobject_class = G_OBJECT_CLASS (klass); 454s # gobject_class->finalize = good_types_skeleton_finalize; 454s # gobject_class->get_property = good_types_skeleton_get_property; 454s # gobject_class->set_property = good_types_skeleton_set_property; 454s # gobject_class->notify = good_types_skeleton_notify; 454s # 454s # 454s # good_types_override_properties (gobject_class, 1); 454s # 454s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 454s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 454s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 454s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 454s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 454s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 454s # #endif 454s # } 454s # 454s # static void 454s # good_types_skeleton_iface_init (GoodTypesIface *iface) 454s # { 454s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 454s # } 454s # 454s # /** 454s # * good_types_skeleton_new: 454s # * 454s # * Creates a skeleton object for the D-Bus interface GoodTypes. 454s # * 454s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 454s # */ 454s # GoodTypes * 454s # good_types_skeleton_new (void) 454s # { 454s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 454s # } 454s ok 3 __main__.TestCodegen.test_empty_interface_body 454s # tmpdir: /tmp/tmpnig07ybh 454s # codegen: /usr/bin/gdbus-codegen 454s # /tmp/tmpnig07ybh/tmpoyxj7fkg.xml: 454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnig07ybh/tmpoyxj7fkg.xml', '--output', '-', '--body'] 454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 454s # Output: /* 454s # * This file is generated by gdbus-codegen, do not modify it. 454s # * 454s # * The license of this code is the same as for the D-Bus interface description 454s # * it was derived from. Note that it links to GLib, so must comply with the 454s # * LGPL linking clauses. 454s # */ 454s # 454s # #ifdef HAVE_CONFIG_H 454s # # include "config.h" 454s # #endif 454s # 454s # #include 454s # #ifdef G_OS_UNIX 454s # # include 454s # #endif 454s # 454s # #ifdef G_ENABLE_DEBUG 454s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 454s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 454s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 454s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 454s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 454s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 454s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 454s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 454s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 454s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 454s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 454s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 454s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 454s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 454s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 454s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 454s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 454s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 454s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 454s # #else /* !G_ENABLE_DEBUG */ 454s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 454s # * Do not access GValues directly in your code. Instead, use the 454s # * g_value_get_*() functions 454s # */ 454s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 454s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 454s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 454s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 454s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 454s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 454s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 454s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 454s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 454s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 454s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 454s # #endif /* !G_ENABLE_DEBUG */ 454s # 454s # typedef struct 454s # { 454s # GDBusArgInfo parent_struct; 454s # gboolean use_gvariant; 454s # } _ExtendedGDBusArgInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusMethodInfo parent_struct; 454s # const gchar *signal_name; 454s # gboolean pass_fdlist; 454s # } _ExtendedGDBusMethodInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusSignalInfo parent_struct; 454s # const gchar *signal_name; 454s # } _ExtendedGDBusSignalInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusPropertyInfo parent_struct; 454s # const gchar *hyphen_name; 454s # guint use_gvariant : 1; 454s # guint emits_changed_signal : 1; 454s # } _ExtendedGDBusPropertyInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusInterfaceInfo parent_struct; 454s # const gchar *hyphen_name; 454s # } _ExtendedGDBusInterfaceInfo; 454s # 454s # typedef struct 454s # { 454s # const _ExtendedGDBusPropertyInfo *info; 454s # guint prop_id; 454s # GValue orig_value; /* the value before the change */ 454s # } ChangedProperty; 454s # 454s # static void 454s # _changed_property_free (ChangedProperty *data) 454s # { 454s # g_value_unset (&data->orig_value); 454s # g_free (data); 454s # } 454s # 454s # static gboolean 454s # _g_strv_equal0 (gchar **a, gchar **b) 454s # { 454s # gboolean ret = FALSE; 454s # guint n; 454s # if (a == NULL && b == NULL) 454s # { 454s # ret = TRUE; 454s # goto out; 454s # } 454s # if (a == NULL || b == NULL) 454s # goto out; 454s # if (g_strv_length (a) != g_strv_length (b)) 454s # goto out; 454s # for (n = 0; a[n] != NULL; n++) 454s # if (g_strcmp0 (a[n], b[n]) != 0) 454s # goto out; 454s # ret = TRUE; 454s # out: 454s # return ret; 454s # } 454s # 454s # static gboolean 454s # _g_variant_equal0 (GVariant *a, GVariant *b) 454s # { 454s # gboolean ret = FALSE; 454s # if (a == NULL && b == NULL) 454s # { 454s # ret = TRUE; 454s # goto out; 454s # } 454s # if (a == NULL || b == NULL) 454s # goto out; 454s # ret = g_variant_equal (a, b); 454s # out: 454s # return ret; 454s # } 454s # 454s # G_GNUC_UNUSED static gboolean 454s # _g_value_equal (const GValue *a, const GValue *b) 454s # { 454s # gboolean ret = FALSE; 454s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 454s # switch (G_VALUE_TYPE (a)) 454s # { 454s # case G_TYPE_BOOLEAN: 454s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 454s # break; 454s # case G_TYPE_UCHAR: 454s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 454s # break; 454s # case G_TYPE_INT: 454s # ret = (g_value_get_int (a) == g_value_get_int (b)); 454s # break; 454s # case G_TYPE_UINT: 454s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 454s # break; 454s # case G_TYPE_INT64: 454s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 454s # break; 454s # case G_TYPE_UINT64: 454s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 454s # break; 454s # case G_TYPE_DOUBLE: 454s # { 454s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 454s # gdouble da = g_value_get_double (a); 454s # gdouble db = g_value_get_double (b); 454s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 454s # } 454s # break; 454s # case G_TYPE_STRING: 454s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 454s # break; 454s # case G_TYPE_VARIANT: 454s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 454s # break; 454s # default: 454s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 454s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 454s # else 454s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 454s # break; 454s # } 454s # return ret; 454s # } 454s ok 4 __main__.TestCodegen.test_empty_interface_header 454s # tmpdir: /tmp/tmpxwywvmun 454s # codegen: /usr/bin/gdbus-codegen 454s # /tmp/tmpxwywvmun/tmpm5jvsjpx.xml: 454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxwywvmun/tmpm5jvsjpx.xml', '--output', '-', '--header'] 454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 454s # Output: /* 454s # * This file is generated by gdbus-codegen, do not modify it. 454s # * 454s # * The license of this code is the same as for the D-Bus interface description 454s # * it was derived from. Note that it links to GLib, so must comply with the 454s # * LGPL linking clauses. 454s # */ 454s # 454s # #ifndef __STDOUT__ 454s # #define __STDOUT__ 454s # 454s # #include 454s # 454s # G_BEGIN_DECLS 454s # 454s # 454s # G_END_DECLS 454s # 454s # #endif /* __STDOUT__ */ 454s ok 5 __main__.TestCodegen.test_empty_interface_info_body 454s # tmpdir: /tmp/tmpnjh3xyu1 454s # codegen: /usr/bin/gdbus-codegen 454s # /tmp/tmpnjh3xyu1/tmpb2arzeio.xml: 454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnjh3xyu1/tmpb2arzeio.xml', '--output', '-', '--interface-info-body'] 454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 454s # Output: /* 454s # * This file is generated by gdbus-codegen, do not modify it. 454s # * 454s # * The license of this code is the same as for the D-Bus interface description 454s # * it was derived from. Note that it links to GLib, so must comply with the 454s # * LGPL linking clauses. 454s # */ 454s # 454s # #ifdef HAVE_CONFIG_H 454s # # include "config.h" 454s # #endif 454s # 454s # #include 454s ok 6 __main__.TestCodegen.test_empty_interface_info_header 454s # tmpdir: /tmp/tmpdw_9l70d 454s # codegen: /usr/bin/gdbus-codegen 454s # /tmp/tmpdw_9l70d/tmp34fmnvr0.xml: 454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdw_9l70d/tmp34fmnvr0.xml', '--output', '-', '--interface-info-header'] 454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 454s # Output: /* 454s # * This file is generated by gdbus-codegen, do not modify it. 454s # * 454s # * The license of this code is the same as for the D-Bus interface description 454s # * it was derived from. Note that it links to GLib, so must comply with the 454s # * LGPL linking clauses. 454s # */ 454s # 454s # #ifndef __STDOUT__ 454s # #define __STDOUT__ 454s # 454s # #include 454s # 454s # G_BEGIN_DECLS 454s # 454s # 454s # G_END_DECLS 454s # 454s # #endif /* __STDOUT__ */ 454s ok 7 __main__.TestCodegen.test_generate_docbook 454s # tmpdir: /tmp/tmpppplai1a 454s # codegen: /usr/bin/gdbus-codegen 454s # /tmp/tmpppplai1a/tmprpfaom0b.xml: 454s # 454s # 454s # 454s # 454s # 454s # 454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpppplai1a/tmprpfaom0b.xml', '--generate-docbook', 'test'] 454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 454s # Output: 454s ok 8 __main__.TestCodegen.test_generate_md 454s # tmpdir: /tmp/tmpqlm4e43q 454s # codegen: /usr/bin/gdbus-codegen 454s # /tmp/tmpqlm4e43q/tmp4vfsk2gh.xml: 454s # 454s # 454s # 454s # 454s # 454s # 454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqlm4e43q/tmp4vfsk2gh.xml', '--generate-md', 'test'] 454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 454s # Output: 454s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 454s # tmpdir: /tmp/tmp8p5tedr9 454s # codegen: /usr/bin/gdbus-codegen 454s # /tmp/tmp8p5tedr9/tmptpsp9ncy.xml: 454s # 454s # 454s # 454s # 454s # 454s # 454s # 454s # 454s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8p5tedr9/tmptpsp9ncy.xml', '--output', '-', '--body'] 454s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 454s # Output: /* 454s # * This file is generated by gdbus-codegen, do not modify it. 454s # * 454s # * The license of this code is the same as for the D-Bus interface description 454s # * it was derived from. Note that it links to GLib, so must comply with the 454s # * LGPL linking clauses. 454s # */ 454s # 454s # #ifdef HAVE_CONFIG_H 454s # # include "config.h" 454s # #endif 454s # 454s # #include 454s # #ifdef G_OS_UNIX 454s # # include 454s # #endif 454s # 454s # #ifdef G_ENABLE_DEBUG 454s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 454s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 454s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 454s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 454s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 454s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 454s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 454s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 454s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 454s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 454s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 454s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 454s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 454s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 454s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 454s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 454s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 454s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 454s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 454s # #else /* !G_ENABLE_DEBUG */ 454s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 454s # * Do not access GValues directly in your code. Instead, use the 454s # * g_value_get_*() functions 454s # */ 454s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 454s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 454s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 454s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 454s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 454s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 454s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 454s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 454s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 454s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 454s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 454s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 454s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 454s # #endif /* !G_ENABLE_DEBUG */ 454s # 454s # typedef struct 454s # { 454s # GDBusArgInfo parent_struct; 454s # gboolean use_gvariant; 454s # } _ExtendedGDBusArgInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusMethodInfo parent_struct; 454s # const gchar *signal_name; 454s # gboolean pass_fdlist; 454s # } _ExtendedGDBusMethodInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusSignalInfo parent_struct; 454s # const gchar *signal_name; 454s # } _ExtendedGDBusSignalInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusPropertyInfo parent_struct; 454s # const gchar *hyphen_name; 454s # guint use_gvariant : 1; 454s # guint emits_changed_signal : 1; 454s # } _ExtendedGDBusPropertyInfo; 454s # 454s # typedef struct 454s # { 454s # GDBusInterfaceInfo parent_struct; 454s # const gchar *hyphen_name; 454s # } _ExtendedGDBusInterfaceInfo; 454s # 454s # typedef struct 454s # { 454s # const _ExtendedGDBusPropertyInfo *info; 454s # guint prop_id; 454s # GValue orig_value; /* the value before the change */ 454s # } ChangedProperty; 454s # 454s # static void 454s # _changed_property_free (ChangedProperty *data) 454s # { 454s # g_value_unset (&data->orig_value); 454s # g_free (data); 454s # } 454s # 454s # static gboolean 454s # _g_strv_equal0 (gchar **a, gchar **b) 454s # { 454s # gboolean ret = FALSE; 454s # guint n; 454s # if (a == NULL && b == NULL) 454s # { 454s # ret = TRUE; 454s # goto out; 454s # } 454s # if (a == NULL || b == NULL) 454s # goto out; 454s # if (g_strv_length (a) != g_strv_length (b)) 454s # goto out; 454s # for (n = 0; a[n] != NULL; n++) 454s # if (g_strcmp0 (a[n], b[n]) != 0) 454s # goto out; 454s # ret = TRUE; 454s # out: 454s # return ret; 454s # } 454s # 454s # static gboolean 454s # _g_variant_equal0 (GVariant *a, GVariant *b) 454s # { 454s # gboolean ret = FALSE; 454s # if (a == NULL && b == NULL) 454s # { 454s # ret = TRUE; 454s # goto out; 454s # } 454s # if (a == NULL || b == NULL) 454s # goto out; 454s # ret = g_variant_equal (a, b); 454s # out: 454s # return ret; 454s # } 454s # 454s # G_GNUC_UNUSED static gboolean 454s # _g_value_equal (const GValue *a, const GValue *b) 454s # { 454s # gboolean ret = FALSE; 454s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 454s # switch (G_VALUE_TYPE (a)) 454s # { 454s # case G_TYPE_BOOLEAN: 454s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 454s # break; 454s # case G_TYPE_UCHAR: 454s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 454s # break; 454s # case G_TYPE_INT: 454s # ret = (g_value_get_int (a) == g_value_get_int (b)); 454s # break; 454s # case G_TYPE_UINT: 454s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 454s # break; 454s # case G_TYPE_INT64: 454s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 454s # break; 454s # case G_TYPE_UINT64: 454s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 454s # break; 454s # case G_TYPE_DOUBLE: 454s # { 454s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 454s # gdouble da = g_value_get_double (a); 454s # gdouble db = g_value_get_double (b); 454s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 454s # } 454s # break; 454s # case G_TYPE_STRING: 454s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 454s # break; 454s # case G_TYPE_VARIANT: 454s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 454s # break; 454s # default: 454s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 454s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 454s # else 454s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 454s # break; 454s # } 454s # return ret; 454s # } 454s # 454s # static void 454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 454s # GClosure *closure, 454s # GValue *return_value, 454s # unsigned int n_param_values, 454s # const GValue *param_values, 454s # void *invocation_hint G_GNUC_UNUSED, 454s # void *marshal_data) 454s # { 454s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 454s # (void *data1, 454s # GDBusMethodInvocation *arg_method_invocation, 454s # void *data2); 454s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 454s # GCClosure *cc = (GCClosure*) closure; 454s # void *data1, *data2; 454s # gboolean v_return; 454s # 454s # g_return_if_fail (return_value != NULL); 454s # g_return_if_fail (n_param_values == 2); 454s # 454s # if (G_CCLOSURE_SWAP_DATA (closure)) 454s # { 454s # data1 = closure->data; 454s # data2 = g_value_peek_pointer (param_values + 0); 454s # } 454s # else 454s # { 454s # data1 = g_value_peek_pointer (param_values + 0); 454s # data2 = closure->data; 454s # } 454s # 454s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 454s # (marshal_data ? marshal_data : cc->callback); 454s # 454s # v_return = 454s # callback (data1, 454s # g_marshal_value_peek_object (param_values + 1), 454s # data2); 454s # 454s # g_value_set_boolean (return_value, v_return); 454s # } 454s # 454s # /* ------------------------------------------------------------------------ 454s # * Code for interface org.project.CallableIface 454s # * ------------------------------------------------------------------------ 454s # */ 454s # 454s # /** 454s # * SECTION:OrgProjectCallableIface 454s # * @title: OrgProjectCallableIface 454s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 454s # * 454s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 454s # */ 454s # 454s # /* ---- Introspection data for org.project.CallableIface ---- */ 454s # 454s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 454s # { 454s # { 454s # -1, 454s # (gchar *) "SimpleMethod", 454s # NULL, 454s # NULL, 454s # NULL 454s # }, 454s # "handle-simple-method", 454s # FALSE 454s # }; 454s # 454s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 454s # { 454s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 454s # NULL 454s # }; 454s # 454s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 454s # { 454s # { 454s # -1, 454s # (gchar *) "org.project.CallableIface", 454s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 454s # NULL, 454s # NULL, 454s # NULL 454s # }, 454s # "org-project-callable-iface", 454s # }; 454s # 454s # 454s # /** 454s # * org_project_callable_iface_interface_info: 454s # * 454s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 454s # * 454s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 454s # */ 454s # GDBusInterfaceInfo * 454s # org_project_callable_iface_interface_info (void) 454s # { 454s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 454s # } 454s # 454s # /** 454s # * org_project_callable_iface_override_properties: 454s # * @klass: The class structure for a #GObject derived class. 454s # * @property_id_begin: The property id to assign to the first overridden property. 454s # * 454s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 454s # * The properties are overridden in the order they are defined. 454s # * 454s # * Returns: The last property id. 454s # */ 454s # guint 454s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 454s # { 454s # return property_id_begin - 1; 454s # } 454s # 454s # 454s # inline static void 454s # org_project_callable_iface_method_marshal_simple_method ( 454s # GClosure *closure, 454s # GValue *return_value, 454s # unsigned int n_param_values, 454s # const GValue *param_values, 454s # void *invocation_hint, 454s # void *marshal_data) 454s # { 454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 454s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 454s # } 454s # 454s # 454s # /** 454s # * OrgProjectCallableIface: 454s # * 454s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 454s # */ 454s # 454s # /** 454s # * OrgProjectCallableIfaceIface: 454s # * @parent_iface: The parent interface. 454s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 454s # * 454s # * Virtual table for the D-Bus interface org.project.CallableIface. 454s # */ 454s # 454s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 454s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 454s # 454s # static void 454s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 454s # { 454s # /* GObject signals for incoming D-Bus method calls: */ 454s # /** 454s # * OrgProjectCallableIface::handle-simple-method: 454s # * @object: A #OrgProjectCallableIface. 454s # * @invocation: A #GDBusMethodInvocation. 454s # * 454s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 454s # * 454s # * 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. 454s # * 454s # * 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. 454s # */ 454s # g_signal_new ("handle-simple-method", 454s # G_TYPE_FROM_INTERFACE (iface), 454s # G_SIGNAL_RUN_LAST, 454s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 454s # g_signal_accumulator_true_handled, 454s # NULL, 454s # org_project_callable_iface_method_marshal_simple_method, 454s # G_TYPE_BOOLEAN, 454s # 1, 454s # G_TYPE_DBUS_METHOD_INVOCATION); 454s # 454s # } 454s # 454s # /** 454s # * org_project_callable_iface_call_simple_method: 454s # * @proxy: A #OrgProjectCallableIfaceProxy. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 454s # * 454s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 454s # */ 454s # void 454s # org_project_callable_iface_call_simple_method ( 454s # OrgProjectCallableIface *proxy, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 454s # "SimpleMethod", 454s # g_variant_new ("()"), 454s # G_DBUS_CALL_FLAGS_NONE, 454s # -1, 454s # cancellable, 454s # callback, 454s # user_data); 454s # } 454s # 454s # /** 454s # * org_project_callable_iface_call_simple_method_finish: 454s # * @proxy: A #OrgProjectCallableIfaceProxy. 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 454s # * @error: Return location for error or %NULL. 454s # * 454s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 454s # * 454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 454s # */ 454s # gboolean 454s # org_project_callable_iface_call_simple_method_finish ( 454s # OrgProjectCallableIface *proxy, 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GVariant *_ret; 454s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 454s # if (_ret == NULL) 454s # goto _out; 454s # g_variant_get (_ret, 454s # "()"); 454s # g_variant_unref (_ret); 454s # _out: 454s # return _ret != NULL; 454s # } 454s # 454s # /** 454s # * org_project_callable_iface_call_simple_method_sync: 454s # * @proxy: A #OrgProjectCallableIfaceProxy. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL. 454s # * 454s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 454s # * 454s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 454s # * 454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 454s # */ 454s # gboolean 454s # org_project_callable_iface_call_simple_method_sync ( 454s # OrgProjectCallableIface *proxy, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GVariant *_ret; 454s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 454s # "SimpleMethod", 454s # g_variant_new ("()"), 454s # G_DBUS_CALL_FLAGS_NONE, 454s # -1, 454s # cancellable, 454s # error); 454s # if (_ret == NULL) 454s # goto _out; 454s # g_variant_get (_ret, 454s # "()"); 454s # g_variant_unref (_ret); 454s # _out: 454s # return _ret != NULL; 454s # } 454s # 454s # /** 454s # * org_project_callable_iface_complete_simple_method: 454s # * @object: A #OrgProjectCallableIface. 454s # * @invocation: (transfer full): A #GDBusMethodInvocation. 454s # * 454s # * 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. 454s # * 454s # * This method will free @invocation, you cannot use it afterwards. 454s # */ 454s # void 454s # org_project_callable_iface_complete_simple_method ( 454s # OrgProjectCallableIface *object G_GNUC_UNUSED, 454s # GDBusMethodInvocation *invocation) 454s # { 454s # g_dbus_method_invocation_return_value (invocation, 454s # g_variant_new ("()")); 454s # } 454s # 454s # /* ------------------------------------------------------------------------ */ 454s # 454s # /** 454s # * OrgProjectCallableIfaceProxy: 454s # * 454s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 454s # */ 454s # 454s # /** 454s # * OrgProjectCallableIfaceProxyClass: 454s # * @parent_class: The parent class. 454s # * 454s # * Class structure for #OrgProjectCallableIfaceProxy. 454s # */ 454s # 454s # struct _OrgProjectCallableIfaceProxyPrivate 454s # { 454s # GData *qdata; 454s # }; 454s # 454s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 454s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 454s # 454s # #else 454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 454s # 454s # #endif 454s # static void 454s # org_project_callable_iface_proxy_finalize (GObject *object) 454s # { 454s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 454s # g_datalist_clear (&proxy->priv->qdata); 454s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 454s # } 454s # 454s # static void 454s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 454s # guint prop_id G_GNUC_UNUSED, 454s # GValue *value G_GNUC_UNUSED, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # } 454s # 454s # static void 454s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 454s # guint prop_id G_GNUC_UNUSED, 454s # const GValue *value G_GNUC_UNUSED, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # } 454s # 454s # static void 454s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 454s # const gchar *sender_name G_GNUC_UNUSED, 454s # const gchar *signal_name, 454s # GVariant *parameters) 454s # { 454s # _ExtendedGDBusSignalInfo *info; 454s # GVariantIter iter; 454s # GVariant *child; 454s # GValue *paramv; 454s # gsize num_params; 454s # gsize n; 454s # guint signal_id; 454s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 454s # if (info == NULL) 454s # return; 454s # num_params = g_variant_n_children (parameters); 454s # paramv = g_new0 (GValue, num_params + 1); 454s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 454s # g_value_set_object (¶mv[0], proxy); 454s # g_variant_iter_init (&iter, parameters); 454s # n = 1; 454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 454s # { 454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 454s # if (arg_info->use_gvariant) 454s # { 454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 454s # g_value_set_variant (¶mv[n], child); 454s # n++; 454s # } 454s # else 454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 454s # g_variant_unref (child); 454s # } 454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 454s # g_signal_emitv (paramv, signal_id, 0, NULL); 454s # for (n = 0; n < num_params + 1; n++) 454s # g_value_unset (¶mv[n]); 454s # g_free (paramv); 454s # } 454s # 454s # static void 454s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 454s # GVariant *changed_properties, 454s # const gchar *const *invalidated_properties) 454s # { 454s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 454s # guint n; 454s # const gchar *key; 454s # GVariantIter *iter; 454s # _ExtendedGDBusPropertyInfo *info; 454s # g_variant_get (changed_properties, "a{sv}", &iter); 454s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 454s # { 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 454s # g_datalist_remove_data (&proxy->priv->qdata, key); 454s # if (info != NULL) 454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 454s # } 454s # g_variant_iter_free (iter); 454s # for (n = 0; invalidated_properties[n] != NULL; n++) 454s # { 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 454s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 454s # if (info != NULL) 454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 454s # } 454s # } 454s # 454s # static void 454s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 454s # { 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 454s # #else 454s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 454s # #endif 454s # 454s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 454s # } 454s # 454s # static void 454s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 454s # { 454s # GObjectClass *gobject_class; 454s # GDBusProxyClass *proxy_class; 454s # 454s # gobject_class = G_OBJECT_CLASS (klass); 454s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 454s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 454s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 454s # 454s # proxy_class = G_DBUS_PROXY_CLASS (klass); 454s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 454s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 454s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 454s # #endif 454s # } 454s # 454s # static void 454s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 454s # { 454s # } 454s # 454s # /** 454s # * org_project_callable_iface_proxy_new: 454s # * @connection: A #GDBusConnection. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 454s # * 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 454s # * 454s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 454s # */ 454s # void 454s # org_project_callable_iface_proxy_new ( 454s # GDBusConnection *connection, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # 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); 454s # } 454s # 454s # /** 454s # * org_project_callable_iface_proxy_new_finish: 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 454s # * @error: Return location for error or %NULL 454s # * 454s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 454s # * 454s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # OrgProjectCallableIface * 454s # org_project_callable_iface_proxy_new_finish ( 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GObject *ret; 454s # GObject *source_object; 454s # source_object = g_async_result_get_source_object (res); 454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 454s # g_object_unref (source_object); 454s # if (ret != NULL) 454s # return ORG_PROJECT_CALLABLE_IFACE (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # /** 454s # * org_project_callable_iface_proxy_new_sync: 454s # * @connection: A #GDBusConnection. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL 454s # * 454s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 454s # * 454s # * The calling thread is blocked until a reply is received. 454s # * 454s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 454s # * 454s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # OrgProjectCallableIface * 454s # org_project_callable_iface_proxy_new_sync ( 454s # GDBusConnection *connection, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GInitable *ret; 454s # 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); 454s # if (ret != NULL) 454s # return ORG_PROJECT_CALLABLE_IFACE (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # 454s # /** 454s # * org_project_callable_iface_proxy_new_for_bus: 454s # * @bus_type: A #GBusType. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: A bus name (well-known or unique). 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 454s # * 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 454s # * 454s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 454s # */ 454s # void 454s # org_project_callable_iface_proxy_new_for_bus ( 454s # GBusType bus_type, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # 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); 454s # } 454s # 454s # /** 454s # * org_project_callable_iface_proxy_new_for_bus_finish: 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 454s # * @error: Return location for error or %NULL 454s # * 454s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 454s # * 454s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # OrgProjectCallableIface * 454s # org_project_callable_iface_proxy_new_for_bus_finish ( 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GObject *ret; 454s # GObject *source_object; 454s # source_object = g_async_result_get_source_object (res); 454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 454s # g_object_unref (source_object); 454s # if (ret != NULL) 454s # return ORG_PROJECT_CALLABLE_IFACE (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # /** 454s # * org_project_callable_iface_proxy_new_for_bus_sync: 454s # * @bus_type: A #GBusType. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: A bus name (well-known or unique). 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL 454s # * 454s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 454s # * 454s # * The calling thread is blocked until a reply is received. 454s # * 454s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 454s # * 454s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # OrgProjectCallableIface * 454s # org_project_callable_iface_proxy_new_for_bus_sync ( 454s # GBusType bus_type, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GInitable *ret; 454s # 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); 454s # if (ret != NULL) 454s # return ORG_PROJECT_CALLABLE_IFACE (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # 454s # /* ------------------------------------------------------------------------ */ 454s # 454s # /** 454s # * OrgProjectCallableIfaceSkeleton: 454s # * 454s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 454s # */ 454s # 454s # /** 454s # * OrgProjectCallableIfaceSkeletonClass: 454s # * @parent_class: The parent class. 454s # * 454s # * Class structure for #OrgProjectCallableIfaceSkeleton. 454s # */ 454s # 454s # struct _OrgProjectCallableIfaceSkeletonPrivate 454s # { 454s # GValue *properties; 454s # GList *changed_properties; 454s # GSource *changed_properties_idle_source; 454s # GMainContext *context; 454s # GMutex lock; 454s # }; 454s # 454s # static void 454s # _org_project_callable_iface_skeleton_handle_method_call ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name, 454s # const gchar *method_name, 454s # GVariant *parameters, 454s # GDBusMethodInvocation *invocation, 454s # gpointer user_data) 454s # { 454s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 454s # _ExtendedGDBusMethodInfo *info; 454s # GVariantIter iter; 454s # GVariant *child; 454s # GValue *paramv; 454s # gsize num_params; 454s # guint num_extra; 454s # gsize n; 454s # guint signal_id; 454s # GValue return_value = G_VALUE_INIT; 454s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 454s # g_assert (info != NULL); 454s # num_params = g_variant_n_children (parameters); 454s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 454s # n = 0; 454s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 454s # g_value_set_object (¶mv[n++], skeleton); 454s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 454s # g_value_set_object (¶mv[n++], invocation); 454s # if (info->pass_fdlist) 454s # { 454s # #ifdef G_OS_UNIX 454s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 454s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 454s # #else 454s # g_assert_not_reached (); 454s # #endif 454s # } 454s # g_variant_iter_init (&iter, parameters); 454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 454s # { 454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 454s # if (arg_info->use_gvariant) 454s # { 454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 454s # g_value_set_variant (¶mv[n], child); 454s # n++; 454s # } 454s # else 454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 454s # g_variant_unref (child); 454s # } 454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 454s # g_value_init (&return_value, G_TYPE_BOOLEAN); 454s # g_signal_emitv (paramv, signal_id, 0, &return_value); 454s # if (!g_value_get_boolean (&return_value)) 454s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 454s # g_value_unset (&return_value); 454s # for (n = 0; n < num_params + num_extra; n++) 454s # g_value_unset (¶mv[n]); 454s # g_free (paramv); 454s # } 454s # 454s # static GVariant * 454s # _org_project_callable_iface_skeleton_handle_get_property ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name G_GNUC_UNUSED, 454s # const gchar *property_name, 454s # GError **error, 454s # gpointer user_data) 454s # { 454s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 454s # GValue value = G_VALUE_INIT; 454s # GParamSpec *pspec; 454s # _ExtendedGDBusPropertyInfo *info; 454s # GVariant *ret; 454s # ret = NULL; 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 454s # g_assert (info != NULL); 454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 454s # if (pspec == NULL) 454s # { 454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 454s # } 454s # else 454s # { 454s # g_value_init (&value, pspec->value_type); 454s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 454s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 454s # g_value_unset (&value); 454s # } 454s # return ret; 454s # } 454s # 454s # static gboolean 454s # _org_project_callable_iface_skeleton_handle_set_property ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name G_GNUC_UNUSED, 454s # const gchar *property_name, 454s # GVariant *variant, 454s # GError **error, 454s # gpointer user_data) 454s # { 454s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 454s # GValue value = G_VALUE_INIT; 454s # GParamSpec *pspec; 454s # _ExtendedGDBusPropertyInfo *info; 454s # gboolean ret; 454s # ret = FALSE; 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 454s # g_assert (info != NULL); 454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 454s # if (pspec == NULL) 454s # { 454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 454s # } 454s # else 454s # { 454s # if (info->use_gvariant) 454s # g_value_set_variant (&value, variant); 454s # else 454s # g_dbus_gvariant_to_gvalue (variant, &value); 454s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 454s # g_value_unset (&value); 454s # ret = TRUE; 454s # } 454s # return ret; 454s # } 454s # 454s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 454s # { 454s # _org_project_callable_iface_skeleton_handle_method_call, 454s # _org_project_callable_iface_skeleton_handle_get_property, 454s # _org_project_callable_iface_skeleton_handle_set_property, 454s # {NULL} 454s # }; 454s # 454s # static GDBusInterfaceInfo * 454s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 454s # { 454s # return org_project_callable_iface_interface_info (); 454s # } 454s # 454s # static GDBusInterfaceVTable * 454s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 454s # { 454s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 454s # } 454s # 454s # static GVariant * 454s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 454s # { 454s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 454s # 454s # GVariantBuilder builder; 454s # guint n; 454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 454s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 454s # goto out; 454s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 454s # { 454s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 454s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 454s # { 454s # GVariant *value; 454s # 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); 454s # if (value != NULL) 454s # { 454s # g_variant_take_ref (value); 454s # g_variant_builder_add (&builder, "{sv}", info->name, value); 454s # g_variant_unref (value); 454s # } 454s # } 454s # } 454s # out: 454s # return g_variant_builder_end (&builder); 454s # } 454s # 454s # static void 454s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 454s # { 454s # } 454s # 454s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 454s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 454s # 454s # #else 454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 454s # 454s # #endif 454s # static void 454s # org_project_callable_iface_skeleton_finalize (GObject *object) 454s # { 454s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 454s # if (skeleton->priv->changed_properties_idle_source != NULL) 454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 454s # g_main_context_unref (skeleton->priv->context); 454s # g_mutex_clear (&skeleton->priv->lock); 454s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 454s # } 454s # 454s # static void 454s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 454s # { 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 454s # #else 454s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 454s # #endif 454s # 454s # g_mutex_init (&skeleton->priv->lock); 454s # skeleton->priv->context = g_main_context_ref_thread_default (); 454s # } 454s # 454s # static void 454s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 454s # { 454s # GObjectClass *gobject_class; 454s # GDBusInterfaceSkeletonClass *skeleton_class; 454s # 454s # gobject_class = G_OBJECT_CLASS (klass); 454s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 454s # 454s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 454s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 454s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 454s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 454s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 454s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 454s # #endif 454s # } 454s # 454s # static void 454s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 454s # { 454s # } 454s # 454s # /** 454s # * org_project_callable_iface_skeleton_new: 454s # * 454s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 454s # * 454s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 454s # */ 454s # OrgProjectCallableIface * 454s # org_project_callable_iface_skeleton_new (void) 454s # { 454s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 454s # } 454s # 454s # /* ------------------------------------------------------------------------ 454s # * Code for interface org.project.OtherCallableIface 454s # * ------------------------------------------------------------------------ 454s # */ 454s # 454s # /** 454s # * SECTION:OrgProjectOtherCallableIface 454s # * @title: OrgProjectOtherCallableIface 454s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 454s # * 454s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 454s # */ 454s # 454s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 454s # 454s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 454s # { 454s # { 454s # -1, 454s # (gchar *) "SimpleMethod", 454s # NULL, 454s # NULL, 454s # NULL 454s # }, 454s # "handle-simple-method", 454s # FALSE 454s # }; 454s # 454s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 454s # { 454s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 454s # NULL 454s # }; 454s # 454s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 454s # { 454s # { 454s # -1, 454s # (gchar *) "org.project.OtherCallableIface", 454s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 454s # NULL, 454s # NULL, 454s # NULL 454s # }, 454s # "org-project-other-callable-iface", 454s # }; 454s # 454s # 454s # /** 454s # * org_project_other_callable_iface_interface_info: 454s # * 454s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 454s # * 454s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 454s # */ 454s # GDBusInterfaceInfo * 454s # org_project_other_callable_iface_interface_info (void) 454s # { 454s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 454s # } 454s # 454s # /** 454s # * org_project_other_callable_iface_override_properties: 454s # * @klass: The class structure for a #GObject derived class. 454s # * @property_id_begin: The property id to assign to the first overridden property. 454s # * 454s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 454s # * The properties are overridden in the order they are defined. 454s # * 454s # * Returns: The last property id. 454s # */ 454s # guint 454s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 454s # { 454s # return property_id_begin - 1; 454s # } 454s # 454s # 454s # inline static void 454s # org_project_other_callable_iface_method_marshal_simple_method ( 454s # GClosure *closure, 454s # GValue *return_value, 454s # unsigned int n_param_values, 454s # const GValue *param_values, 454s # void *invocation_hint, 454s # void *marshal_data) 454s # { 454s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 454s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 454s # } 454s # 454s # 454s # /** 454s # * OrgProjectOtherCallableIface: 454s # * 454s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 454s # */ 454s # 454s # /** 454s # * OrgProjectOtherCallableIfaceIface: 454s # * @parent_iface: The parent interface. 454s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 454s # * 454s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 454s # */ 454s # 454s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 454s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 454s # 454s # static void 454s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 454s # { 454s # /* GObject signals for incoming D-Bus method calls: */ 454s # /** 454s # * OrgProjectOtherCallableIface::handle-simple-method: 454s # * @object: A #OrgProjectOtherCallableIface. 454s # * @invocation: A #GDBusMethodInvocation. 454s # * 454s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 454s # * 454s # * 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. 454s # * 454s # * 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. 454s # */ 454s # g_signal_new ("handle-simple-method", 454s # G_TYPE_FROM_INTERFACE (iface), 454s # G_SIGNAL_RUN_LAST, 454s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 454s # g_signal_accumulator_true_handled, 454s # NULL, 454s # org_project_other_callable_iface_method_marshal_simple_method, 454s # G_TYPE_BOOLEAN, 454s # 1, 454s # G_TYPE_DBUS_METHOD_INVOCATION); 454s # 454s # } 454s # 454s # /** 454s # * org_project_other_callable_iface_call_simple_method: 454s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 454s # * 454s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 454s # */ 454s # void 454s # org_project_other_callable_iface_call_simple_method ( 454s # OrgProjectOtherCallableIface *proxy, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 454s # "SimpleMethod", 454s # g_variant_new ("()"), 454s # G_DBUS_CALL_FLAGS_NONE, 454s # -1, 454s # cancellable, 454s # callback, 454s # user_data); 454s # } 454s # 454s # /** 454s # * org_project_other_callable_iface_call_simple_method_finish: 454s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 454s # * @error: Return location for error or %NULL. 454s # * 454s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 454s # * 454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 454s # */ 454s # gboolean 454s # org_project_other_callable_iface_call_simple_method_finish ( 454s # OrgProjectOtherCallableIface *proxy, 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GVariant *_ret; 454s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 454s # if (_ret == NULL) 454s # goto _out; 454s # g_variant_get (_ret, 454s # "()"); 454s # g_variant_unref (_ret); 454s # _out: 454s # return _ret != NULL; 454s # } 454s # 454s # /** 454s # * org_project_other_callable_iface_call_simple_method_sync: 454s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL. 454s # * 454s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 454s # * 454s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 454s # * 454s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 454s # */ 454s # gboolean 454s # org_project_other_callable_iface_call_simple_method_sync ( 454s # OrgProjectOtherCallableIface *proxy, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GVariant *_ret; 454s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 454s # "SimpleMethod", 454s # g_variant_new ("()"), 454s # G_DBUS_CALL_FLAGS_NONE, 454s # -1, 454s # cancellable, 454s # error); 454s # if (_ret == NULL) 454s # goto _out; 454s # g_variant_get (_ret, 454s # "()"); 454s # g_variant_unref (_ret); 454s # _out: 454s # return _ret != NULL; 454s # } 454s # 454s # /** 454s # * org_project_other_callable_iface_complete_simple_method: 454s # * @object: A #OrgProjectOtherCallableIface. 454s # * @invocation: (transfer full): A #GDBusMethodInvocation. 454s # * 454s # * 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. 454s # * 454s # * This method will free @invocation, you cannot use it afterwards. 454s # */ 454s # void 454s # org_project_other_callable_iface_complete_simple_method ( 454s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 454s # GDBusMethodInvocation *invocation) 454s # { 454s # g_dbus_method_invocation_return_value (invocation, 454s # g_variant_new ("()")); 454s # } 454s # 454s # /* ------------------------------------------------------------------------ */ 454s # 454s # /** 454s # * OrgProjectOtherCallableIfaceProxy: 454s # * 454s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 454s # */ 454s # 454s # /** 454s # * OrgProjectOtherCallableIfaceProxyClass: 454s # * @parent_class: The parent class. 454s # * 454s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 454s # */ 454s # 454s # struct _OrgProjectOtherCallableIfaceProxyPrivate 454s # { 454s # GData *qdata; 454s # }; 454s # 454s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 454s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 454s # 454s # #else 454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 454s # 454s # #endif 454s # static void 454s # org_project_other_callable_iface_proxy_finalize (GObject *object) 454s # { 454s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 454s # g_datalist_clear (&proxy->priv->qdata); 454s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 454s # } 454s # 454s # static void 454s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 454s # guint prop_id G_GNUC_UNUSED, 454s # GValue *value G_GNUC_UNUSED, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # } 454s # 454s # static void 454s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 454s # guint prop_id G_GNUC_UNUSED, 454s # const GValue *value G_GNUC_UNUSED, 454s # GParamSpec *pspec G_GNUC_UNUSED) 454s # { 454s # } 454s # 454s # static void 454s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 454s # const gchar *sender_name G_GNUC_UNUSED, 454s # const gchar *signal_name, 454s # GVariant *parameters) 454s # { 454s # _ExtendedGDBusSignalInfo *info; 454s # GVariantIter iter; 454s # GVariant *child; 454s # GValue *paramv; 454s # gsize num_params; 454s # gsize n; 454s # guint signal_id; 454s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 454s # if (info == NULL) 454s # return; 454s # num_params = g_variant_n_children (parameters); 454s # paramv = g_new0 (GValue, num_params + 1); 454s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 454s # g_value_set_object (¶mv[0], proxy); 454s # g_variant_iter_init (&iter, parameters); 454s # n = 1; 454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 454s # { 454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 454s # if (arg_info->use_gvariant) 454s # { 454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 454s # g_value_set_variant (¶mv[n], child); 454s # n++; 454s # } 454s # else 454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 454s # g_variant_unref (child); 454s # } 454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 454s # g_signal_emitv (paramv, signal_id, 0, NULL); 454s # for (n = 0; n < num_params + 1; n++) 454s # g_value_unset (¶mv[n]); 454s # g_free (paramv); 454s # } 454s # 454s # static void 454s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 454s # GVariant *changed_properties, 454s # const gchar *const *invalidated_properties) 454s # { 454s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 454s # guint n; 454s # const gchar *key; 454s # GVariantIter *iter; 454s # _ExtendedGDBusPropertyInfo *info; 454s # g_variant_get (changed_properties, "a{sv}", &iter); 454s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 454s # { 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 454s # g_datalist_remove_data (&proxy->priv->qdata, key); 454s # if (info != NULL) 454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 454s # } 454s # g_variant_iter_free (iter); 454s # for (n = 0; invalidated_properties[n] != NULL; n++) 454s # { 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 454s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 454s # if (info != NULL) 454s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 454s # } 454s # } 454s # 454s # static void 454s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 454s # { 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 454s # #else 454s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 454s # #endif 454s # 454s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 454s # } 454s # 454s # static void 454s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 454s # { 454s # GObjectClass *gobject_class; 454s # GDBusProxyClass *proxy_class; 454s # 454s # gobject_class = G_OBJECT_CLASS (klass); 454s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 454s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 454s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 454s # 454s # proxy_class = G_DBUS_PROXY_CLASS (klass); 454s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 454s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 454s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 454s # #endif 454s # } 454s # 454s # static void 454s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 454s # { 454s # } 454s # 454s # /** 454s # * org_project_other_callable_iface_proxy_new: 454s # * @connection: A #GDBusConnection. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 454s # * 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 454s # * 454s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 454s # */ 454s # void 454s # org_project_other_callable_iface_proxy_new ( 454s # GDBusConnection *connection, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # 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); 454s # } 454s # 454s # /** 454s # * org_project_other_callable_iface_proxy_new_finish: 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 454s # * @error: Return location for error or %NULL 454s # * 454s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 454s # * 454s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # OrgProjectOtherCallableIface * 454s # org_project_other_callable_iface_proxy_new_finish ( 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GObject *ret; 454s # GObject *source_object; 454s # source_object = g_async_result_get_source_object (res); 454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 454s # g_object_unref (source_object); 454s # if (ret != NULL) 454s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # /** 454s # * org_project_other_callable_iface_proxy_new_sync: 454s # * @connection: A #GDBusConnection. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL 454s # * 454s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 454s # * 454s # * The calling thread is blocked until a reply is received. 454s # * 454s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 454s # * 454s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # OrgProjectOtherCallableIface * 454s # org_project_other_callable_iface_proxy_new_sync ( 454s # GDBusConnection *connection, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GInitable *ret; 454s # 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); 454s # if (ret != NULL) 454s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # 454s # /** 454s # * org_project_other_callable_iface_proxy_new_for_bus: 454s # * @bus_type: A #GBusType. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: A bus name (well-known or unique). 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 454s # * @user_data: User data to pass to @callback. 454s # * 454s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 454s # * 454s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 454s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 454s # * 454s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 454s # */ 454s # void 454s # org_project_other_callable_iface_proxy_new_for_bus ( 454s # GBusType bus_type, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GAsyncReadyCallback callback, 454s # gpointer user_data) 454s # { 454s # 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); 454s # } 454s # 454s # /** 454s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 454s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 454s # * @error: Return location for error or %NULL 454s # * 454s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 454s # * 454s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # OrgProjectOtherCallableIface * 454s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 454s # GAsyncResult *res, 454s # GError **error) 454s # { 454s # GObject *ret; 454s # GObject *source_object; 454s # source_object = g_async_result_get_source_object (res); 454s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 454s # g_object_unref (source_object); 454s # if (ret != NULL) 454s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # /** 454s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 454s # * @bus_type: A #GBusType. 454s # * @flags: Flags from the #GDBusProxyFlags enumeration. 454s # * @name: A bus name (well-known or unique). 454s # * @object_path: An object path. 454s # * @cancellable: (nullable): A #GCancellable or %NULL. 454s # * @error: Return location for error or %NULL 454s # * 454s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 454s # * 454s # * The calling thread is blocked until a reply is received. 454s # * 454s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 454s # * 454s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 454s # */ 454s # OrgProjectOtherCallableIface * 454s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 454s # GBusType bus_type, 454s # GDBusProxyFlags flags, 454s # const gchar *name, 454s # const gchar *object_path, 454s # GCancellable *cancellable, 454s # GError **error) 454s # { 454s # GInitable *ret; 454s # 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); 454s # if (ret != NULL) 454s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 454s # else 454s # return NULL; 454s # } 454s # 454s # 454s # /* ------------------------------------------------------------------------ */ 454s # 454s # /** 454s # * OrgProjectOtherCallableIfaceSkeleton: 454s # * 454s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 454s # */ 454s # 454s # /** 454s # * OrgProjectOtherCallableIfaceSkeletonClass: 454s # * @parent_class: The parent class. 454s # * 454s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 454s # */ 454s # 454s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 454s # { 454s # GValue *properties; 454s # GList *changed_properties; 454s # GSource *changed_properties_idle_source; 454s # GMainContext *context; 454s # GMutex lock; 454s # }; 454s # 454s # static void 454s # _org_project_other_callable_iface_skeleton_handle_method_call ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name, 454s # const gchar *method_name, 454s # GVariant *parameters, 454s # GDBusMethodInvocation *invocation, 454s # gpointer user_data) 454s # { 454s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 454s # _ExtendedGDBusMethodInfo *info; 454s # GVariantIter iter; 454s # GVariant *child; 454s # GValue *paramv; 454s # gsize num_params; 454s # guint num_extra; 454s # gsize n; 454s # guint signal_id; 454s # GValue return_value = G_VALUE_INIT; 454s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 454s # g_assert (info != NULL); 454s # num_params = g_variant_n_children (parameters); 454s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 454s # n = 0; 454s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 454s # g_value_set_object (¶mv[n++], skeleton); 454s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 454s # g_value_set_object (¶mv[n++], invocation); 454s # if (info->pass_fdlist) 454s # { 454s # #ifdef G_OS_UNIX 454s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 454s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 454s # #else 454s # g_assert_not_reached (); 454s # #endif 454s # } 454s # g_variant_iter_init (&iter, parameters); 454s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 454s # { 454s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 454s # if (arg_info->use_gvariant) 454s # { 454s # g_value_init (¶mv[n], G_TYPE_VARIANT); 454s # g_value_set_variant (¶mv[n], child); 454s # n++; 454s # } 454s # else 454s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 454s # g_variant_unref (child); 454s # } 454s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 454s # g_value_init (&return_value, G_TYPE_BOOLEAN); 454s # g_signal_emitv (paramv, signal_id, 0, &return_value); 454s # if (!g_value_get_boolean (&return_value)) 454s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 454s # g_value_unset (&return_value); 454s # for (n = 0; n < num_params + num_extra; n++) 454s # g_value_unset (¶mv[n]); 454s # g_free (paramv); 454s # } 454s # 454s # static GVariant * 454s # _org_project_other_callable_iface_skeleton_handle_get_property ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name G_GNUC_UNUSED, 454s # const gchar *property_name, 454s # GError **error, 454s # gpointer user_data) 454s # { 454s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 454s # GValue value = G_VALUE_INIT; 454s # GParamSpec *pspec; 454s # _ExtendedGDBusPropertyInfo *info; 454s # GVariant *ret; 454s # ret = NULL; 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 454s # g_assert (info != NULL); 454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 454s # if (pspec == NULL) 454s # { 454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 454s # } 454s # else 454s # { 454s # g_value_init (&value, pspec->value_type); 454s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 454s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 454s # g_value_unset (&value); 454s # } 454s # return ret; 454s # } 454s # 454s # static gboolean 454s # _org_project_other_callable_iface_skeleton_handle_set_property ( 454s # GDBusConnection *connection G_GNUC_UNUSED, 454s # const gchar *sender G_GNUC_UNUSED, 454s # const gchar *object_path G_GNUC_UNUSED, 454s # const gchar *interface_name G_GNUC_UNUSED, 454s # const gchar *property_name, 454s # GVariant *variant, 454s # GError **error, 454s # gpointer user_data) 454s # { 454s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 454s # GValue value = G_VALUE_INIT; 454s # GParamSpec *pspec; 454s # _ExtendedGDBusPropertyInfo *info; 454s # gboolean ret; 454s # ret = FALSE; 454s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 454s # g_assert (info != NULL); 454s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 454s # if (pspec == NULL) 454s # { 454s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 454s # } 454s # else 454s # { 454s # if (info->use_gvariant) 454s # g_value_set_variant (&value, variant); 454s # else 454s # g_dbus_gvariant_to_gvalue (variant, &value); 454s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 454s # g_value_unset (&value); 454s # ret = TRUE; 454s # } 454s # return ret; 454s # } 454s # 454s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 454s # { 454s # _org_project_other_callable_iface_skeleton_handle_method_call, 454s # _org_project_other_callable_iface_skeleton_handle_get_property, 454s # _org_project_other_callable_iface_skeleton_handle_set_property, 454s # {NULL} 454s # }; 454s # 454s # static GDBusInterfaceInfo * 454s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 454s # { 454s # return org_project_other_callable_iface_interface_info (); 454s # } 454s # 454s # static GDBusInterfaceVTable * 454s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 454s # { 454s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 454s # } 454s # 454s # static GVariant * 454s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 454s # { 454s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 454s # 454s # GVariantBuilder builder; 454s # guint n; 454s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 454s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 454s # goto out; 454s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 454s # { 454s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 454s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 454s # { 454s # GVariant *value; 454s # 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); 454s # if (value != NULL) 454s # { 454s # g_variant_take_ref (value); 454s # g_variant_builder_add (&builder, "{sv}", info->name, value); 454s # g_variant_unref (value); 454s # } 454s # } 454s # } 454s # out: 454s # return g_variant_builder_end (&builder); 454s # } 454s # 454s # static void 454s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 454s # { 454s # } 454s # 454s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 454s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 454s # 454s # #else 454s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 454s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 454s # 454s # #endif 454s # static void 454s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 454s # { 454s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 454s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 454s # if (skeleton->priv->changed_properties_idle_source != NULL) 454s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 454s # g_main_context_unref (skeleton->priv->context); 454s # g_mutex_clear (&skeleton->priv->lock); 454s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 454s # } 454s # 454s # static void 454s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 454s # { 454s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 454s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 454s # #else 454s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 454s # #endif 454s # 454s # g_mutex_init (&skeleton->priv->lock); 454s # skeleton->priv->context = g_main_context_ref_thread_default (); 454s # } 454s # 454s # static void 454s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 454s # { 454s # GObjectClass *gobject_class; 454s # GDBusInterfaceSkeletonClass *skeleton_class; 454s # 454s # gobject_class = G_OBJECT_CLASS (klass); 454s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 454s # 454s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 454s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 454s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 454s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 454s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 454s # 454s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 454s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 454s # #endif 454s # } 454s # 454s # static void 454s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 454s # { 454s # } 454s # 454s # /** 454s # * org_project_other_callable_iface_skeleton_new: 454s # * 454s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 454s # * 454s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 454s # */ 454s # OrgProjectOtherCallableIface * 454s # org_project_other_callable_iface_skeleton_new (void) 454s # { 454s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 454s # } 454s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 455s # tmpdir: /tmp/tmpy4wfz4rz 455s # codegen: /usr/bin/gdbus-codegen 455s # /tmp/tmpy4wfz4rz/tmpuc_m81my.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpuc_m81my.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # gboolean arg_arg_b, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_boolean (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_b", 455s # (gchar *) "b", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodB", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-b", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_b ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_b: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-b", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_b, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_b: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_b: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_b ( 455s # OrgProjectUsefulInterface *proxy, 455s # gboolean arg_arg_b, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodB", 455s # g_variant_new ("(b)", 455s # arg_arg_b), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_b_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_b_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_b_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_b: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_b_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gboolean arg_arg_b, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodB", 455s # g_variant_new ("(b)", 455s # arg_arg_b), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_b: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_b ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmpsznbv89z.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpsznbv89z.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # guchar arg_arg_y, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_uchar (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_y", 455s # (gchar *) "y", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodY", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-y", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_y ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_y: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-y", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_y, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_y: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_y: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_y ( 455s # OrgProjectUsefulInterface *proxy, 455s # guchar arg_arg_y, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodY", 455s # g_variant_new ("(y)", 455s # arg_arg_y), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_y_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_y_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_y_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_y: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_y_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # guchar arg_arg_y, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodY", 455s # g_variant_new ("(y)", 455s # arg_arg_y), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_y: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_y ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmpkearwcl7.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpkearwcl7.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # gint16 arg_arg_n, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_int (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_n", 455s # (gchar *) "n", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodN", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-n", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_n ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_n: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-n", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_n, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_n: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_n: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_n ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint16 arg_arg_n, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodN", 455s # g_variant_new ("(n)", 455s # arg_arg_n), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_n_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_n_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_n_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_n: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_n_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint16 arg_arg_n, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodN", 455s # g_variant_new ("(n)", 455s # arg_arg_n), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_n: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_n ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmpd9s2k4qm.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpd9s2k4qm.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # guint16 arg_arg_q, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_uint (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_q", 455s # (gchar *) "q", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodQ", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-q", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_q ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_q: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-q", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_q, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_q: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_q: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_q ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint16 arg_arg_q, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodQ", 455s # g_variant_new ("(q)", 455s # arg_arg_q), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_q_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_q_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_q_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_q: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_q_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint16 arg_arg_q, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodQ", 455s # g_variant_new ("(q)", 455s # arg_arg_q), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_q: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_q ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmpq_j1r47o.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpq_j1r47o.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # gint arg_arg_i, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_int (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_i", 455s # (gchar *) "i", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodI", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-i", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_i ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_i: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-i", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_i, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_i: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_i: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_i ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint arg_arg_i, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodI", 455s # g_variant_new ("(i)", 455s # arg_arg_i), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_i_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_i_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_i_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_i: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_i_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint arg_arg_i, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodI", 455s # g_variant_new ("(i)", 455s # arg_arg_i), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_i: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_i ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmp4tuocjhc.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmp4tuocjhc.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # guint arg_arg_u, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_uint (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_u", 455s # (gchar *) "u", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodU", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-u", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_u ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_u: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-u", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_u, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_u: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_u: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_u ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint arg_arg_u, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodU", 455s # g_variant_new ("(u)", 455s # arg_arg_u), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_u_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_u_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_u_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_u: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_u_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint arg_arg_u, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodU", 455s # g_variant_new ("(u)", 455s # arg_arg_u), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_u: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_u ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmpowyoom0i.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpowyoom0i.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # gint64 arg_arg_x, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_int64 (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_x", 455s # (gchar *) "x", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodX", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-x", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_x ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_x: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-x", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_x, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_x: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_x: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_x ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint64 arg_arg_x, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodX", 455s # g_variant_new ("(x)", 455s # arg_arg_x), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_x_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_x_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_x_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_x: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_x_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint64 arg_arg_x, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodX", 455s # g_variant_new ("(x)", 455s # arg_arg_x), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_x: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_x ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmpm8mjbwmc.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpm8mjbwmc.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # guint64 arg_arg_t, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_uint64 (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_t", 455s # (gchar *) "t", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodT", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-t", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_t ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_t: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-t", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_t, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_t: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_t: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_t ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint64 arg_arg_t, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodT", 455s # g_variant_new ("(t)", 455s # arg_arg_t), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_t_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_t_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_t_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_t: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_t_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint64 arg_arg_t, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodT", 455s # g_variant_new ("(t)", 455s # arg_arg_t), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_t: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_t ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmps20hliww.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmps20hliww.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # gdouble arg_arg_d, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_double (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_d", 455s # (gchar *) "d", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodD", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-d", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_d ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_d: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-d", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_d, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_d: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_d: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_d ( 455s # OrgProjectUsefulInterface *proxy, 455s # gdouble arg_arg_d, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodD", 455s # g_variant_new ("(d)", 455s # arg_arg_d), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_d_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_d_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_d_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_d: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_d_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gdouble arg_arg_d, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodD", 455s # g_variant_new ("(d)", 455s # arg_arg_d), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_d: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_d ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmpuhv35fop.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpuhv35fop.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # const gchar *arg_arg_s, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_string (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_s", 455s # (gchar *) "s", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodS", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-s", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_s ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_s: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-s", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_s, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_s: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_s: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_s ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *arg_arg_s, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodS", 455s # g_variant_new ("(s)", 455s # arg_arg_s), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_s_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_s_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_s_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_s: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_s_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *arg_arg_s, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodS", 455s # g_variant_new ("(s)", 455s # arg_arg_s), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_s: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_s ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmpinzfghcq.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpinzfghcq.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # const gchar *arg_arg_o, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_string (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_o", 455s # (gchar *) "o", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodO", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-o", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_o ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_o: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-o", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_o, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_o: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_o: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_o ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *arg_arg_o, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodO", 455s # g_variant_new ("(o)", 455s # arg_arg_o), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_o_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_o_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_o_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_o: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_o_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *arg_arg_o, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodO", 455s # g_variant_new ("(o)", 455s # arg_arg_o), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_o: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_o ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmp224ywfn9.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmp224ywfn9.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # const gchar *arg_arg_g, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_string (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_g", 455s # (gchar *) "g", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodG", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-g", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_g ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_g: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-g", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_g, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_g: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_g: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_g ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *arg_arg_g, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodG", 455s # g_variant_new ("(g)", 455s # arg_arg_g), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_g_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_g_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_g_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_g: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_g_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *arg_arg_g, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodG", 455s # g_variant_new ("(g)", 455s # arg_arg_g), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_g: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_g ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmpdql8zlr9.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpdql8zlr9.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # GVariant *arg_arg_h, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_variant (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_h", 455s # (gchar *) "h", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodH", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-h", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_h ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_h: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-h", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_h, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_h: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_h: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_h ( 455s # OrgProjectUsefulInterface *proxy, 455s # GVariant *arg_arg_h, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodH", 455s # g_variant_new ("(@h)", 455s # arg_arg_h), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_h_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_h_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_h_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_h: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_h_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # GVariant *arg_arg_h, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodH", 455s # g_variant_new ("(@h)", 455s # arg_arg_h), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_h: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_h ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmpfdpgw03o.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpfdpgw03o.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # const gchar *arg_arg_ay, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_string (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_ay", 455s # (gchar *) "ay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodAy", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-ay", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_ay: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-ay", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_ay, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ay: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_ay: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_ay ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *arg_arg_ay, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAy", 455s # g_variant_new ("(^ay)", 455s # arg_arg_ay), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ay_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_ay_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ay_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_ay: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_ay_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *arg_arg_ay, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAy", 455s # g_variant_new ("(^ay)", 455s # arg_arg_ay), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_ay: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_ay ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmp5isa46gk.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmp5isa46gk.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # const gchar *const *arg_arg_as, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_boxed (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_as", 455s # (gchar *) "as", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodAs", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-as", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_as ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_as: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-as", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_as, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_as: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_as: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_as ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *const *arg_arg_as, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAs", 455s # g_variant_new ("(^as)", 455s # arg_arg_as), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_as_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_as_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_as_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_as: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_as_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *const *arg_arg_as, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAs", 455s # g_variant_new ("(^as)", 455s # arg_arg_as), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_as: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_as ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmputjd09zs.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmputjd09zs.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # const gchar *const *arg_arg_ao, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_boxed (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_ao", 455s # (gchar *) "ao", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodAo", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-ao", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_ao: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-ao", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_ao, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ao: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_ao: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_ao ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *const *arg_arg_ao, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAo", 455s # g_variant_new ("(^ao)", 455s # arg_arg_ao), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ao_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_ao_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ao_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_ao: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_ao_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *const *arg_arg_ao, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAo", 455s # g_variant_new ("(^ao)", 455s # arg_arg_ao), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_ao: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_ao ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmp6u3_julq.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmp6u3_julq.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # const gchar *const *arg_arg_aay, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_boxed (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_aay", 455s # (gchar *) "aay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodAay", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-aay", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_aay: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-aay", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_aay, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_aay: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_aay: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_aay ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *const *arg_arg_aay, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAay", 455s # g_variant_new ("(^aay)", 455s # arg_arg_aay), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_aay_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_aay_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_aay_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_aay: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_aay_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # const gchar *const *arg_arg_aay, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAay", 455s # g_variant_new ("(^aay)", 455s # arg_arg_aay), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_aay: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_aay ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpy4wfz4rz/tmpfickmj7p.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4wfz4rz/tmpfickmj7p.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # GVariant *arg_arg_asv, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 3); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_variant (param_values + 2), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_asv", 455s # (gchar *) "a{sv}", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodAsv", 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-single-arg-method-asv", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_arg_asv: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-asv", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_asv, 455s # G_TYPE_BOOLEAN, 455s # 2, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_asv: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_asv: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_asv ( 455s # OrgProjectUsefulInterface *proxy, 455s # GVariant *arg_arg_asv, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAsv", 455s # g_variant_new ("(@a{sv})", 455s # arg_arg_asv), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_asv_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_asv_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_asv_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @arg_arg_asv: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_asv_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # GVariant *arg_arg_asv, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAsv", 455s # g_variant_new ("(@a{sv})", 455s # arg_arg_asv), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_asv: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_asv ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # Executing: glib/codegen.py.test 455s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 455s # tmpdir: /tmp/tmpb1t2a0xv 455s # codegen: /usr/bin/gdbus-codegen 455s # /tmp/tmpb1t2a0xv/tmpyp4u3sjy.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmpyp4u3sjy.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_b", 455s # (gchar *) "b", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodB", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-b", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_b ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-b", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_b, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_b: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_b ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodB", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_b_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_b_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gboolean *out_arg_b, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(b)", 455s # out_arg_b); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_b_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_b_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gboolean *out_arg_b, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodB", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(b)", 455s # out_arg_b); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_b: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_b: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_b ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # gboolean arg_b) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(b)", 455s # arg_b)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmp_rybab1_.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmp_rybab1_.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_y", 455s # (gchar *) "y", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodY", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-y", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_y ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-y", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_y, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_y: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_y ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodY", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_y_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_y_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # guchar *out_arg_y, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(y)", 455s # out_arg_y); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_y_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_y_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # guchar *out_arg_y, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodY", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(y)", 455s # out_arg_y); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_y: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_y: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_y ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # guchar arg_y) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(y)", 455s # arg_y)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmpddifvqy5.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmpddifvqy5.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_n", 455s # (gchar *) "n", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodN", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-n", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_n ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-n", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_n, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_n: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_n ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodN", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_n_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_n_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint16 *out_arg_n, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(n)", 455s # out_arg_n); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_n_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_n_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint16 *out_arg_n, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodN", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(n)", 455s # out_arg_n); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_n: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_n: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_n ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # gint16 arg_n) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(n)", 455s # arg_n)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmp3hqs1fe0.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmp3hqs1fe0.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_q", 455s # (gchar *) "q", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodQ", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-q", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_q ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-q", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_q, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_q: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_q ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodQ", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_q_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_q_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint16 *out_arg_q, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(q)", 455s # out_arg_q); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_q_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_q_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint16 *out_arg_q, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodQ", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(q)", 455s # out_arg_q); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_q: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_q: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_q ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # guint16 arg_q) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(q)", 455s # arg_q)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmprnrdrvz5.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmprnrdrvz5.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_i", 455s # (gchar *) "i", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodI", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-i", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_i ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-i", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_i, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_i: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_i ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodI", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_i_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_i_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint *out_arg_i, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(i)", 455s # out_arg_i); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_i_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_i_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint *out_arg_i, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodI", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(i)", 455s # out_arg_i); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_i: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_i: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_i ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # gint arg_i) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(i)", 455s # arg_i)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmp53vup74j.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmp53vup74j.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_u", 455s # (gchar *) "u", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodU", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-u", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_u ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-u", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_u, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_u: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_u ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodU", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_u_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_u_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint *out_arg_u, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(u)", 455s # out_arg_u); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_u_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_u_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint *out_arg_u, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodU", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(u)", 455s # out_arg_u); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_u: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_u: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_u ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # guint arg_u) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(u)", 455s # arg_u)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmpuil6ew0j.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmpuil6ew0j.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_x", 455s # (gchar *) "x", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodX", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-x", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_x ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-x", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_x, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_x: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_x ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodX", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_x_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_x_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint64 *out_arg_x, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(x)", 455s # out_arg_x); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_x_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_x_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gint64 *out_arg_x, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodX", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(x)", 455s # out_arg_x); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_x: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_x: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_x ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # gint64 arg_x) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(x)", 455s # arg_x)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmpo4ik73cn.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmpo4ik73cn.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_t", 455s # (gchar *) "t", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodT", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-t", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_t ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-t", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_t, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_t: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_t ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodT", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_t_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_t_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint64 *out_arg_t, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(t)", 455s # out_arg_t); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_t_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_t_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # guint64 *out_arg_t, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodT", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(t)", 455s # out_arg_t); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_t: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_t: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_t ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # guint64 arg_t) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(t)", 455s # arg_t)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmpaox658gz.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmpaox658gz.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_d", 455s # (gchar *) "d", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodD", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-d", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_d ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-d", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_d, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_d: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_d ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodD", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_d_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_d_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gdouble *out_arg_d, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(d)", 455s # out_arg_d); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_d_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_d_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gdouble *out_arg_d, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodD", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(d)", 455s # out_arg_d); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_d: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_d: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_d ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # gdouble arg_d) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(d)", 455s # arg_d)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmpdw328nkv.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmpdw328nkv.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_s", 455s # (gchar *) "s", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodS", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-s", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_s ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-s", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_s, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_s: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_s ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodS", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_s_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_s_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar **out_arg_s, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(s)", 455s # out_arg_s); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_s_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_s_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar **out_arg_s, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodS", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(s)", 455s # out_arg_s); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_s: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_s: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_s ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # const gchar *arg_s) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(s)", 455s # arg_s)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmpoo9ptlfd.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmpoo9ptlfd.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_o", 455s # (gchar *) "o", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodO", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-o", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_o ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-o", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_o, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_o: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_o ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodO", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_o_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_o_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar **out_arg_o, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(o)", 455s # out_arg_o); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_o_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_o_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar **out_arg_o, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodO", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(o)", 455s # out_arg_o); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_o: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_o: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_o ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # const gchar *arg_o) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(o)", 455s # arg_o)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmptaj4h3nm.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmptaj4h3nm.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_g", 455s # (gchar *) "g", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodG", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-g", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_g ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-g", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_g, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_g: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_g ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodG", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_g_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_g_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar **out_arg_g, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(g)", 455s # out_arg_g); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_g_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_g_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar **out_arg_g, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodG", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(g)", 455s # out_arg_g); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_g: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_g: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_g ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # const gchar *arg_g) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(g)", 455s # arg_g)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmpc8fzp_pk.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmpc8fzp_pk.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_h", 455s # (gchar *) "h", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodH", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-h", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_h ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-h", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_h, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_h: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_h ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodH", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_h_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_h_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GVariant **out_arg_h, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(@h)", 455s # out_arg_h); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_h_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_h_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # GVariant **out_arg_h, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodH", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(@h)", 455s # out_arg_h); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_h: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_h: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_h ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # GVariant *arg_h) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(@h)", 455s # arg_h)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmpot9p08na.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmpot9p08na.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_ay", 455s # (gchar *) "ay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodAy", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-ay", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-ay", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_ay, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ay: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_ay ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAy", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ay_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_ay_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar **out_arg_ay, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(^ay)", 455s # out_arg_ay); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ay_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_ay_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar **out_arg_ay, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAy", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(^ay)", 455s # out_arg_ay); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_ay: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_ay: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_ay ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # const gchar *arg_ay) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(^ay)", 455s # arg_ay)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmp23kzpla3.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmp23kzpla3.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_as", 455s # (gchar *) "as", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodAs", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-as", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_as ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-as", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_as, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_as: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_as ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAs", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_as_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_as_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar ***out_arg_as, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(^as)", 455s # out_arg_as); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_as_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_as_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar ***out_arg_as, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAs", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(^as)", 455s # out_arg_as); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_as: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_as: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_as ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # const gchar *const *arg_as) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(^as)", 455s # arg_as)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmprufbnb7u.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmprufbnb7u.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_ao", 455s # (gchar *) "ao", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodAo", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-ao", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-ao", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_ao, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ao: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_ao ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAo", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ao_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_ao_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar ***out_arg_ao, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(^ao)", 455s # out_arg_ao); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_ao_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_ao_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar ***out_arg_ao, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAo", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(^ao)", 455s # out_arg_ao); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_ao: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_ao: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_ao ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # const gchar *const *arg_ao) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(^ao)", 455s # arg_ao)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmpg1f2hzz4.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmpg1f2hzz4.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_aay", 455s # (gchar *) "aay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodAay", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-aay", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-aay", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_aay, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_aay: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_aay ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAay", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_aay_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_aay_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar ***out_arg_aay, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(^aay)", 455s # out_arg_aay); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_aay_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_aay_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # gchar ***out_arg_aay, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAay", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(^aay)", 455s # out_arg_aay); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_aay: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_aay: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_aay ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # const gchar *const *arg_aay) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(^aay)", 455s # arg_aay)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s # /tmp/tmpb1t2a0xv/tmp6562zne7.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb1t2a0xv/tmp6562zne7.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.UsefulInterface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectUsefulInterface 455s # * @title: OrgProjectUsefulInterface 455s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 455s # { 455s # { 455s # -1, 455s # (gchar *) "arg_asv", 455s # (gchar *) "a{sv}", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgMethodAsv", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-single-arg-method-asv", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 455s # { 455s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.UsefulInterface", 455s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-useful-interface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_useful_interface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_useful_interface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectUsefulInterface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 455s # */ 455s # 455s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-single-arg-method-asv", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_useful_interface_method_marshal_single_arg_method_asv, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_asv: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_useful_interface_call_single_arg_method_asv ( 455s # OrgProjectUsefulInterface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAsv", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_asv_finish: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_asv_finish ( 455s # OrgProjectUsefulInterface *proxy, 455s # GVariant **out_arg_asv, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(@a{sv})", 455s # out_arg_asv); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_call_single_arg_method_asv_sync: 455s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 455s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_useful_interface_call_single_arg_method_asv_sync ( 455s # OrgProjectUsefulInterface *proxy, 455s # GVariant **out_arg_asv, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SingleArgMethodAsv", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(@a{sv})", 455s # out_arg_asv); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_complete_single_arg_method_asv: 455s # * @object: A #OrgProjectUsefulInterface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @arg_asv: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_useful_interface_complete_single_arg_method_asv ( 455s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # GVariant *arg_asv) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(@a{sv})", 455s # arg_asv)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxy: 455s # * 455s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 455s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 455s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_useful_interface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_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); 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeleton: 455s # * 455s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectUsefulInterfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_useful_interface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_useful_interface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_useful_interface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 455s # { 455s # _org_project_useful_interface_skeleton_handle_method_call, 455s # _org_project_useful_interface_skeleton_handle_get_property, 455s # _org_project_useful_interface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_useful_interface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_useful_interface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_useful_interface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectUsefulInterface * 455s # org_project_useful_interface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 455s # } 455s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 455s # tmpdir: /tmp/tmpqicmr7q7 455s # codegen: /usr/bin/gdbus-codegen 455s # /tmp/tmpqicmr7q7/tmpxcme1c8h.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqicmr7q7/tmpxcme1c8h.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # gboolean arg_an_b, 455s # guchar arg_an_y, 455s # gint16 arg_an_n, 455s # guint16 arg_an_q, 455s # gint arg_an_i, 455s # guint arg_an_u, 455s # gint64 arg_an_x, 455s # guint64 arg_an_t, 455s # gdouble arg_an_d, 455s # const gchar *arg_an_s, 455s # const gchar *arg_an_o, 455s # const gchar *arg_an_g, 455s # GVariant *arg_an_h, 455s # const gchar *arg_an_ay, 455s # const gchar *const *arg_an_as, 455s # const gchar *const *arg_an_ao, 455s # const gchar *const *arg_an_aay, 455s # GVariant *arg_an_asv, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 20); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_boolean (param_values + 2), 455s # g_marshal_value_peek_uchar (param_values + 3), 455s # g_marshal_value_peek_int (param_values + 4), 455s # g_marshal_value_peek_uint (param_values + 5), 455s # g_marshal_value_peek_int (param_values + 6), 455s # g_marshal_value_peek_uint (param_values + 7), 455s # g_marshal_value_peek_int64 (param_values + 8), 455s # g_marshal_value_peek_uint64 (param_values + 9), 455s # g_marshal_value_peek_double (param_values + 10), 455s # g_marshal_value_peek_string (param_values + 11), 455s # g_marshal_value_peek_string (param_values + 12), 455s # g_marshal_value_peek_string (param_values + 13), 455s # g_marshal_value_peek_variant (param_values + 14), 455s # g_marshal_value_peek_string (param_values + 15), 455s # g_marshal_value_peek_boxed (param_values + 16), 455s # g_marshal_value_peek_boxed (param_values + 17), 455s # g_marshal_value_peek_boxed (param_values + 18), 455s # g_marshal_value_peek_variant (param_values + 19), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.CallableIface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectCallableIface 455s # * @title: OrgProjectCallableIface 455s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.CallableIface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_b", 455s # (gchar *) "b", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_y", 455s # (gchar *) "y", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_n", 455s # (gchar *) "n", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_q", 455s # (gchar *) "q", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_i", 455s # (gchar *) "i", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_u", 455s # (gchar *) "u", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_x", 455s # (gchar *) "x", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_t", 455s # (gchar *) "t", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_d", 455s # (gchar *) "d", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_s", 455s # (gchar *) "s", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_o", 455s # (gchar *) "o", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_g", 455s # (gchar *) "g", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_h", 455s # (gchar *) "h", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ay", 455s # (gchar *) "ay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_as", 455s # (gchar *) "as", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ao", 455s # (gchar *) "ao", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_aay", 455s # (gchar *) "aay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_asv", 455s # (gchar *) "a{sv}", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 455s # { 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 455s # { 455s # { 455s # -1, 455s # (gchar *) "MethodWithManyArgs", 455s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-method-with-many-args", 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_b", 455s # (gchar *) "b", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_y", 455s # (gchar *) "y", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_n", 455s # (gchar *) "n", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_q", 455s # (gchar *) "q", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_i", 455s # (gchar *) "i", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_u", 455s # (gchar *) "u", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_x", 455s # (gchar *) "x", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_t", 455s # (gchar *) "t", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_d", 455s # (gchar *) "d", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_s", 455s # (gchar *) "s", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_o", 455s # (gchar *) "o", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_g", 455s # (gchar *) "g", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_h", 455s # (gchar *) "h", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ay", 455s # (gchar *) "ay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_as", 455s # (gchar *) "as", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ao", 455s # (gchar *) "ao", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_aay", 455s # (gchar *) "aay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_asv", 455s # (gchar *) "a{sv}", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 455s # { 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SameMethodWithManyArgs", 455s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-same-method-with-many-args", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 455s # { 455s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 455s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.CallableIface", 455s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-callable-iface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_callable_iface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_callable_iface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_callable_iface_method_marshal_method_with_many_args ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _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, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _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, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectCallableIface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 455s # */ 455s # 455s # /** 455s # * OrgProjectCallableIfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 455s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.CallableIface. 455s # */ 455s # 455s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectCallableIface::handle-method-with-many-args: 455s # * @object: A #OrgProjectCallableIface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_an_b: Argument passed by remote caller. 455s # * @arg_an_y: Argument passed by remote caller. 455s # * @arg_an_n: Argument passed by remote caller. 455s # * @arg_an_q: Argument passed by remote caller. 455s # * @arg_an_i: Argument passed by remote caller. 455s # * @arg_an_u: Argument passed by remote caller. 455s # * @arg_an_x: Argument passed by remote caller. 455s # * @arg_an_t: Argument passed by remote caller. 455s # * @arg_an_d: Argument passed by remote caller. 455s # * @arg_an_s: Argument passed by remote caller. 455s # * @arg_an_o: Argument passed by remote caller. 455s # * @arg_an_g: Argument passed by remote caller. 455s # * @arg_an_h: Argument passed by remote caller. 455s # * @arg_an_ay: Argument passed by remote caller. 455s # * @arg_an_as: Argument passed by remote caller. 455s # * @arg_an_ao: Argument passed by remote caller. 455s # * @arg_an_aay: Argument passed by remote caller. 455s # * @arg_an_asv: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-method-with-many-args", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_callable_iface_method_marshal_method_with_many_args, 455s # G_TYPE_BOOLEAN, 455s # 19, 455s # 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); 455s # 455s # /** 455s # * OrgProjectCallableIface::handle-same-method-with-many-args: 455s # * @object: A #OrgProjectCallableIface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_an_b: Argument passed by remote caller. 455s # * @arg_an_y: Argument passed by remote caller. 455s # * @arg_an_n: Argument passed by remote caller. 455s # * @arg_an_q: Argument passed by remote caller. 455s # * @arg_an_i: Argument passed by remote caller. 455s # * @arg_an_u: Argument passed by remote caller. 455s # * @arg_an_x: Argument passed by remote caller. 455s # * @arg_an_t: Argument passed by remote caller. 455s # * @arg_an_d: Argument passed by remote caller. 455s # * @arg_an_s: Argument passed by remote caller. 455s # * @arg_an_o: Argument passed by remote caller. 455s # * @arg_an_g: Argument passed by remote caller. 455s # * @arg_an_h: Argument passed by remote caller. 455s # * @arg_an_ay: Argument passed by remote caller. 455s # * @arg_an_as: Argument passed by remote caller. 455s # * @arg_an_ao: Argument passed by remote caller. 455s # * @arg_an_aay: Argument passed by remote caller. 455s # * @arg_an_asv: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-same-method-with-many-args", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_callable_iface_method_marshal_same_method_with_many_args, 455s # G_TYPE_BOOLEAN, 455s # 19, 455s # 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); 455s # 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_call_method_with_many_args: 455s # * @proxy: A #OrgProjectCallableIfaceProxy. 455s # * @arg_an_b: Argument to pass with the method invocation. 455s # * @arg_an_y: Argument to pass with the method invocation. 455s # * @arg_an_n: Argument to pass with the method invocation. 455s # * @arg_an_q: Argument to pass with the method invocation. 455s # * @arg_an_i: Argument to pass with the method invocation. 455s # * @arg_an_u: Argument to pass with the method invocation. 455s # * @arg_an_x: Argument to pass with the method invocation. 455s # * @arg_an_t: Argument to pass with the method invocation. 455s # * @arg_an_d: Argument to pass with the method invocation. 455s # * @arg_an_s: Argument to pass with the method invocation. 455s # * @arg_an_o: Argument to pass with the method invocation. 455s # * @arg_an_g: Argument to pass with the method invocation. 455s # * @arg_an_h: Argument to pass with the method invocation. 455s # * @arg_an_ay: Argument to pass with the method invocation. 455s # * @arg_an_as: Argument to pass with the method invocation. 455s # * @arg_an_ao: Argument to pass with the method invocation. 455s # * @arg_an_aay: Argument to pass with the method invocation. 455s # * @arg_an_asv: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 455s # * 455s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_callable_iface_call_method_with_many_args ( 455s # OrgProjectCallableIface *proxy, 455s # gboolean arg_an_b, 455s # guchar arg_an_y, 455s # gint16 arg_an_n, 455s # guint16 arg_an_q, 455s # gint arg_an_i, 455s # guint arg_an_u, 455s # gint64 arg_an_x, 455s # guint64 arg_an_t, 455s # gdouble arg_an_d, 455s # const gchar *arg_an_s, 455s # const gchar *arg_an_o, 455s # const gchar *arg_an_g, 455s # GVariant *arg_an_h, 455s # const gchar *arg_an_ay, 455s # const gchar *const *arg_an_as, 455s # const gchar *const *arg_an_ao, 455s # const gchar *const *arg_an_aay, 455s # GVariant *arg_an_asv, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "MethodWithManyArgs", 455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 455s # arg_an_b, 455s # arg_an_y, 455s # arg_an_n, 455s # arg_an_q, 455s # arg_an_i, 455s # arg_an_u, 455s # arg_an_x, 455s # arg_an_t, 455s # arg_an_d, 455s # arg_an_s, 455s # arg_an_o, 455s # arg_an_g, 455s # arg_an_h, 455s # arg_an_ay, 455s # arg_an_as, 455s # arg_an_ao, 455s # arg_an_aay, 455s # arg_an_asv), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_call_method_with_many_args_finish: 455s # * @proxy: A #OrgProjectCallableIfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_callable_iface_call_method_with_many_args_finish ( 455s # OrgProjectCallableIface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_call_method_with_many_args_sync: 455s # * @proxy: A #OrgProjectCallableIfaceProxy. 455s # * @arg_an_b: Argument to pass with the method invocation. 455s # * @arg_an_y: Argument to pass with the method invocation. 455s # * @arg_an_n: Argument to pass with the method invocation. 455s # * @arg_an_q: Argument to pass with the method invocation. 455s # * @arg_an_i: Argument to pass with the method invocation. 455s # * @arg_an_u: Argument to pass with the method invocation. 455s # * @arg_an_x: Argument to pass with the method invocation. 455s # * @arg_an_t: Argument to pass with the method invocation. 455s # * @arg_an_d: Argument to pass with the method invocation. 455s # * @arg_an_s: Argument to pass with the method invocation. 455s # * @arg_an_o: Argument to pass with the method invocation. 455s # * @arg_an_g: Argument to pass with the method invocation. 455s # * @arg_an_h: Argument to pass with the method invocation. 455s # * @arg_an_ay: Argument to pass with the method invocation. 455s # * @arg_an_as: Argument to pass with the method invocation. 455s # * @arg_an_ao: Argument to pass with the method invocation. 455s # * @arg_an_aay: Argument to pass with the method invocation. 455s # * @arg_an_asv: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_callable_iface_call_method_with_many_args_sync ( 455s # OrgProjectCallableIface *proxy, 455s # gboolean arg_an_b, 455s # guchar arg_an_y, 455s # gint16 arg_an_n, 455s # guint16 arg_an_q, 455s # gint arg_an_i, 455s # guint arg_an_u, 455s # gint64 arg_an_x, 455s # guint64 arg_an_t, 455s # gdouble arg_an_d, 455s # const gchar *arg_an_s, 455s # const gchar *arg_an_o, 455s # const gchar *arg_an_g, 455s # GVariant *arg_an_h, 455s # const gchar *arg_an_ay, 455s # const gchar *const *arg_an_as, 455s # const gchar *const *arg_an_ao, 455s # const gchar *const *arg_an_aay, 455s # GVariant *arg_an_asv, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "MethodWithManyArgs", 455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 455s # arg_an_b, 455s # arg_an_y, 455s # arg_an_n, 455s # arg_an_q, 455s # arg_an_i, 455s # arg_an_u, 455s # arg_an_x, 455s # arg_an_t, 455s # arg_an_d, 455s # arg_an_s, 455s # arg_an_o, 455s # arg_an_g, 455s # arg_an_h, 455s # arg_an_ay, 455s # arg_an_as, 455s # arg_an_ao, 455s # arg_an_aay, 455s # arg_an_asv), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_call_same_method_with_many_args: 455s # * @proxy: A #OrgProjectCallableIfaceProxy. 455s # * @arg_an_b: Argument to pass with the method invocation. 455s # * @arg_an_y: Argument to pass with the method invocation. 455s # * @arg_an_n: Argument to pass with the method invocation. 455s # * @arg_an_q: Argument to pass with the method invocation. 455s # * @arg_an_i: Argument to pass with the method invocation. 455s # * @arg_an_u: Argument to pass with the method invocation. 455s # * @arg_an_x: Argument to pass with the method invocation. 455s # * @arg_an_t: Argument to pass with the method invocation. 455s # * @arg_an_d: Argument to pass with the method invocation. 455s # * @arg_an_s: Argument to pass with the method invocation. 455s # * @arg_an_o: Argument to pass with the method invocation. 455s # * @arg_an_g: Argument to pass with the method invocation. 455s # * @arg_an_h: Argument to pass with the method invocation. 455s # * @arg_an_ay: Argument to pass with the method invocation. 455s # * @arg_an_as: Argument to pass with the method invocation. 455s # * @arg_an_ao: Argument to pass with the method invocation. 455s # * @arg_an_aay: Argument to pass with the method invocation. 455s # * @arg_an_asv: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 455s # * 455s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_callable_iface_call_same_method_with_many_args ( 455s # OrgProjectCallableIface *proxy, 455s # gboolean arg_an_b, 455s # guchar arg_an_y, 455s # gint16 arg_an_n, 455s # guint16 arg_an_q, 455s # gint arg_an_i, 455s # guint arg_an_u, 455s # gint64 arg_an_x, 455s # guint64 arg_an_t, 455s # gdouble arg_an_d, 455s # const gchar *arg_an_s, 455s # const gchar *arg_an_o, 455s # const gchar *arg_an_g, 455s # GVariant *arg_an_h, 455s # const gchar *arg_an_ay, 455s # const gchar *const *arg_an_as, 455s # const gchar *const *arg_an_ao, 455s # const gchar *const *arg_an_aay, 455s # GVariant *arg_an_asv, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "SameMethodWithManyArgs", 455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 455s # arg_an_b, 455s # arg_an_y, 455s # arg_an_n, 455s # arg_an_q, 455s # arg_an_i, 455s # arg_an_u, 455s # arg_an_x, 455s # arg_an_t, 455s # arg_an_d, 455s # arg_an_s, 455s # arg_an_o, 455s # arg_an_g, 455s # arg_an_h, 455s # arg_an_ay, 455s # arg_an_as, 455s # arg_an_ao, 455s # arg_an_aay, 455s # arg_an_asv), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_call_same_method_with_many_args_finish: 455s # * @proxy: A #OrgProjectCallableIfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_callable_iface_call_same_method_with_many_args_finish ( 455s # OrgProjectCallableIface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_call_same_method_with_many_args_sync: 455s # * @proxy: A #OrgProjectCallableIfaceProxy. 455s # * @arg_an_b: Argument to pass with the method invocation. 455s # * @arg_an_y: Argument to pass with the method invocation. 455s # * @arg_an_n: Argument to pass with the method invocation. 455s # * @arg_an_q: Argument to pass with the method invocation. 455s # * @arg_an_i: Argument to pass with the method invocation. 455s # * @arg_an_u: Argument to pass with the method invocation. 455s # * @arg_an_x: Argument to pass with the method invocation. 455s # * @arg_an_t: Argument to pass with the method invocation. 455s # * @arg_an_d: Argument to pass with the method invocation. 455s # * @arg_an_s: Argument to pass with the method invocation. 455s # * @arg_an_o: Argument to pass with the method invocation. 455s # * @arg_an_g: Argument to pass with the method invocation. 455s # * @arg_an_h: Argument to pass with the method invocation. 455s # * @arg_an_ay: Argument to pass with the method invocation. 455s # * @arg_an_as: Argument to pass with the method invocation. 455s # * @arg_an_ao: Argument to pass with the method invocation. 455s # * @arg_an_aay: Argument to pass with the method invocation. 455s # * @arg_an_asv: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_callable_iface_call_same_method_with_many_args_sync ( 455s # OrgProjectCallableIface *proxy, 455s # gboolean arg_an_b, 455s # guchar arg_an_y, 455s # gint16 arg_an_n, 455s # guint16 arg_an_q, 455s # gint arg_an_i, 455s # guint arg_an_u, 455s # gint64 arg_an_x, 455s # guint64 arg_an_t, 455s # gdouble arg_an_d, 455s # const gchar *arg_an_s, 455s # const gchar *arg_an_o, 455s # const gchar *arg_an_g, 455s # GVariant *arg_an_h, 455s # const gchar *arg_an_ay, 455s # const gchar *const *arg_an_as, 455s # const gchar *const *arg_an_ao, 455s # const gchar *const *arg_an_aay, 455s # GVariant *arg_an_asv, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "SameMethodWithManyArgs", 455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 455s # arg_an_b, 455s # arg_an_y, 455s # arg_an_n, 455s # arg_an_q, 455s # arg_an_i, 455s # arg_an_u, 455s # arg_an_x, 455s # arg_an_t, 455s # arg_an_d, 455s # arg_an_s, 455s # arg_an_o, 455s # arg_an_g, 455s # arg_an_h, 455s # arg_an_ay, 455s # arg_an_as, 455s # arg_an_ao, 455s # arg_an_aay, 455s # arg_an_asv), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_complete_method_with_many_args: 455s # * @object: A #OrgProjectCallableIface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_callable_iface_complete_method_with_many_args ( 455s # OrgProjectCallableIface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_complete_same_method_with_many_args: 455s # * @object: A #OrgProjectCallableIface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_callable_iface_complete_same_method_with_many_args ( 455s # OrgProjectCallableIface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectCallableIfaceProxy: 455s # * 455s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectCallableIfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectCallableIfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectCallableIfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_callable_iface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 455s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 455s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_callable_iface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectCallableIface * 455s # org_project_callable_iface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectCallableIface * 455s # org_project_callable_iface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_callable_iface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectCallableIface * 455s # org_project_callable_iface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectCallableIface * 455s # org_project_callable_iface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectCallableIfaceSkeleton: 455s # * 455s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectCallableIfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectCallableIfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectCallableIfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_callable_iface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_callable_iface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_callable_iface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 455s # { 455s # _org_project_callable_iface_skeleton_handle_method_call, 455s # _org_project_callable_iface_skeleton_handle_get_property, 455s # _org_project_callable_iface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_callable_iface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_callable_iface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectCallableIface * 455s # org_project_callable_iface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.OtherCallableIface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectOtherCallableIface 455s # * @title: OrgProjectOtherCallableIface 455s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_b", 455s # (gchar *) "b", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_y", 455s # (gchar *) "y", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_n", 455s # (gchar *) "n", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_q", 455s # (gchar *) "q", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_i", 455s # (gchar *) "i", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_u", 455s # (gchar *) "u", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_x", 455s # (gchar *) "x", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_t", 455s # (gchar *) "t", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_d", 455s # (gchar *) "d", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_s", 455s # (gchar *) "s", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_o", 455s # (gchar *) "o", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_g", 455s # (gchar *) "g", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_h", 455s # (gchar *) "h", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ay", 455s # (gchar *) "ay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_as", 455s # (gchar *) "as", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ao", 455s # (gchar *) "ao", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_aay", 455s # (gchar *) "aay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_asv", 455s # (gchar *) "a{sv}", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 455s # { 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 455s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 455s # { 455s # { 455s # -1, 455s # (gchar *) "MethodWithManyArgs", 455s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "handle-method-with-many-args", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 455s # { 455s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.OtherCallableIface", 455s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-other-callable-iface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_other_callable_iface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_other_callable_iface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_other_callable_iface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _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, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectOtherCallableIface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 455s # */ 455s # 455s # /** 455s # * OrgProjectOtherCallableIfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 455s # */ 455s # 455s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 455s # * @object: A #OrgProjectOtherCallableIface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @arg_an_b: Argument passed by remote caller. 455s # * @arg_an_y: Argument passed by remote caller. 455s # * @arg_an_n: Argument passed by remote caller. 455s # * @arg_an_q: Argument passed by remote caller. 455s # * @arg_an_i: Argument passed by remote caller. 455s # * @arg_an_u: Argument passed by remote caller. 455s # * @arg_an_x: Argument passed by remote caller. 455s # * @arg_an_t: Argument passed by remote caller. 455s # * @arg_an_d: Argument passed by remote caller. 455s # * @arg_an_s: Argument passed by remote caller. 455s # * @arg_an_o: Argument passed by remote caller. 455s # * @arg_an_g: Argument passed by remote caller. 455s # * @arg_an_h: Argument passed by remote caller. 455s # * @arg_an_ay: Argument passed by remote caller. 455s # * @arg_an_as: Argument passed by remote caller. 455s # * @arg_an_ao: Argument passed by remote caller. 455s # * @arg_an_aay: Argument passed by remote caller. 455s # * @arg_an_asv: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-method-with-many-args", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_other_callable_iface_method_marshal_method_with_many_args, 455s # G_TYPE_BOOLEAN, 455s # 19, 455s # 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); 455s # 455s # } 455s # 455s # /** 455s # * org_project_other_callable_iface_call_method_with_many_args: 455s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 455s # * @arg_an_b: Argument to pass with the method invocation. 455s # * @arg_an_y: Argument to pass with the method invocation. 455s # * @arg_an_n: Argument to pass with the method invocation. 455s # * @arg_an_q: Argument to pass with the method invocation. 455s # * @arg_an_i: Argument to pass with the method invocation. 455s # * @arg_an_u: Argument to pass with the method invocation. 455s # * @arg_an_x: Argument to pass with the method invocation. 455s # * @arg_an_t: Argument to pass with the method invocation. 455s # * @arg_an_d: Argument to pass with the method invocation. 455s # * @arg_an_s: Argument to pass with the method invocation. 455s # * @arg_an_o: Argument to pass with the method invocation. 455s # * @arg_an_g: Argument to pass with the method invocation. 455s # * @arg_an_h: Argument to pass with the method invocation. 455s # * @arg_an_ay: Argument to pass with the method invocation. 455s # * @arg_an_as: Argument to pass with the method invocation. 455s # * @arg_an_ao: Argument to pass with the method invocation. 455s # * @arg_an_aay: Argument to pass with the method invocation. 455s # * @arg_an_asv: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 455s # * 455s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_other_callable_iface_call_method_with_many_args ( 455s # OrgProjectOtherCallableIface *proxy, 455s # gboolean arg_an_b, 455s # guchar arg_an_y, 455s # gint16 arg_an_n, 455s # guint16 arg_an_q, 455s # gint arg_an_i, 455s # guint arg_an_u, 455s # gint64 arg_an_x, 455s # guint64 arg_an_t, 455s # gdouble arg_an_d, 455s # const gchar *arg_an_s, 455s # const gchar *arg_an_o, 455s # const gchar *arg_an_g, 455s # GVariant *arg_an_h, 455s # const gchar *arg_an_ay, 455s # const gchar *const *arg_an_as, 455s # const gchar *const *arg_an_ao, 455s # const gchar *const *arg_an_aay, 455s # GVariant *arg_an_asv, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "MethodWithManyArgs", 455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 455s # arg_an_b, 455s # arg_an_y, 455s # arg_an_n, 455s # arg_an_q, 455s # arg_an_i, 455s # arg_an_u, 455s # arg_an_x, 455s # arg_an_t, 455s # arg_an_d, 455s # arg_an_s, 455s # arg_an_o, 455s # arg_an_g, 455s # arg_an_h, 455s # arg_an_ay, 455s # arg_an_as, 455s # arg_an_ao, 455s # arg_an_aay, 455s # arg_an_asv), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_other_callable_iface_call_method_with_many_args_finish: 455s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_other_callable_iface_call_method_with_many_args_finish ( 455s # OrgProjectOtherCallableIface *proxy, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_other_callable_iface_call_method_with_many_args_sync: 455s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 455s # * @arg_an_b: Argument to pass with the method invocation. 455s # * @arg_an_y: Argument to pass with the method invocation. 455s # * @arg_an_n: Argument to pass with the method invocation. 455s # * @arg_an_q: Argument to pass with the method invocation. 455s # * @arg_an_i: Argument to pass with the method invocation. 455s # * @arg_an_u: Argument to pass with the method invocation. 455s # * @arg_an_x: Argument to pass with the method invocation. 455s # * @arg_an_t: Argument to pass with the method invocation. 455s # * @arg_an_d: Argument to pass with the method invocation. 455s # * @arg_an_s: Argument to pass with the method invocation. 455s # * @arg_an_o: Argument to pass with the method invocation. 455s # * @arg_an_g: Argument to pass with the method invocation. 455s # * @arg_an_h: Argument to pass with the method invocation. 455s # * @arg_an_ay: Argument to pass with the method invocation. 455s # * @arg_an_as: Argument to pass with the method invocation. 455s # * @arg_an_ao: Argument to pass with the method invocation. 455s # * @arg_an_aay: Argument to pass with the method invocation. 455s # * @arg_an_asv: Argument to pass with the method invocation. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_other_callable_iface_call_method_with_many_args_sync ( 455s # OrgProjectOtherCallableIface *proxy, 455s # gboolean arg_an_b, 455s # guchar arg_an_y, 455s # gint16 arg_an_n, 455s # guint16 arg_an_q, 455s # gint arg_an_i, 455s # guint arg_an_u, 455s # gint64 arg_an_x, 455s # guint64 arg_an_t, 455s # gdouble arg_an_d, 455s # const gchar *arg_an_s, 455s # const gchar *arg_an_o, 455s # const gchar *arg_an_g, 455s # GVariant *arg_an_h, 455s # const gchar *arg_an_ay, 455s # const gchar *const *arg_an_as, 455s # const gchar *const *arg_an_ao, 455s # const gchar *const *arg_an_aay, 455s # GVariant *arg_an_asv, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "MethodWithManyArgs", 455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 455s # arg_an_b, 455s # arg_an_y, 455s # arg_an_n, 455s # arg_an_q, 455s # arg_an_i, 455s # arg_an_u, 455s # arg_an_x, 455s # arg_an_t, 455s # arg_an_d, 455s # arg_an_s, 455s # arg_an_o, 455s # arg_an_g, 455s # arg_an_h, 455s # arg_an_ay, 455s # arg_an_as, 455s # arg_an_ao, 455s # arg_an_aay, 455s # arg_an_asv), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "()"); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_other_callable_iface_complete_method_with_many_args: 455s # * @object: A #OrgProjectOtherCallableIface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_other_callable_iface_complete_method_with_many_args ( 455s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("()")); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectOtherCallableIfaceProxy: 455s # * 455s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectOtherCallableIfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectOtherCallableIfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_other_callable_iface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 455s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 455s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_other_callable_iface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_other_callable_iface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * org_project_other_callable_iface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectOtherCallableIface * 455s # org_project_other_callable_iface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_other_callable_iface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectOtherCallableIface * 455s # org_project_other_callable_iface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_other_callable_iface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_other_callable_iface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectOtherCallableIface * 455s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectOtherCallableIface * 455s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectOtherCallableIfaceSkeleton: 455s # * 455s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectOtherCallableIfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_other_callable_iface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_other_callable_iface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_other_callable_iface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 455s # { 455s # _org_project_other_callable_iface_skeleton_handle_method_call, 455s # _org_project_other_callable_iface_skeleton_handle_get_property, 455s # _org_project_other_callable_iface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_other_callable_iface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_other_callable_iface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectOtherCallableIface * 455s # org_project_other_callable_iface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 455s # } 455s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 455s # tmpdir: /tmp/tmp8iu2f4w9 455s # codegen: /usr/bin/gdbus-codegen 455s # /tmp/tmp8iu2f4w9/tmp289s82m2.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8iu2f4w9/tmp289s82m2.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (void *data1, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.CallableIface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectCallableIface 455s # * @title: OrgProjectCallableIface 455s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for org.project.CallableIface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_b", 455s # (gchar *) "b", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_y", 455s # (gchar *) "y", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_n", 455s # (gchar *) "n", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_q", 455s # (gchar *) "q", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_i", 455s # (gchar *) "i", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_u", 455s # (gchar *) "u", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_x", 455s # (gchar *) "x", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_t", 455s # (gchar *) "t", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_d", 455s # (gchar *) "d", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_s", 455s # (gchar *) "s", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_o", 455s # (gchar *) "o", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_g", 455s # (gchar *) "g", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_h", 455s # (gchar *) "h", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ay", 455s # (gchar *) "ay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_as", 455s # (gchar *) "as", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ao", 455s # (gchar *) "ao", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_aay", 455s # (gchar *) "aay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_asv", 455s # (gchar *) "a{sv}", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 455s # { 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 455s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 455s # { 455s # { 455s # -1, 455s # (gchar *) "MethodWithManyArgs", 455s # NULL, 455s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-method-with-many-args", 455s # FALSE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 455s # { 455s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.CallableIface", 455s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-callable-iface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_callable_iface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_callable_iface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_callable_iface_method_marshal_method_with_many_args ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectCallableIface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 455s # */ 455s # 455s # /** 455s # * OrgProjectCallableIfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.CallableIface. 455s # */ 455s # 455s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * OrgProjectCallableIface::handle-method-with-many-args: 455s # * @object: A #OrgProjectCallableIface. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * 455s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-method-with-many-args", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # org_project_callable_iface_method_marshal_method_with_many_args, 455s # G_TYPE_BOOLEAN, 455s # 1, 455s # G_TYPE_DBUS_METHOD_INVOCATION); 455s # 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_call_method_with_many_args: 455s # * @proxy: A #OrgProjectCallableIfaceProxy. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 455s # * 455s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # org_project_callable_iface_call_method_with_many_args ( 455s # OrgProjectCallableIface *proxy, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 455s # "MethodWithManyArgs", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_call_method_with_many_args_finish: 455s # * @proxy: A #OrgProjectCallableIfaceProxy. 455s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_callable_iface_call_method_with_many_args_finish ( 455s # OrgProjectCallableIface *proxy, 455s # gboolean *out_an_b, 455s # guchar *out_an_y, 455s # gint16 *out_an_n, 455s # guint16 *out_an_q, 455s # gint *out_an_i, 455s # guint *out_an_u, 455s # gint64 *out_an_x, 455s # guint64 *out_an_t, 455s # gdouble *out_an_d, 455s # gchar **out_an_s, 455s # gchar **out_an_o, 455s # gchar **out_an_g, 455s # GVariant **out_an_h, 455s # gchar **out_an_ay, 455s # gchar ***out_an_as, 455s # gchar ***out_an_ao, 455s # gchar ***out_an_aay, 455s # GVariant **out_an_asv, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 455s # out_an_b, 455s # out_an_y, 455s # out_an_n, 455s # out_an_q, 455s # out_an_i, 455s # out_an_u, 455s # out_an_x, 455s # out_an_t, 455s # out_an_d, 455s # out_an_s, 455s # out_an_o, 455s # out_an_g, 455s # out_an_h, 455s # out_an_ay, 455s # out_an_as, 455s # out_an_ao, 455s # out_an_aay, 455s # out_an_asv); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_call_method_with_many_args_sync: 455s # * @proxy: A #OrgProjectCallableIfaceProxy. 455s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 455s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # org_project_callable_iface_call_method_with_many_args_sync ( 455s # OrgProjectCallableIface *proxy, 455s # gboolean *out_an_b, 455s # guchar *out_an_y, 455s # gint16 *out_an_n, 455s # guint16 *out_an_q, 455s # gint *out_an_i, 455s # guint *out_an_u, 455s # gint64 *out_an_x, 455s # guint64 *out_an_t, 455s # gdouble *out_an_d, 455s # gchar **out_an_s, 455s # gchar **out_an_o, 455s # gchar **out_an_g, 455s # GVariant **out_an_h, 455s # gchar **out_an_ay, 455s # gchar ***out_an_as, 455s # gchar ***out_an_ao, 455s # gchar ***out_an_aay, 455s # GVariant **out_an_asv, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 455s # "MethodWithManyArgs", 455s # g_variant_new ("()"), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 455s # out_an_b, 455s # out_an_y, 455s # out_an_n, 455s # out_an_q, 455s # out_an_i, 455s # out_an_u, 455s # out_an_x, 455s # out_an_t, 455s # out_an_d, 455s # out_an_s, 455s # out_an_o, 455s # out_an_g, 455s # out_an_h, 455s # out_an_ay, 455s # out_an_as, 455s # out_an_ao, 455s # out_an_aay, 455s # out_an_asv); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_complete_method_with_many_args: 455s # * @object: A #OrgProjectCallableIface. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @an_b: Parameter to return. 455s # * @an_y: Parameter to return. 455s # * @an_n: Parameter to return. 455s # * @an_q: Parameter to return. 455s # * @an_i: Parameter to return. 455s # * @an_u: Parameter to return. 455s # * @an_x: Parameter to return. 455s # * @an_t: Parameter to return. 455s # * @an_d: Parameter to return. 455s # * @an_s: Parameter to return. 455s # * @an_o: Parameter to return. 455s # * @an_g: Parameter to return. 455s # * @an_h: Parameter to return. 455s # * @an_ay: Parameter to return. 455s # * @an_as: Parameter to return. 455s # * @an_ao: Parameter to return. 455s # * @an_aay: Parameter to return. 455s # * @an_asv: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # org_project_callable_iface_complete_method_with_many_args ( 455s # OrgProjectCallableIface *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # gboolean an_b, 455s # guchar an_y, 455s # gint16 an_n, 455s # guint16 an_q, 455s # gint an_i, 455s # guint an_u, 455s # gint64 an_x, 455s # guint64 an_t, 455s # gdouble an_d, 455s # const gchar *an_s, 455s # const gchar *an_o, 455s # const gchar *an_g, 455s # GVariant *an_h, 455s # const gchar *an_ay, 455s # const gchar *const *an_as, 455s # const gchar *const *an_ao, 455s # const gchar *const *an_aay, 455s # GVariant *an_asv) 455s # { 455s # g_dbus_method_invocation_return_value (invocation, 455s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 455s # an_b, 455s # an_y, 455s # an_n, 455s # an_q, 455s # an_i, 455s # an_u, 455s # an_x, 455s # an_t, 455s # an_d, 455s # an_s, 455s # an_o, 455s # an_g, 455s # an_h, 455s # an_ay, 455s # an_as, 455s # an_ao, 455s # an_aay, 455s # an_asv)); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectCallableIfaceProxy: 455s # * 455s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectCallableIfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectCallableIfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectCallableIfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_callable_iface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 455s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 455s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_callable_iface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectCallableIface * 455s # org_project_callable_iface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectCallableIface * 455s # org_project_callable_iface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_callable_iface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectCallableIface * 455s # org_project_callable_iface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectCallableIface * 455s # org_project_callable_iface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_CALLABLE_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectCallableIfaceSkeleton: 455s # * 455s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectCallableIfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectCallableIfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectCallableIfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_callable_iface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_callable_iface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_callable_iface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 455s # { 455s # _org_project_callable_iface_skeleton_handle_method_call, 455s # _org_project_callable_iface_skeleton_handle_get_property, 455s # _org_project_callable_iface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_callable_iface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_callable_iface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_callable_iface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectCallableIface * 455s # org_project_callable_iface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 455s # } 455s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 455s # tmpdir: /tmp/tmpkoizsg8l 455s # codegen: /usr/bin/gdbus-codegen 455s # /tmp/tmpkoizsg8l/tmpqg9g4h3z.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkoizsg8l/tmpqg9g4h3z.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 455s # (void *data1, 455s # GUnixFDList *arg_fd_list, 455s # GDBusMethodInvocation *arg_method_invocation, 455s # const gchar *arg_greeting, 455s # void *data2); 455s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # gboolean v_return; 455s # 455s # g_return_if_fail (return_value != NULL); 455s # g_return_if_fail (n_param_values == 4); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # v_return = 455s # callback (data1, 455s # g_marshal_value_peek_object (param_values + 1), 455s # g_marshal_value_peek_object (param_values + 2), 455s # g_marshal_value_peek_string (param_values + 3), 455s # data2); 455s # 455s # g_value_set_boolean (return_value, v_return); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface test.FDPassing 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:TestFDPassing 455s # * @title: TestFDPassing 455s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 455s # * 455s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 455s # */ 455s # 455s # /* ---- Introspection data for test.FDPassing ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 455s # { 455s # { 455s # -1, 455s # (gchar *) "greeting", 455s # (gchar *) "s", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 455s # { 455s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 455s # { 455s # { 455s # -1, 455s # (gchar *) "response", 455s # (gchar *) "s", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 455s # { 455s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 455s # { 455s # { 455s # -1, 455s # (gchar *) "HelloFD", 455s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 455s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 455s # NULL 455s # }, 455s # "handle-hello-fd", 455s # TRUE 455s # }; 455s # 455s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 455s # { 455s # &_test_fdpassing_method_info_hello_fd.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "test.FDPassing", 455s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 455s # NULL, 455s # NULL, 455s # NULL 455s # }, 455s # "test-fdpassing", 455s # }; 455s # 455s # 455s # /** 455s # * test_fdpassing_interface_info: 455s # * 455s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # test_fdpassing_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * test_fdpassing_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # test_fdpassing_method_marshal_hello_fd ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * TestFDPassing: 455s # * 455s # * Abstract interface type for the D-Bus interface test.FDPassing. 455s # */ 455s # 455s # /** 455s # * TestFDPassingIface: 455s # * @parent_iface: The parent interface. 455s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 455s # * 455s # * Virtual table for the D-Bus interface test.FDPassing. 455s # */ 455s # 455s # typedef TestFDPassingIface TestFDPassingInterface; 455s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 455s # 455s # static void 455s # test_fdpassing_default_init (TestFDPassingIface *iface) 455s # { 455s # /* GObject signals for incoming D-Bus method calls: */ 455s # /** 455s # * TestFDPassing::handle-hello-fd: 455s # * @object: A #TestFDPassing. 455s # * @invocation: A #GDBusMethodInvocation. 455s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 455s # * @arg_greeting: Argument passed by remote caller. 455s # * 455s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 455s # * 455s # * 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. 455s # * 455s # * 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. 455s # */ 455s # g_signal_new ("handle-hello-fd", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 455s # g_signal_accumulator_true_handled, 455s # NULL, 455s # test_fdpassing_method_marshal_hello_fd, 455s # G_TYPE_BOOLEAN, 455s # 3, 455s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 455s # 455s # } 455s # 455s # /** 455s # * test_fdpassing_call_hello_fd: 455s # * @proxy: A #TestFDPassingProxy. 455s # * @arg_greeting: Argument to pass with the method invocation. 455s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 455s # * 455s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 455s # */ 455s # void 455s # test_fdpassing_call_hello_fd ( 455s # TestFDPassing *proxy, 455s # const gchar *arg_greeting, 455s # GUnixFDList *fd_list, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 455s # "HelloFD", 455s # g_variant_new ("(s)", 455s # arg_greeting), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # fd_list, 455s # cancellable, 455s # callback, 455s # user_data); 455s # } 455s # 455s # /** 455s # * test_fdpassing_call_hello_fd_finish: 455s # * @proxy: A #TestFDPassingProxy. 455s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # test_fdpassing_call_hello_fd_finish ( 455s # TestFDPassing *proxy, 455s # gchar **out_response, 455s # GUnixFDList **out_fd_list, 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(s)", 455s # out_response); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * test_fdpassing_call_hello_fd_sync: 455s # * @proxy: A #TestFDPassingProxy. 455s # * @arg_greeting: Argument to pass with the method invocation. 455s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 455s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 455s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL. 455s # * 455s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 455s # * 455s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 455s # * 455s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 455s # */ 455s # gboolean 455s # test_fdpassing_call_hello_fd_sync ( 455s # TestFDPassing *proxy, 455s # const gchar *arg_greeting, 455s # GUnixFDList *fd_list, 455s # gchar **out_response, 455s # GUnixFDList **out_fd_list, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GVariant *_ret; 455s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 455s # "HelloFD", 455s # g_variant_new ("(s)", 455s # arg_greeting), 455s # G_DBUS_CALL_FLAGS_NONE, 455s # -1, 455s # fd_list, 455s # out_fd_list, 455s # cancellable, 455s # error); 455s # if (_ret == NULL) 455s # goto _out; 455s # g_variant_get (_ret, 455s # "(s)", 455s # out_response); 455s # g_variant_unref (_ret); 455s # _out: 455s # return _ret != NULL; 455s # } 455s # 455s # /** 455s # * test_fdpassing_complete_hello_fd: 455s # * @object: A #TestFDPassing. 455s # * @invocation: (transfer full): A #GDBusMethodInvocation. 455s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 455s # * @response: Parameter to return. 455s # * 455s # * 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. 455s # * 455s # * This method will free @invocation, you cannot use it afterwards. 455s # */ 455s # void 455s # test_fdpassing_complete_hello_fd ( 455s # TestFDPassing *object G_GNUC_UNUSED, 455s # GDBusMethodInvocation *invocation, 455s # GUnixFDList *fd_list, 455s # const gchar *response) 455s # { 455s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 455s # g_variant_new ("(s)", 455s # response), 455s # fd_list); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * TestFDPassingProxy: 455s # * 455s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * TestFDPassingProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #TestFDPassingProxy. 455s # */ 455s # 455s # struct _TestFDPassingProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (TestFDPassingProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # test_fdpassing_proxy_finalize (GObject *object) 455s # { 455s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 455s # } 455s # 455s # static void 455s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = test_fdpassing_proxy_finalize; 455s # gobject_class->get_property = test_fdpassing_proxy_get_property; 455s # gobject_class->set_property = test_fdpassing_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 455s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * test_fdpassing_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # test_fdpassing_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * test_fdpassing_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with test_fdpassing_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # TestFDPassing * 455s # test_fdpassing_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return TEST_FDPASSING (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * test_fdpassing_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # TestFDPassing * 455s # test_fdpassing_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return TEST_FDPASSING (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * test_fdpassing_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # test_fdpassing_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * test_fdpassing_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # TestFDPassing * 455s # test_fdpassing_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return TEST_FDPASSING (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * test_fdpassing_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # TestFDPassing * 455s # test_fdpassing_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return TEST_FDPASSING (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * TestFDPassingSkeleton: 455s # * 455s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * TestFDPassingSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #TestFDPassingSkeleton. 455s # */ 455s # 455s # struct _TestFDPassingSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _test_fdpassing_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _test_fdpassing_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _test_fdpassing_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 455s # { 455s # _test_fdpassing_skeleton_handle_method_call, 455s # _test_fdpassing_skeleton_handle_get_property, 455s # _test_fdpassing_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return test_fdpassing_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (TestFDPassingSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # test_fdpassing_skeleton_finalize (GObject *object) 455s # { 455s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * test_fdpassing_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 455s # * 455s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 455s # */ 455s # TestFDPassing * 455s # test_fdpassing_skeleton_new (void) 455s # { 455s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 455s # } 455s ok 15 __main__.TestCodegen.test_generate_rst 455s # tmpdir: /tmp/tmpl7n6wkmj 455s # codegen: /usr/bin/gdbus-codegen 455s # /tmp/tmpl7n6wkmj/tmppkngvvag.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl7n6wkmj/tmppkngvvag.xml', '--generate-rst', 'test'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: 455s ok 16 __main__.TestCodegen.test_generate_rst_method 455s # tmpdir: /tmp/tmphws4jidg 455s # codegen: /usr/bin/gdbus-codegen 455s # /tmp/tmphws4jidg/tmpuuvkz4x1.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphws4jidg/tmpuuvkz4x1.xml', '--generate-rst', 'test'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: 455s ok 17 __main__.TestCodegen.test_generate_rst_property 455s # tmpdir: /tmp/tmpwce3aq7j 455s # codegen: /usr/bin/gdbus-codegen 455s # /tmp/tmpwce3aq7j/tmpuj5xy1fk.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwce3aq7j/tmpuj5xy1fk.xml', '--generate-rst', 'test'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: 455s ok 18 __main__.TestCodegen.test_generate_rst_signal 455s # tmpdir: /tmp/tmpsyjamxg6 455s # codegen: /usr/bin/gdbus-codegen 455s # /tmp/tmpsyjamxg6/tmpt74h8hds.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsyjamxg6/tmpt74h8hds.xml', '--generate-rst', 'test'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: 455s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 455s # tmpdir: /tmp/tmp2guxnubh 455s # codegen: /usr/bin/gdbus-codegen 455s # /tmp/tmp2guxnubh/tmpsmdbp5vl.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2guxnubh/tmpsmdbp5vl.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 455s # GClosure *closure, 455s # GValue *return_value G_GNUC_UNUSED, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 455s # (void *data1, 455s # gboolean arg_an_b, 455s # guchar arg_an_y, 455s # gint16 arg_an_n, 455s # guint16 arg_an_q, 455s # gint arg_an_i, 455s # guint arg_an_u, 455s # gint64 arg_an_x, 455s # guint64 arg_an_t, 455s # gdouble arg_an_d, 455s # const gchar *arg_an_s, 455s # const gchar *arg_an_o, 455s # const gchar *arg_an_g, 455s # GVariant *arg_an_h, 455s # const gchar *arg_an_ay, 455s # const gchar *const *arg_an_as, 455s # const gchar *const *arg_an_ao, 455s # const gchar *const *arg_an_aay, 455s # GVariant *arg_an_asv, 455s # void *data2); 455s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # 455s # g_return_if_fail (n_param_values == 19); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # callback (data1, 455s # g_marshal_value_peek_boolean (param_values + 1), 455s # g_marshal_value_peek_uchar (param_values + 2), 455s # g_marshal_value_peek_int (param_values + 3), 455s # g_marshal_value_peek_uint (param_values + 4), 455s # g_marshal_value_peek_int (param_values + 5), 455s # g_marshal_value_peek_uint (param_values + 6), 455s # g_marshal_value_peek_int64 (param_values + 7), 455s # g_marshal_value_peek_uint64 (param_values + 8), 455s # g_marshal_value_peek_double (param_values + 9), 455s # g_marshal_value_peek_string (param_values + 10), 455s # g_marshal_value_peek_string (param_values + 11), 455s # g_marshal_value_peek_string (param_values + 12), 455s # g_marshal_value_peek_variant (param_values + 13), 455s # g_marshal_value_peek_string (param_values + 14), 455s # g_marshal_value_peek_boxed (param_values + 15), 455s # g_marshal_value_peek_boxed (param_values + 16), 455s # g_marshal_value_peek_boxed (param_values + 17), 455s # g_marshal_value_peek_variant (param_values + 18), 455s # data2); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.SignalingIface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectSignalingIface 455s # * @title: OrgProjectSignalingIface 455s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 455s # */ 455s # 455s # enum 455s # { 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 455s # }; 455s # 455s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 455s # 455s # /* ---- Introspection data for org.project.SignalingIface ---- */ 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_b", 455s # (gchar *) "b", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_y", 455s # (gchar *) "y", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_n", 455s # (gchar *) "n", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_q", 455s # (gchar *) "q", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_i", 455s # (gchar *) "i", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_u", 455s # (gchar *) "u", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_x", 455s # (gchar *) "x", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_t", 455s # (gchar *) "t", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_d", 455s # (gchar *) "d", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_s", 455s # (gchar *) "s", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_o", 455s # (gchar *) "o", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_g", 455s # (gchar *) "g", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_h", 455s # (gchar *) "h", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ay", 455s # (gchar *) "ay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_as", 455s # (gchar *) "as", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ao", 455s # (gchar *) "ao", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_aay", 455s # (gchar *) "aay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_asv", 455s # (gchar *) "a{sv}", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SignalWithManyArgs", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 455s # NULL 455s # }, 455s # "signal-with-many-args" 455s # }; 455s # 455s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.SignalingIface", 455s # NULL, 455s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-signaling-iface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_signaling_iface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_signaling_iface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectSignalingIface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 455s # */ 455s # 455s # /** 455s # * OrgProjectSignalingIfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.SignalingIface. 455s # */ 455s # 455s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 455s # { 455s # /* GObject signals for received D-Bus signals: */ 455s # /** 455s # * OrgProjectSignalingIface::signal-with-many-args: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_b: Argument. 455s # * @arg_an_y: Argument. 455s # * @arg_an_n: Argument. 455s # * @arg_an_q: Argument. 455s # * @arg_an_i: Argument. 455s # * @arg_an_u: Argument. 455s # * @arg_an_x: Argument. 455s # * @arg_an_t: Argument. 455s # * @arg_an_d: Argument. 455s # * @arg_an_s: Argument. 455s # * @arg_an_o: Argument. 455s # * @arg_an_g: Argument. 455s # * @arg_an_h: Argument. 455s # * @arg_an_ay: Argument. 455s # * @arg_an_as: Argument. 455s # * @arg_an_ao: Argument. 455s # * @arg_an_aay: Argument. 455s # * @arg_an_asv: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 455s # g_signal_new ("signal-with-many-args", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 455s # G_TYPE_NONE, 455s # 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); 455s # 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_signal_with_many_args: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_b: Argument to pass with the signal. 455s # * @arg_an_y: Argument to pass with the signal. 455s # * @arg_an_n: Argument to pass with the signal. 455s # * @arg_an_q: Argument to pass with the signal. 455s # * @arg_an_i: Argument to pass with the signal. 455s # * @arg_an_u: Argument to pass with the signal. 455s # * @arg_an_x: Argument to pass with the signal. 455s # * @arg_an_t: Argument to pass with the signal. 455s # * @arg_an_d: Argument to pass with the signal. 455s # * @arg_an_s: Argument to pass with the signal. 455s # * @arg_an_o: Argument to pass with the signal. 455s # * @arg_an_g: Argument to pass with the signal. 455s # * @arg_an_h: Argument to pass with the signal. 455s # * @arg_an_ay: Argument to pass with the signal. 455s # * @arg_an_as: Argument to pass with the signal. 455s # * @arg_an_ao: Argument to pass with the signal. 455s # * @arg_an_aay: Argument to pass with the signal. 455s # * @arg_an_asv: Argument to pass with the signal. 455s # * 455s # * Emits the "SignalWithManyArgs" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_signal_with_many_args ( 455s # OrgProjectSignalingIface *object, 455s # gboolean arg_an_b, 455s # guchar arg_an_y, 455s # gint16 arg_an_n, 455s # guint16 arg_an_q, 455s # gint arg_an_i, 455s # guint arg_an_u, 455s # gint64 arg_an_x, 455s # guint64 arg_an_t, 455s # gdouble arg_an_d, 455s # const gchar *arg_an_s, 455s # const gchar *arg_an_o, 455s # const gchar *arg_an_g, 455s # GVariant *arg_an_h, 455s # const gchar *arg_an_ay, 455s # const gchar *const *arg_an_as, 455s # const gchar *const *arg_an_ao, 455s # const gchar *const *arg_an_aay, 455s # GVariant *arg_an_asv) 455s # { 455s # 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); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectSignalingIfaceProxy: 455s # * 455s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectSignalingIfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectSignalingIfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectSignalingIfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_signaling_iface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 455s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 455s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_signaling_iface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectSignalingIface * 455s # org_project_signaling_iface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_SIGNALING_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectSignalingIface * 455s # org_project_signaling_iface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_SIGNALING_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_signaling_iface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectSignalingIface * 455s # org_project_signaling_iface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_SIGNALING_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectSignalingIface * 455s # org_project_signaling_iface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_SIGNALING_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectSignalingIfaceSkeleton: 455s # * 455s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectSignalingIfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectSignalingIfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_signaling_iface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_signaling_iface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_signaling_iface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 455s # { 455s # _org_project_signaling_iface_skeleton_handle_method_call, 455s # _org_project_signaling_iface_skeleton_handle_get_property, 455s # _org_project_signaling_iface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_signaling_iface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 455s # OrgProjectSignalingIface *object, 455s # gboolean arg_an_b, 455s # guchar arg_an_y, 455s # gint16 arg_an_n, 455s # guint16 arg_an_q, 455s # gint arg_an_i, 455s # guint arg_an_u, 455s # gint64 arg_an_x, 455s # guint64 arg_an_t, 455s # gdouble arg_an_d, 455s # const gchar *arg_an_s, 455s # const gchar *arg_an_o, 455s # const gchar *arg_an_g, 455s # GVariant *arg_an_h, 455s # const gchar *arg_an_ay, 455s # const gchar *const *arg_an_as, 455s # const gchar *const *arg_an_ao, 455s # const gchar *const *arg_an_aay, 455s # GVariant *arg_an_asv) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 455s # arg_an_b, 455s # arg_an_y, 455s # arg_an_n, 455s # arg_an_q, 455s # arg_an_i, 455s # arg_an_u, 455s # arg_an_x, 455s # arg_an_t, 455s # arg_an_d, 455s # arg_an_s, 455s # arg_an_o, 455s # arg_an_g, 455s # arg_an_h, 455s # arg_an_ay, 455s # arg_an_as, 455s # arg_an_ao, 455s # arg_an_aay, 455s # arg_an_asv)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_signaling_iface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 455s # { 455s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectSignalingIface * 455s # org_project_signaling_iface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 455s # } 455s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 455s # tmpdir: /tmp/tmpzs_nvvb3 455s # codegen: /usr/bin/gdbus-codegen 455s # /tmp/tmpzs_nvvb3/tmpmjl4p4f4.xml: 455s # 455s # 455s # 455s # 455s # 455s # 455s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzs_nvvb3/tmpmjl4p4f4.xml', '--output', '-', '--body'] 455s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 455s # Output: /* 455s # * This file is generated by gdbus-codegen, do not modify it. 455s # * 455s # * The license of this code is the same as for the D-Bus interface description 455s # * it was derived from. Note that it links to GLib, so must comply with the 455s # * LGPL linking clauses. 455s # */ 455s # 455s # #ifdef HAVE_CONFIG_H 455s # # include "config.h" 455s # #endif 455s # 455s # #include 455s # #ifdef G_OS_UNIX 455s # # include 455s # #endif 455s # 455s # #ifdef G_ENABLE_DEBUG 455s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 455s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 455s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 455s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 455s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 455s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 455s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 455s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 455s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 455s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 455s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 455s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 455s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 455s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 455s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 455s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 455s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 455s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 455s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 455s # #else /* !G_ENABLE_DEBUG */ 455s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 455s # * Do not access GValues directly in your code. Instead, use the 455s # * g_value_get_*() functions 455s # */ 455s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 455s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 455s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 455s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 455s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 455s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 455s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 455s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 455s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 455s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 455s # #endif /* !G_ENABLE_DEBUG */ 455s # 455s # typedef struct 455s # { 455s # GDBusArgInfo parent_struct; 455s # gboolean use_gvariant; 455s # } _ExtendedGDBusArgInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusMethodInfo parent_struct; 455s # const gchar *signal_name; 455s # gboolean pass_fdlist; 455s # } _ExtendedGDBusMethodInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusSignalInfo parent_struct; 455s # const gchar *signal_name; 455s # } _ExtendedGDBusSignalInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusPropertyInfo parent_struct; 455s # const gchar *hyphen_name; 455s # guint use_gvariant : 1; 455s # guint emits_changed_signal : 1; 455s # } _ExtendedGDBusPropertyInfo; 455s # 455s # typedef struct 455s # { 455s # GDBusInterfaceInfo parent_struct; 455s # const gchar *hyphen_name; 455s # } _ExtendedGDBusInterfaceInfo; 455s # 455s # typedef struct 455s # { 455s # const _ExtendedGDBusPropertyInfo *info; 455s # guint prop_id; 455s # GValue orig_value; /* the value before the change */ 455s # } ChangedProperty; 455s # 455s # static void 455s # _changed_property_free (ChangedProperty *data) 455s # { 455s # g_value_unset (&data->orig_value); 455s # g_free (data); 455s # } 455s # 455s # static gboolean 455s # _g_strv_equal0 (gchar **a, gchar **b) 455s # { 455s # gboolean ret = FALSE; 455s # guint n; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # if (g_strv_length (a) != g_strv_length (b)) 455s # goto out; 455s # for (n = 0; a[n] != NULL; n++) 455s # if (g_strcmp0 (a[n], b[n]) != 0) 455s # goto out; 455s # ret = TRUE; 455s # out: 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _g_variant_equal0 (GVariant *a, GVariant *b) 455s # { 455s # gboolean ret = FALSE; 455s # if (a == NULL && b == NULL) 455s # { 455s # ret = TRUE; 455s # goto out; 455s # } 455s # if (a == NULL || b == NULL) 455s # goto out; 455s # ret = g_variant_equal (a, b); 455s # out: 455s # return ret; 455s # } 455s # 455s # G_GNUC_UNUSED static gboolean 455s # _g_value_equal (const GValue *a, const GValue *b) 455s # { 455s # gboolean ret = FALSE; 455s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 455s # switch (G_VALUE_TYPE (a)) 455s # { 455s # case G_TYPE_BOOLEAN: 455s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 455s # break; 455s # case G_TYPE_UCHAR: 455s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 455s # break; 455s # case G_TYPE_INT: 455s # ret = (g_value_get_int (a) == g_value_get_int (b)); 455s # break; 455s # case G_TYPE_UINT: 455s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 455s # break; 455s # case G_TYPE_INT64: 455s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 455s # break; 455s # case G_TYPE_UINT64: 455s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 455s # break; 455s # case G_TYPE_DOUBLE: 455s # { 455s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 455s # gdouble da = g_value_get_double (a); 455s # gdouble db = g_value_get_double (b); 455s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 455s # } 455s # break; 455s # case G_TYPE_STRING: 455s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 455s # break; 455s # case G_TYPE_VARIANT: 455s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 455s # break; 455s # default: 455s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 455s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 455s # else 455s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 455s # break; 455s # } 455s # return ret; 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_VOID__INT64 ( 455s # GClosure *closure, 455s # GValue *return_value G_GNUC_UNUSED, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 455s # (void *data1, 455s # gint64 arg_an_x, 455s # void *data2); 455s # _GDbusCodegenMarshalVoid_Int64Func callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # callback (data1, 455s # g_marshal_value_peek_int64 (param_values + 1), 455s # data2); 455s # } 455s # 455s # static void 455s # _g_dbus_codegen_marshal_VOID__UINT64 ( 455s # GClosure *closure, 455s # GValue *return_value G_GNUC_UNUSED, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint G_GNUC_UNUSED, 455s # void *marshal_data) 455s # { 455s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 455s # (void *data1, 455s # guint64 arg_an_t, 455s # void *data2); 455s # _GDbusCodegenMarshalVoid_Uint64Func callback; 455s # GCClosure *cc = (GCClosure*) closure; 455s # void *data1, *data2; 455s # 455s # g_return_if_fail (n_param_values == 2); 455s # 455s # if (G_CCLOSURE_SWAP_DATA (closure)) 455s # { 455s # data1 = closure->data; 455s # data2 = g_value_peek_pointer (param_values + 0); 455s # } 455s # else 455s # { 455s # data1 = g_value_peek_pointer (param_values + 0); 455s # data2 = closure->data; 455s # } 455s # 455s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 455s # (marshal_data ? marshal_data : cc->callback); 455s # 455s # callback (data1, 455s # g_marshal_value_peek_uint64 (param_values + 1), 455s # data2); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ 455s # * Code for interface org.project.SignalingIface 455s # * ------------------------------------------------------------------------ 455s # */ 455s # 455s # /** 455s # * SECTION:OrgProjectSignalingIface 455s # * @title: OrgProjectSignalingIface 455s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 455s # * 455s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 455s # */ 455s # 455s # enum 455s # { 455s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 455s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 455s # }; 455s # 455s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 455s # 455s # /* ---- Introspection data for org.project.SignalingIface ---- */ 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 455s # { 455s # { 455s # -1, 455s # (gchar *) "NoArgSignal", 455s # NULL, 455s # NULL 455s # }, 455s # "no-arg-signal" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_b", 455s # (gchar *) "b", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalB", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-b" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_y", 455s # (gchar *) "y", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalY", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-y" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_n", 455s # (gchar *) "n", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalN", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-n" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_q", 455s # (gchar *) "q", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalQ", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-q" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_i", 455s # (gchar *) "i", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalI", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-i" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_u", 455s # (gchar *) "u", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalU", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-u" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_x", 455s # (gchar *) "x", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalX", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-x" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_t", 455s # (gchar *) "t", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalT", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-t" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_d", 455s # (gchar *) "d", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalD", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-d" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_s", 455s # (gchar *) "s", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalS", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-s" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_o", 455s # (gchar *) "o", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalO", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-o" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_g", 455s # (gchar *) "g", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalG", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-g" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_h", 455s # (gchar *) "h", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalH", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-h" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ay", 455s # (gchar *) "ay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalAY", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-ay" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_as", 455s # (gchar *) "as", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalAS", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-as" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_ao", 455s # (gchar *) "ao", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalAO", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-ao" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_aay", 455s # (gchar *) "aay", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalAAY", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-aay" 455s # }; 455s # 455s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 455s # { 455s # { 455s # -1, 455s # (gchar *) "an_asv", 455s # (gchar *) "a{sv}", 455s # NULL 455s # }, 455s # FALSE 455s # }; 455s # 455s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 455s # { 455s # { 455s # -1, 455s # (gchar *) "SingleArgSignalASV", 455s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 455s # NULL 455s # }, 455s # "single-arg-signal-asv" 455s # }; 455s # 455s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 455s # { 455s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 455s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 455s # NULL 455s # }; 455s # 455s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 455s # { 455s # { 455s # -1, 455s # (gchar *) "org.project.SignalingIface", 455s # NULL, 455s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 455s # NULL, 455s # NULL 455s # }, 455s # "org-project-signaling-iface", 455s # }; 455s # 455s # 455s # /** 455s # * org_project_signaling_iface_interface_info: 455s # * 455s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 455s # * 455s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 455s # */ 455s # GDBusInterfaceInfo * 455s # org_project_signaling_iface_interface_info (void) 455s # { 455s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_override_properties: 455s # * @klass: The class structure for a #GObject derived class. 455s # * @property_id_begin: The property id to assign to the first overridden property. 455s # * 455s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 455s # * The properties are overridden in the order they are defined. 455s # * 455s # * Returns: The last property id. 455s # */ 455s # guint 455s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 455s # { 455s # return property_id_begin - 1; 455s # } 455s # 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__VOID (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__BOOLEAN (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__UCHAR (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__INT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__UINT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__INT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__UINT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__DOUBLE (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__STRING (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__STRING (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__STRING (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__VARIANT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__STRING (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__BOXED (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__BOXED (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__BOXED (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # inline static void 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 455s # GClosure *closure, 455s # GValue *return_value, 455s # unsigned int n_param_values, 455s # const GValue *param_values, 455s # void *invocation_hint, 455s # void *marshal_data) 455s # { 455s # g_cclosure_marshal_VOID__VARIANT (closure, 455s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 455s # } 455s # 455s # 455s # /** 455s # * OrgProjectSignalingIface: 455s # * 455s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 455s # */ 455s # 455s # /** 455s # * OrgProjectSignalingIfaceIface: 455s # * @parent_iface: The parent interface. 455s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 455s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 455s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 455s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 455s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 455s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 455s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 455s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 455s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 455s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 455s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 455s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 455s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 455s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 455s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 455s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 455s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 455s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 455s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 455s # * 455s # * Virtual table for the D-Bus interface org.project.SignalingIface. 455s # */ 455s # 455s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 455s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 455s # 455s # static void 455s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 455s # { 455s # /* GObject signals for received D-Bus signals: */ 455s # /** 455s # * OrgProjectSignalingIface::no-arg-signal: 455s # * @object: A #OrgProjectSignalingIface. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 455s # g_signal_new ("no-arg-signal", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_no_arg_signal, 455s # G_TYPE_NONE, 455s # 0); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-b: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_b: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 455s # g_signal_new ("single-arg-signal-b", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_BOOLEAN); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-y: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_y: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 455s # g_signal_new ("single-arg-signal-y", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_UCHAR); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-n: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_n: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 455s # g_signal_new ("single-arg-signal-n", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_INT); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-q: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_q: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 455s # g_signal_new ("single-arg-signal-q", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_UINT); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-i: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_i: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 455s # g_signal_new ("single-arg-signal-i", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_INT); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-u: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_u: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 455s # g_signal_new ("single-arg-signal-u", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_UINT); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-x: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_x: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 455s # g_signal_new ("single-arg-signal-x", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_INT64); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-t: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_t: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 455s # g_signal_new ("single-arg-signal-t", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_UINT64); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-d: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_d: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 455s # g_signal_new ("single-arg-signal-d", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_DOUBLE); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-s: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_s: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 455s # g_signal_new ("single-arg-signal-s", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_STRING); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-o: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_o: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 455s # g_signal_new ("single-arg-signal-o", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_STRING); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-g: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_g: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 455s # g_signal_new ("single-arg-signal-g", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_STRING); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-h: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_h: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 455s # g_signal_new ("single-arg-signal-h", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_VARIANT); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-ay: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_ay: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 455s # g_signal_new ("single-arg-signal-ay", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_STRING); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-as: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_as: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 455s # g_signal_new ("single-arg-signal-as", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_STRV); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-ao: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_ao: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 455s # g_signal_new ("single-arg-signal-ao", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_STRV); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-aay: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_aay: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 455s # g_signal_new ("single-arg-signal-aay", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_STRV); 455s # 455s # /** 455s # * OrgProjectSignalingIface::single-arg-signal-asv: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_asv: Argument. 455s # * 455s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 455s # * 455s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 455s # */ 455s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 455s # g_signal_new ("single-arg-signal-asv", 455s # G_TYPE_FROM_INTERFACE (iface), 455s # G_SIGNAL_RUN_LAST, 455s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 455s # NULL, 455s # NULL, 455s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 455s # G_TYPE_NONE, 455s # 1, G_TYPE_VARIANT); 455s # 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_no_arg_signal: 455s # * @object: A #OrgProjectSignalingIface. 455s # * 455s # * Emits the "NoArgSignal" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_no_arg_signal ( 455s # OrgProjectSignalingIface *object) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_b: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_b: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalB" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_b ( 455s # OrgProjectSignalingIface *object, 455s # gboolean arg_an_b) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_y: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_y: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalY" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_y ( 455s # OrgProjectSignalingIface *object, 455s # guchar arg_an_y) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_n: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_n: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalN" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_n ( 455s # OrgProjectSignalingIface *object, 455s # gint16 arg_an_n) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_q: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_q: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalQ" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_q ( 455s # OrgProjectSignalingIface *object, 455s # guint16 arg_an_q) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_i: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_i: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalI" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_i ( 455s # OrgProjectSignalingIface *object, 455s # gint arg_an_i) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_u: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_u: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalU" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_u ( 455s # OrgProjectSignalingIface *object, 455s # guint arg_an_u) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_x: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_x: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalX" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_x ( 455s # OrgProjectSignalingIface *object, 455s # gint64 arg_an_x) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_t: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_t: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalT" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_t ( 455s # OrgProjectSignalingIface *object, 455s # guint64 arg_an_t) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_d: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_d: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalD" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_d ( 455s # OrgProjectSignalingIface *object, 455s # gdouble arg_an_d) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_s: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_s: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalS" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_s ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *arg_an_s) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_o: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_o: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalO" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_o ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *arg_an_o) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_g: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_g: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalG" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_g ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *arg_an_g) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_h: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_h: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalH" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_h ( 455s # OrgProjectSignalingIface *object, 455s # GVariant *arg_an_h) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_ay: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_ay: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalAY" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_ay ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *arg_an_ay) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_as: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_as: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalAS" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_as ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *const *arg_an_as) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_ao: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_ao: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalAO" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_ao ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *const *arg_an_ao) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_aay: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_aay: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalAAY" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_aay ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *const *arg_an_aay) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_emit_single_arg_signal_asv: 455s # * @object: A #OrgProjectSignalingIface. 455s # * @arg_an_asv: Argument to pass with the signal. 455s # * 455s # * Emits the "SingleArgSignalASV" D-Bus signal. 455s # */ 455s # void 455s # org_project_signaling_iface_emit_single_arg_signal_asv ( 455s # OrgProjectSignalingIface *object, 455s # GVariant *arg_an_asv) 455s # { 455s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 455s # } 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectSignalingIfaceProxy: 455s # * 455s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectSignalingIfaceProxyClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectSignalingIfaceProxy. 455s # */ 455s # 455s # struct _OrgProjectSignalingIfaceProxyPrivate 455s # { 455s # GData *qdata; 455s # }; 455s # 455s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 455s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_signaling_iface_proxy_finalize (GObject *object) 455s # { 455s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 455s # g_datalist_clear (&proxy->priv->qdata); 455s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 455s # guint prop_id G_GNUC_UNUSED, 455s # const GValue *value G_GNUC_UNUSED, 455s # GParamSpec *pspec G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 455s # const gchar *sender_name G_GNUC_UNUSED, 455s # const gchar *signal_name, 455s # GVariant *parameters) 455s # { 455s # _ExtendedGDBusSignalInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # gsize n; 455s # guint signal_id; 455s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 455s # if (info == NULL) 455s # return; 455s # num_params = g_variant_n_children (parameters); 455s # paramv = g_new0 (GValue, num_params + 1); 455s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 455s # g_value_set_object (¶mv[0], proxy); 455s # g_variant_iter_init (&iter, parameters); 455s # n = 1; 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 455s # g_signal_emitv (paramv, signal_id, 0, NULL); 455s # for (n = 0; n < num_params + 1; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 455s # GVariant *changed_properties, 455s # const gchar *const *invalidated_properties) 455s # { 455s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 455s # guint n; 455s # const gchar *key; 455s # GVariantIter *iter; 455s # _ExtendedGDBusPropertyInfo *info; 455s # g_variant_get (changed_properties, "a{sv}", &iter); 455s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 455s # g_datalist_remove_data (&proxy->priv->qdata, key); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # g_variant_iter_free (iter); 455s # for (n = 0; invalidated_properties[n] != NULL; n++) 455s # { 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 455s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 455s # if (info != NULL) 455s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 455s # } 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 455s # #else 455s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 455s # #endif 455s # 455s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusProxyClass *proxy_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 455s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 455s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 455s # 455s # proxy_class = G_DBUS_PROXY_CLASS (klass); 455s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 455s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 455s # * 455s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_signaling_iface_proxy_new ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectSignalingIface * 455s # org_project_signaling_iface_proxy_new_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_SIGNALING_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new_sync: 455s # * @connection: A #GDBusConnection. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectSignalingIface * 455s # org_project_signaling_iface_proxy_new_sync ( 455s # GDBusConnection *connection, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_SIGNALING_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new_for_bus: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 455s # * @user_data: User data to pass to @callback. 455s # * 455s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 455s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 455s # * 455s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 455s # */ 455s # void 455s # org_project_signaling_iface_proxy_new_for_bus ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GAsyncReadyCallback callback, 455s # gpointer user_data) 455s # { 455s # 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); 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new_for_bus_finish: 455s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 455s # * @error: Return location for error or %NULL 455s # * 455s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 455s # * 455s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectSignalingIface * 455s # org_project_signaling_iface_proxy_new_for_bus_finish ( 455s # GAsyncResult *res, 455s # GError **error) 455s # { 455s # GObject *ret; 455s # GObject *source_object; 455s # source_object = g_async_result_get_source_object (res); 455s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 455s # g_object_unref (source_object); 455s # if (ret != NULL) 455s # return ORG_PROJECT_SIGNALING_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_proxy_new_for_bus_sync: 455s # * @bus_type: A #GBusType. 455s # * @flags: Flags from the #GDBusProxyFlags enumeration. 455s # * @name: A bus name (well-known or unique). 455s # * @object_path: An object path. 455s # * @cancellable: (nullable): A #GCancellable or %NULL. 455s # * @error: Return location for error or %NULL 455s # * 455s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 455s # * 455s # * The calling thread is blocked until a reply is received. 455s # * 455s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 455s # * 455s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 455s # */ 455s # OrgProjectSignalingIface * 455s # org_project_signaling_iface_proxy_new_for_bus_sync ( 455s # GBusType bus_type, 455s # GDBusProxyFlags flags, 455s # const gchar *name, 455s # const gchar *object_path, 455s # GCancellable *cancellable, 455s # GError **error) 455s # { 455s # GInitable *ret; 455s # 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); 455s # if (ret != NULL) 455s # return ORG_PROJECT_SIGNALING_IFACE (ret); 455s # else 455s # return NULL; 455s # } 455s # 455s # 455s # /* ------------------------------------------------------------------------ */ 455s # 455s # /** 455s # * OrgProjectSignalingIfaceSkeleton: 455s # * 455s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 455s # */ 455s # 455s # /** 455s # * OrgProjectSignalingIfaceSkeletonClass: 455s # * @parent_class: The parent class. 455s # * 455s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 455s # */ 455s # 455s # struct _OrgProjectSignalingIfaceSkeletonPrivate 455s # { 455s # GValue *properties; 455s # GList *changed_properties; 455s # GSource *changed_properties_idle_source; 455s # GMainContext *context; 455s # GMutex lock; 455s # }; 455s # 455s # static void 455s # _org_project_signaling_iface_skeleton_handle_method_call ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name, 455s # const gchar *method_name, 455s # GVariant *parameters, 455s # GDBusMethodInvocation *invocation, 455s # gpointer user_data) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 455s # _ExtendedGDBusMethodInfo *info; 455s # GVariantIter iter; 455s # GVariant *child; 455s # GValue *paramv; 455s # gsize num_params; 455s # guint num_extra; 455s # gsize n; 455s # guint signal_id; 455s # GValue return_value = G_VALUE_INIT; 455s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 455s # g_assert (info != NULL); 455s # num_params = g_variant_n_children (parameters); 455s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 455s # n = 0; 455s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 455s # g_value_set_object (¶mv[n++], skeleton); 455s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 455s # g_value_set_object (¶mv[n++], invocation); 455s # if (info->pass_fdlist) 455s # { 455s # #ifdef G_OS_UNIX 455s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 455s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 455s # #else 455s # g_assert_not_reached (); 455s # #endif 455s # } 455s # g_variant_iter_init (&iter, parameters); 455s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 455s # { 455s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 455s # if (arg_info->use_gvariant) 455s # { 455s # g_value_init (¶mv[n], G_TYPE_VARIANT); 455s # g_value_set_variant (¶mv[n], child); 455s # n++; 455s # } 455s # else 455s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 455s # g_variant_unref (child); 455s # } 455s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 455s # g_value_init (&return_value, G_TYPE_BOOLEAN); 455s # g_signal_emitv (paramv, signal_id, 0, &return_value); 455s # if (!g_value_get_boolean (&return_value)) 455s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 455s # g_value_unset (&return_value); 455s # for (n = 0; n < num_params + num_extra; n++) 455s # g_value_unset (¶mv[n]); 455s # g_free (paramv); 455s # } 455s # 455s # static GVariant * 455s # _org_project_signaling_iface_skeleton_handle_get_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # GVariant *ret; 455s # ret = NULL; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # g_value_init (&value, pspec->value_type); 455s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 455s # g_value_unset (&value); 455s # } 455s # return ret; 455s # } 455s # 455s # static gboolean 455s # _org_project_signaling_iface_skeleton_handle_set_property ( 455s # GDBusConnection *connection G_GNUC_UNUSED, 455s # const gchar *sender G_GNUC_UNUSED, 455s # const gchar *object_path G_GNUC_UNUSED, 455s # const gchar *interface_name G_GNUC_UNUSED, 455s # const gchar *property_name, 455s # GVariant *variant, 455s # GError **error, 455s # gpointer user_data) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 455s # GValue value = G_VALUE_INIT; 455s # GParamSpec *pspec; 455s # _ExtendedGDBusPropertyInfo *info; 455s # gboolean ret; 455s # ret = FALSE; 455s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 455s # g_assert (info != NULL); 455s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 455s # if (pspec == NULL) 455s # { 455s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 455s # } 455s # else 455s # { 455s # if (info->use_gvariant) 455s # g_value_set_variant (&value, variant); 455s # else 455s # g_dbus_gvariant_to_gvalue (variant, &value); 455s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 455s # g_value_unset (&value); 455s # ret = TRUE; 455s # } 455s # return ret; 455s # } 455s # 455s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 455s # { 455s # _org_project_signaling_iface_skeleton_handle_method_call, 455s # _org_project_signaling_iface_skeleton_handle_get_property, 455s # _org_project_signaling_iface_skeleton_handle_set_property, 455s # {NULL} 455s # }; 455s # 455s # static GDBusInterfaceInfo * 455s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return org_project_signaling_iface_interface_info (); 455s # } 455s # 455s # static GDBusInterfaceVTable * 455s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 455s # { 455s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 455s # } 455s # 455s # static GVariant * 455s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 455s # 455s # GVariantBuilder builder; 455s # guint n; 455s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 455s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 455s # goto out; 455s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 455s # { 455s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 455s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 455s # { 455s # GVariant *value; 455s # 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); 455s # if (value != NULL) 455s # { 455s # g_variant_take_ref (value); 455s # g_variant_builder_add (&builder, "{sv}", info->name, value); 455s # g_variant_unref (value); 455s # } 455s # } 455s # } 455s # out: 455s # return g_variant_builder_end (&builder); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 455s # { 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_no_arg_signal ( 455s # OrgProjectSignalingIface *object) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 455s # OrgProjectSignalingIface *object, 455s # gboolean arg_an_b) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 455s # arg_an_b)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 455s # OrgProjectSignalingIface *object, 455s # guchar arg_an_y) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 455s # arg_an_y)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 455s # OrgProjectSignalingIface *object, 455s # gint16 arg_an_n) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 455s # arg_an_n)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 455s # OrgProjectSignalingIface *object, 455s # guint16 arg_an_q) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 455s # arg_an_q)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 455s # OrgProjectSignalingIface *object, 455s # gint arg_an_i) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 455s # arg_an_i)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 455s # OrgProjectSignalingIface *object, 455s # guint arg_an_u) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 455s # arg_an_u)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 455s # OrgProjectSignalingIface *object, 455s # gint64 arg_an_x) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 455s # arg_an_x)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 455s # OrgProjectSignalingIface *object, 455s # guint64 arg_an_t) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 455s # arg_an_t)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 455s # OrgProjectSignalingIface *object, 455s # gdouble arg_an_d) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 455s # arg_an_d)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *arg_an_s) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 455s # arg_an_s)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *arg_an_o) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 455s # arg_an_o)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *arg_an_g) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 455s # arg_an_g)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 455s # OrgProjectSignalingIface *object, 455s # GVariant *arg_an_h) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 455s # arg_an_h)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *arg_an_ay) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 455s # arg_an_ay)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *const *arg_an_as) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 455s # arg_an_as)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *const *arg_an_ao) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 455s # arg_an_ao)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 455s # OrgProjectSignalingIface *object, 455s # const gchar *const *arg_an_aay) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 455s # arg_an_aay)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void 455s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 455s # OrgProjectSignalingIface *object, 455s # GVariant *arg_an_asv) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # 455s # GList *connections, *l; 455s # GVariant *signal_variant; 455s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 455s # 455s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 455s # arg_an_asv)); 455s # for (l = connections; l != NULL; l = l->next) 455s # { 455s # GDBusConnection *connection = l->data; 455s # g_dbus_connection_emit_signal (connection, 455s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 455s # signal_variant, NULL); 455s # } 455s # g_variant_unref (signal_variant); 455s # g_list_free_full (connections, g_object_unref); 455s # } 455s # 455s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 455s # 455s # #else 455s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 455s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 455s # 455s # #endif 455s # static void 455s # org_project_signaling_iface_skeleton_finalize (GObject *object) 455s # { 455s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 455s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 455s # if (skeleton->priv->changed_properties_idle_source != NULL) 455s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 455s # g_main_context_unref (skeleton->priv->context); 455s # g_mutex_clear (&skeleton->priv->lock); 455s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 455s # { 455s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 455s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 455s # #else 455s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 455s # #endif 455s # 455s # g_mutex_init (&skeleton->priv->lock); 455s # skeleton->priv->context = g_main_context_ref_thread_default (); 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 455s # { 455s # GObjectClass *gobject_class; 455s # GDBusInterfaceSkeletonClass *skeleton_class; 455s # 455s # gobject_class = G_OBJECT_CLASS (klass); 455s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 455s # 455s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 455s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 455s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 455s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 455s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 455s # 455s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 455s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 455s # #endif 455s # } 455s # 455s # static void 455s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 455s # { 455s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 455s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 455s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 455s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 455s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 455s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 455s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 455s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 455s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 455s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 455s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 455s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 455s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 455s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 455s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 455s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 455s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 455s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 455s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 455s # } 455s # 455s # /** 455s # * org_project_signaling_iface_skeleton_new: 455s # * 455s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 455s # * 455s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 455s # */ 455s # OrgProjectSignalingIface * 455s # org_project_signaling_iface_skeleton_new (void) 455s # { 455s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 455s # } 455s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 456s # tmpdir: /tmp/tmpvvsep6fh 456s # codegen: /usr/bin/gdbus-codegen 456s # /tmp/tmpvvsep6fh/tmp_o0rh3wf.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvvsep6fh/tmp_o0rh3wf.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.UsefulInterface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectUsefulInterface 456s # * @title: OrgProjectUsefulInterface 456s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 456s # { 456s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.UsefulInterface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-useful-interface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_useful_interface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_useful_interface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_useful_interface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_useful_interface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectUsefulInterface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 456s # */ 456s # 456s # /** 456s # * OrgProjectUsefulInterfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 456s # */ 456s # 456s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectUsefulInterface::simple-signal: 456s # * @object: A #OrgProjectUsefulInterface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_useful_interface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # } 456s # 456s # /** 456s # * org_project_useful_interface_emit_simple_signal: 456s # * @object: A #OrgProjectUsefulInterface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_useful_interface_emit_simple_signal ( 456s # OrgProjectUsefulInterface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectUsefulInterfaceProxy: 456s # * 456s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectUsefulInterfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectUsefulInterfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectUsefulInterfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_useful_interface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 456s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 456s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_useful_interface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_useful_interface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # g_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); 456s # } 456s # 456s # /** 456s # * org_project_useful_interface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectUsefulInterface * 456s # org_project_useful_interface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_useful_interface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectUsefulInterface * 456s # org_project_useful_interface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_useful_interface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_useful_interface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # g_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); 456s # } 456s # 456s # /** 456s # * org_project_useful_interface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectUsefulInterface * 456s # org_project_useful_interface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_useful_interface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectUsefulInterface * 456s # org_project_useful_interface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectUsefulInterfaceSkeleton: 456s # * 456s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectUsefulInterfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_useful_interface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_useful_interface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_useful_interface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 456s # { 456s # _org_project_useful_interface_skeleton_handle_method_call, 456s # _org_project_useful_interface_skeleton_handle_get_property, 456s # _org_project_useful_interface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_useful_interface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_useful_interface_on_signal_simple_signal ( 456s # OrgProjectUsefulInterface *object) 456s # { 456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_useful_interface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 456s # } 456s # 456s # /** 456s # * org_project_useful_interface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectUsefulInterface * 456s # org_project_useful_interface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.OtherIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectOtherIface 456s # * @title: OrgProjectOtherIface 456s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.OtherIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.OtherIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-other-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_other_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_other_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_other_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_other_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectOtherIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectOtherIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.OtherIface. 456s # */ 456s # 456s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectOtherIface::simple-signal: 456s # * @object: A #OrgProjectOtherIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_other_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # } 456s # 456s # /** 456s # * org_project_other_iface_emit_simple_signal: 456s # * @object: A #OrgProjectOtherIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_other_iface_emit_simple_signal ( 456s # OrgProjectOtherIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectOtherIfaceProxy: 456s # * 456s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectOtherIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectOtherIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectOtherIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_other_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_other_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_other_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_other_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_other_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectOtherIface * 456s # org_project_other_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_OTHER_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_other_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectOtherIface * 456s # org_project_other_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_OTHER_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_other_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_other_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_other_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectOtherIface * 456s # org_project_other_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_OTHER_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_other_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectOtherIface * 456s # org_project_other_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_OTHER_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectOtherIfaceSkeleton: 456s # * 456s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectOtherIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectOtherIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectOtherIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_other_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_other_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_other_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 456s # { 456s # _org_project_other_iface_skeleton_handle_method_call, 456s # _org_project_other_iface_skeleton_handle_get_property, 456s # _org_project_other_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_other_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_other_iface_on_signal_simple_signal ( 456s # OrgProjectOtherIface *object) 456s # { 456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_other_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 456s # } 456s # 456s # /** 456s # * org_project_other_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectOtherIface * 456s # org_project_other_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 456s # } 456s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 456s # tmpdir: /tmp/tmpspta60su 456s # codegen: /usr/bin/gdbus-codegen 456s # /tmp/tmpspta60su/tmpgehq9mn8.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpspta60su/tmpgehq9mn8.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.OtherSignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectOtherSignalingIface 456s # * @title: OrgProjectOtherSignalingIface 456s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.OtherSignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-other-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_other_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_other_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_other_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectOtherSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectOtherSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 456s # */ 456s # 456s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectOtherSignalingIface::simple-signal: 456s # * @object: A #OrgProjectOtherSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_other_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # } 456s # 456s # /** 456s # * org_project_other_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectOtherSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_other_signaling_iface_emit_simple_signal ( 456s # OrgProjectOtherSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectOtherSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectOtherSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_other_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_other_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_other_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectOtherSignalingIface * 456s # org_project_other_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_other_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectOtherSignalingIface * 456s # org_project_other_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_other_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_other_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectOtherSignalingIface * 456s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectOtherSignalingIface * 456s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectOtherSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectOtherSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_other_signaling_iface_skeleton_handle_method_call, 456s # _org_project_other_signaling_iface_skeleton_handle_get_property, 456s # _org_project_other_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_other_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_other_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectOtherSignalingIface *object) 456s # { 456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 456s # } 456s # 456s # /** 456s # * org_project_other_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectOtherSignalingIface * 456s # org_project_other_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 456s # tmpdir: /tmp/tmpixaejxpu 456s # codegen: /usr/bin/gdbus-codegen 456s # /tmp/tmpixaejxpu/tmpsh3pxjvb.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpsh3pxjvb.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_b", 456s # (gchar *) "b", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalB", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-b" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__BOOLEAN (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-b: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_b: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 456s # g_signal_new ("single-arg-signal-b", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_BOOLEAN); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_b: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_b: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalB" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_b ( 456s # OrgProjectSignalingIface *object, 456s # gboolean arg_arg_b) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 456s # OrgProjectSignalingIface *object, 456s # gboolean arg_arg_b) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 456s # arg_arg_b)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmp409gjnm5.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmp409gjnm5.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_y", 456s # (gchar *) "y", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalY", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-y" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__UCHAR (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-y: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_y: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 456s # g_signal_new ("single-arg-signal-y", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_UCHAR); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_y: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_y: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalY" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_y ( 456s # OrgProjectSignalingIface *object, 456s # guchar arg_arg_y) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 456s # OrgProjectSignalingIface *object, 456s # guchar arg_arg_y) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 456s # arg_arg_y)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmpqwnt5nww.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpqwnt5nww.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_n", 456s # (gchar *) "n", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalN", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-n" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__INT (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-n: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_n: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 456s # g_signal_new ("single-arg-signal-n", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_INT); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_n: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_n: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalN" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_n ( 456s # OrgProjectSignalingIface *object, 456s # gint16 arg_arg_n) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 456s # OrgProjectSignalingIface *object, 456s # gint16 arg_arg_n) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 456s # arg_arg_n)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmptjmkdf_5.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmptjmkdf_5.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_q", 456s # (gchar *) "q", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalQ", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-q" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__UINT (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-q: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_q: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 456s # g_signal_new ("single-arg-signal-q", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_UINT); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_q: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_q: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalQ" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_q ( 456s # OrgProjectSignalingIface *object, 456s # guint16 arg_arg_q) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 456s # OrgProjectSignalingIface *object, 456s # guint16 arg_arg_q) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 456s # arg_arg_q)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmp_h4wg38c.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmp_h4wg38c.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_i", 456s # (gchar *) "i", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalI", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-i" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__INT (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-i: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_i: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 456s # g_signal_new ("single-arg-signal-i", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_INT); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_i: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_i: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalI" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_i ( 456s # OrgProjectSignalingIface *object, 456s # gint arg_arg_i) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 456s # OrgProjectSignalingIface *object, 456s # gint arg_arg_i) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 456s # arg_arg_i)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmpesowwu_d.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpesowwu_d.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_u", 456s # (gchar *) "u", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalU", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-u" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__UINT (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-u: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_u: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 456s # g_signal_new ("single-arg-signal-u", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_UINT); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_u: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_u: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalU" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_u ( 456s # OrgProjectSignalingIface *object, 456s # guint arg_arg_u) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 456s # OrgProjectSignalingIface *object, 456s # guint arg_arg_u) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 456s # arg_arg_u)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmpe608akud.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpe608akud.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # static void 456s # _g_dbus_codegen_marshal_VOID__INT64 ( 456s # GClosure *closure, 456s # GValue *return_value G_GNUC_UNUSED, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint G_GNUC_UNUSED, 456s # void *marshal_data) 456s # { 456s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 456s # (void *data1, 456s # gint64 arg_arg_x, 456s # void *data2); 456s # _GDbusCodegenMarshalVoid_Int64Func callback; 456s # GCClosure *cc = (GCClosure*) closure; 456s # void *data1, *data2; 456s # 456s # g_return_if_fail (n_param_values == 2); 456s # 456s # if (G_CCLOSURE_SWAP_DATA (closure)) 456s # { 456s # data1 = closure->data; 456s # data2 = g_value_peek_pointer (param_values + 0); 456s # } 456s # else 456s # { 456s # data1 = g_value_peek_pointer (param_values + 0); 456s # data2 = closure->data; 456s # } 456s # 456s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 456s # (marshal_data ? marshal_data : cc->callback); 456s # 456s # callback (data1, 456s # g_marshal_value_peek_int64 (param_values + 1), 456s # data2); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_x", 456s # (gchar *) "x", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalX", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-x" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-x: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_x: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 456s # g_signal_new ("single-arg-signal-x", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_INT64); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_x: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_x: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalX" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_x ( 456s # OrgProjectSignalingIface *object, 456s # gint64 arg_arg_x) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 456s # OrgProjectSignalingIface *object, 456s # gint64 arg_arg_x) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 456s # arg_arg_x)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmpui62d6tz.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpui62d6tz.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # static void 456s # _g_dbus_codegen_marshal_VOID__UINT64 ( 456s # GClosure *closure, 456s # GValue *return_value G_GNUC_UNUSED, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint G_GNUC_UNUSED, 456s # void *marshal_data) 456s # { 456s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 456s # (void *data1, 456s # guint64 arg_arg_t, 456s # void *data2); 456s # _GDbusCodegenMarshalVoid_Uint64Func callback; 456s # GCClosure *cc = (GCClosure*) closure; 456s # void *data1, *data2; 456s # 456s # g_return_if_fail (n_param_values == 2); 456s # 456s # if (G_CCLOSURE_SWAP_DATA (closure)) 456s # { 456s # data1 = closure->data; 456s # data2 = g_value_peek_pointer (param_values + 0); 456s # } 456s # else 456s # { 456s # data1 = g_value_peek_pointer (param_values + 0); 456s # data2 = closure->data; 456s # } 456s # 456s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 456s # (marshal_data ? marshal_data : cc->callback); 456s # 456s # callback (data1, 456s # g_marshal_value_peek_uint64 (param_values + 1), 456s # data2); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_t", 456s # (gchar *) "t", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalT", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-t" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-t: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_t: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 456s # g_signal_new ("single-arg-signal-t", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_UINT64); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_t: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_t: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalT" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_t ( 456s # OrgProjectSignalingIface *object, 456s # guint64 arg_arg_t) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 456s # OrgProjectSignalingIface *object, 456s # guint64 arg_arg_t) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 456s # arg_arg_t)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmpryhut_zm.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpryhut_zm.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_d", 456s # (gchar *) "d", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalD", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-d" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__DOUBLE (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-d: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_d: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 456s # g_signal_new ("single-arg-signal-d", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_DOUBLE); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_d: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_d: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalD" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_d ( 456s # OrgProjectSignalingIface *object, 456s # gdouble arg_arg_d) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 456s # OrgProjectSignalingIface *object, 456s # gdouble arg_arg_d) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 456s # arg_arg_d)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmpu2p4i5yp.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpu2p4i5yp.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_s", 456s # (gchar *) "s", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalS", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-s" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__STRING (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-s: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_s: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 456s # g_signal_new ("single-arg-signal-s", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_STRING); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_s: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_s: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalS" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_s ( 456s # OrgProjectSignalingIface *object, 456s # const gchar *arg_arg_s) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 456s # OrgProjectSignalingIface *object, 456s # const gchar *arg_arg_s) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 456s # arg_arg_s)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmpu9hc3c9w.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpu9hc3c9w.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_o", 456s # (gchar *) "o", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalO", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-o" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__STRING (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-o: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_o: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 456s # g_signal_new ("single-arg-signal-o", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_STRING); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_o: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_o: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalO" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_o ( 456s # OrgProjectSignalingIface *object, 456s # const gchar *arg_arg_o) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 456s # OrgProjectSignalingIface *object, 456s # const gchar *arg_arg_o) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 456s # arg_arg_o)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmpje5eec2q.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpje5eec2q.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_g", 456s # (gchar *) "g", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalG", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-g" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__STRING (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-g: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_g: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 456s # g_signal_new ("single-arg-signal-g", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_STRING); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_g: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_g: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalG" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_g ( 456s # OrgProjectSignalingIface *object, 456s # const gchar *arg_arg_g) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 456s # { 456s # GData *qdata; 456s # }; 456s # 456s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_proxy_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 456s # g_datalist_clear (&proxy->priv->qdata); 456s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 456s # guint prop_id G_GNUC_UNUSED, 456s # const GValue *value G_GNUC_UNUSED, 456s # GParamSpec *pspec G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 456s # const gchar *sender_name G_GNUC_UNUSED, 456s # const gchar *signal_name, 456s # GVariant *parameters) 456s # { 456s # _ExtendedGDBusSignalInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # gsize n; 456s # guint signal_id; 456s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 456s # if (info == NULL) 456s # return; 456s # num_params = g_variant_n_children (parameters); 456s # paramv = g_new0 (GValue, num_params + 1); 456s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[0], proxy); 456s # g_variant_iter_init (&iter, parameters); 456s # n = 1; 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_signal_emitv (paramv, signal_id, 0, NULL); 456s # for (n = 0; n < num_params + 1; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 456s # GVariant *changed_properties, 456s # const gchar *const *invalidated_properties) 456s # { 456s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 456s # guint n; 456s # const gchar *key; 456s # GVariantIter *iter; 456s # _ExtendedGDBusPropertyInfo *info; 456s # g_variant_get (changed_properties, "a{sv}", &iter); 456s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 456s # g_datalist_remove_data (&proxy->priv->qdata, key); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # g_variant_iter_free (iter); 456s # for (n = 0; invalidated_properties[n] != NULL; n++) 456s # { 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 456s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 456s # if (info != NULL) 456s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 456s # } 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 456s # #else 456s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 456s # #endif 456s # 456s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusProxyClass *proxy_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 456s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 456s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 456s # 456s # proxy_class = G_DBUS_PROXY_CLASS (klass); 456s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 456s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_sync: 456s # * @connection: A #GDBusConnection. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_sync ( 456s # GDBusConnection *connection, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 456s # * @user_data: User data to pass to @callback. 456s # * 456s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 456s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 456s # */ 456s # void 456s # org_project_signaling_iface_proxy_new_for_bus ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GAsyncReadyCallback callback, 456s # gpointer user_data) 456s # { 456s # 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); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_finish: 456s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 456s # * @error: Return location for error or %NULL 456s # * 456s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_finish ( 456s # GAsyncResult *res, 456s # GError **error) 456s # { 456s # GObject *ret; 456s # GObject *source_object; 456s # source_object = g_async_result_get_source_object (res); 456s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 456s # g_object_unref (source_object); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_proxy_new_for_bus_sync: 456s # * @bus_type: A #GBusType. 456s # * @flags: Flags from the #GDBusProxyFlags enumeration. 456s # * @name: A bus name (well-known or unique). 456s # * @object_path: An object path. 456s # * @cancellable: (nullable): A #GCancellable or %NULL. 456s # * @error: Return location for error or %NULL 456s # * 456s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 456s # * 456s # * The calling thread is blocked until a reply is received. 456s # * 456s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_proxy_new_for_bus_sync ( 456s # GBusType bus_type, 456s # GDBusProxyFlags flags, 456s # const gchar *name, 456s # const gchar *object_path, 456s # GCancellable *cancellable, 456s # GError **error) 456s # { 456s # GInitable *ret; 456s # 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); 456s # if (ret != NULL) 456s # return ORG_PROJECT_SIGNALING_IFACE (ret); 456s # else 456s # return NULL; 456s # } 456s # 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeleton: 456s # * 456s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceSkeletonClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceSkeletonPrivate 456s # { 456s # GValue *properties; 456s # GList *changed_properties; 456s # GSource *changed_properties_idle_source; 456s # GMainContext *context; 456s # GMutex lock; 456s # }; 456s # 456s # static void 456s # _org_project_signaling_iface_skeleton_handle_method_call ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name, 456s # const gchar *method_name, 456s # GVariant *parameters, 456s # GDBusMethodInvocation *invocation, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # _ExtendedGDBusMethodInfo *info; 456s # GVariantIter iter; 456s # GVariant *child; 456s # GValue *paramv; 456s # gsize num_params; 456s # guint num_extra; 456s # gsize n; 456s # guint signal_id; 456s # GValue return_value = G_VALUE_INIT; 456s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 456s # g_assert (info != NULL); 456s # num_params = g_variant_n_children (parameters); 456s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 456s # n = 0; 456s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_set_object (¶mv[n++], skeleton); 456s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 456s # g_value_set_object (¶mv[n++], invocation); 456s # if (info->pass_fdlist) 456s # { 456s # #ifdef G_OS_UNIX 456s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 456s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 456s # #else 456s # g_assert_not_reached (); 456s # #endif 456s # } 456s # g_variant_iter_init (&iter, parameters); 456s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 456s # { 456s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 456s # if (arg_info->use_gvariant) 456s # { 456s # g_value_init (¶mv[n], G_TYPE_VARIANT); 456s # g_value_set_variant (¶mv[n], child); 456s # n++; 456s # } 456s # else 456s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 456s # g_variant_unref (child); 456s # } 456s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 456s # g_value_init (&return_value, G_TYPE_BOOLEAN); 456s # g_signal_emitv (paramv, signal_id, 0, &return_value); 456s # if (!g_value_get_boolean (&return_value)) 456s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 456s # g_value_unset (&return_value); 456s # for (n = 0; n < num_params + num_extra; n++) 456s # g_value_unset (¶mv[n]); 456s # g_free (paramv); 456s # } 456s # 456s # static GVariant * 456s # _org_project_signaling_iface_skeleton_handle_get_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # GVariant *ret; 456s # ret = NULL; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # g_value_init (&value, pspec->value_type); 456s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 456s # g_value_unset (&value); 456s # } 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _org_project_signaling_iface_skeleton_handle_set_property ( 456s # GDBusConnection *connection G_GNUC_UNUSED, 456s # const gchar *sender G_GNUC_UNUSED, 456s # const gchar *object_path G_GNUC_UNUSED, 456s # const gchar *interface_name G_GNUC_UNUSED, 456s # const gchar *property_name, 456s # GVariant *variant, 456s # GError **error, 456s # gpointer user_data) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 456s # GValue value = G_VALUE_INIT; 456s # GParamSpec *pspec; 456s # _ExtendedGDBusPropertyInfo *info; 456s # gboolean ret; 456s # ret = FALSE; 456s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 456s # g_assert (info != NULL); 456s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 456s # if (pspec == NULL) 456s # { 456s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 456s # } 456s # else 456s # { 456s # if (info->use_gvariant) 456s # g_value_set_variant (&value, variant); 456s # else 456s # g_dbus_gvariant_to_gvalue (variant, &value); 456s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 456s # g_value_unset (&value); 456s # ret = TRUE; 456s # } 456s # return ret; 456s # } 456s # 456s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 456s # { 456s # _org_project_signaling_iface_skeleton_handle_method_call, 456s # _org_project_signaling_iface_skeleton_handle_get_property, 456s # _org_project_signaling_iface_skeleton_handle_set_property, 456s # {NULL} 456s # }; 456s # 456s # static GDBusInterfaceInfo * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return org_project_signaling_iface_interface_info (); 456s # } 456s # 456s # static GDBusInterfaceVTable * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 456s # { 456s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 456s # } 456s # 456s # static GVariant * 456s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 456s # 456s # GVariantBuilder builder; 456s # guint n; 456s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 456s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 456s # goto out; 456s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 456s # { 456s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 456s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 456s # { 456s # GVariant *value; 456s # 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); 456s # if (value != NULL) 456s # { 456s # g_variant_take_ref (value); 456s # g_variant_builder_add (&builder, "{sv}", info->name, value); 456s # g_variant_unref (value); 456s # } 456s # } 456s # } 456s # out: 456s # return g_variant_builder_end (&builder); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 456s # { 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void 456s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 456s # OrgProjectSignalingIface *object, 456s # const gchar *arg_arg_g) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # 456s # GList *connections, *l; 456s # GVariant *signal_variant; 456s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 456s # 456s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 456s # arg_arg_g)); 456s # for (l = connections; l != NULL; l = l->next) 456s # { 456s # GDBusConnection *connection = l->data; 456s # g_dbus_connection_emit_signal (connection, 456s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 456s # signal_variant, NULL); 456s # } 456s # g_variant_unref (signal_variant); 456s # g_list_free_full (connections, g_object_unref); 456s # } 456s # 456s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #else 456s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 456s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 456s # 456s # #endif 456s # static void 456s # org_project_signaling_iface_skeleton_finalize (GObject *object) 456s # { 456s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 456s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 456s # if (skeleton->priv->changed_properties_idle_source != NULL) 456s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 456s # g_main_context_unref (skeleton->priv->context); 456s # g_mutex_clear (&skeleton->priv->lock); 456s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 456s # { 456s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 456s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 456s # #else 456s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 456s # #endif 456s # 456s # g_mutex_init (&skeleton->priv->lock); 456s # skeleton->priv->context = g_main_context_ref_thread_default (); 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 456s # { 456s # GObjectClass *gobject_class; 456s # GDBusInterfaceSkeletonClass *skeleton_class; 456s # 456s # gobject_class = G_OBJECT_CLASS (klass); 456s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 456s # 456s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 456s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 456s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 456s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 456s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 456s # 456s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 456s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 456s # #endif 456s # } 456s # 456s # static void 456s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 456s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_skeleton_new: 456s # * 456s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 456s # * 456s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 456s # */ 456s # OrgProjectSignalingIface * 456s # org_project_signaling_iface_skeleton_new (void) 456s # { 456s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 456s # } 456s # /tmp/tmpixaejxpu/tmpewegan65.xml: 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # 456s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpewegan65.xml', '--output', '-', '--body'] 456s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 456s # Output: /* 456s # * This file is generated by gdbus-codegen, do not modify it. 456s # * 456s # * The license of this code is the same as for the D-Bus interface description 456s # * it was derived from. Note that it links to GLib, so must comply with the 456s # * LGPL linking clauses. 456s # */ 456s # 456s # #ifdef HAVE_CONFIG_H 456s # # include "config.h" 456s # #endif 456s # 456s # #include 456s # #ifdef G_OS_UNIX 456s # # include 456s # #endif 456s # 456s # #ifdef G_ENABLE_DEBUG 456s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 456s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 456s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 456s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 456s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 456s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 456s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 456s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 456s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 456s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 456s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 456s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 456s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 456s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 456s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 456s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 456s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 456s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 456s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 456s # #else /* !G_ENABLE_DEBUG */ 456s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 456s # * Do not access GValues directly in your code. Instead, use the 456s # * g_value_get_*() functions 456s # */ 456s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 456s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 456s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 456s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 456s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 456s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 456s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 456s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 456s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 456s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 456s # #endif /* !G_ENABLE_DEBUG */ 456s # 456s # typedef struct 456s # { 456s # GDBusArgInfo parent_struct; 456s # gboolean use_gvariant; 456s # } _ExtendedGDBusArgInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusMethodInfo parent_struct; 456s # const gchar *signal_name; 456s # gboolean pass_fdlist; 456s # } _ExtendedGDBusMethodInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusSignalInfo parent_struct; 456s # const gchar *signal_name; 456s # } _ExtendedGDBusSignalInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusPropertyInfo parent_struct; 456s # const gchar *hyphen_name; 456s # guint use_gvariant : 1; 456s # guint emits_changed_signal : 1; 456s # } _ExtendedGDBusPropertyInfo; 456s # 456s # typedef struct 456s # { 456s # GDBusInterfaceInfo parent_struct; 456s # const gchar *hyphen_name; 456s # } _ExtendedGDBusInterfaceInfo; 456s # 456s # typedef struct 456s # { 456s # const _ExtendedGDBusPropertyInfo *info; 456s # guint prop_id; 456s # GValue orig_value; /* the value before the change */ 456s # } ChangedProperty; 456s # 456s # static void 456s # _changed_property_free (ChangedProperty *data) 456s # { 456s # g_value_unset (&data->orig_value); 456s # g_free (data); 456s # } 456s # 456s # static gboolean 456s # _g_strv_equal0 (gchar **a, gchar **b) 456s # { 456s # gboolean ret = FALSE; 456s # guint n; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # if (g_strv_length (a) != g_strv_length (b)) 456s # goto out; 456s # for (n = 0; a[n] != NULL; n++) 456s # if (g_strcmp0 (a[n], b[n]) != 0) 456s # goto out; 456s # ret = TRUE; 456s # out: 456s # return ret; 456s # } 456s # 456s # static gboolean 456s # _g_variant_equal0 (GVariant *a, GVariant *b) 456s # { 456s # gboolean ret = FALSE; 456s # if (a == NULL && b == NULL) 456s # { 456s # ret = TRUE; 456s # goto out; 456s # } 456s # if (a == NULL || b == NULL) 456s # goto out; 456s # ret = g_variant_equal (a, b); 456s # out: 456s # return ret; 456s # } 456s # 456s # G_GNUC_UNUSED static gboolean 456s # _g_value_equal (const GValue *a, const GValue *b) 456s # { 456s # gboolean ret = FALSE; 456s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 456s # switch (G_VALUE_TYPE (a)) 456s # { 456s # case G_TYPE_BOOLEAN: 456s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 456s # break; 456s # case G_TYPE_UCHAR: 456s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 456s # break; 456s # case G_TYPE_INT: 456s # ret = (g_value_get_int (a) == g_value_get_int (b)); 456s # break; 456s # case G_TYPE_UINT: 456s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 456s # break; 456s # case G_TYPE_INT64: 456s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 456s # break; 456s # case G_TYPE_UINT64: 456s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 456s # break; 456s # case G_TYPE_DOUBLE: 456s # { 456s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 456s # gdouble da = g_value_get_double (a); 456s # gdouble db = g_value_get_double (b); 456s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 456s # } 456s # break; 456s # case G_TYPE_STRING: 456s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 456s # break; 456s # case G_TYPE_VARIANT: 456s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 456s # break; 456s # default: 456s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 456s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 456s # else 456s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 456s # break; 456s # } 456s # return ret; 456s # } 456s # 456s # /* ------------------------------------------------------------------------ 456s # * Code for interface org.project.SignalingIface 456s # * ------------------------------------------------------------------------ 456s # */ 456s # 456s # /** 456s # * SECTION:OrgProjectSignalingIface 456s # * @title: OrgProjectSignalingIface 456s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 456s # * 456s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 456s # */ 456s # 456s # enum 456s # { 456s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 456s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 456s # }; 456s # 456s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 456s # 456s # /* ---- Introspection data for org.project.SignalingIface ---- */ 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SimpleSignal", 456s # NULL, 456s # NULL 456s # }, 456s # "simple-signal" 456s # }; 456s # 456s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 456s # { 456s # { 456s # -1, 456s # (gchar *) "arg_h", 456s # (gchar *) "h", 456s # NULL 456s # }, 456s # FALSE 456s # }; 456s # 456s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 456s # { 456s # { 456s # -1, 456s # (gchar *) "SingleArgSignalH", 456s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 456s # NULL 456s # }, 456s # "single-arg-signal-h" 456s # }; 456s # 456s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 456s # { 456s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 456s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 456s # NULL 456s # }; 456s # 456s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 456s # { 456s # { 456s # -1, 456s # (gchar *) "org.project.SignalingIface", 456s # NULL, 456s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 456s # NULL, 456s # NULL 456s # }, 456s # "org-project-signaling-iface", 456s # }; 456s # 456s # 456s # /** 456s # * org_project_signaling_iface_interface_info: 456s # * 456s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 456s # * 456s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 456s # */ 456s # GDBusInterfaceInfo * 456s # org_project_signaling_iface_interface_info (void) 456s # { 456s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_override_properties: 456s # * @klass: The class structure for a #GObject derived class. 456s # * @property_id_begin: The property id to assign to the first overridden property. 456s # * 456s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 456s # * The properties are overridden in the order they are defined. 456s # * 456s # * Returns: The last property id. 456s # */ 456s # guint 456s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 456s # { 456s # return property_id_begin - 1; 456s # } 456s # 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_simple_signal ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VOID (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # inline static void 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 456s # GClosure *closure, 456s # GValue *return_value, 456s # unsigned int n_param_values, 456s # const GValue *param_values, 456s # void *invocation_hint, 456s # void *marshal_data) 456s # { 456s # g_cclosure_marshal_VOID__VARIANT (closure, 456s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 456s # } 456s # 456s # 456s # /** 456s # * OrgProjectSignalingIface: 456s # * 456s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceIface: 456s # * @parent_iface: The parent interface. 456s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 456s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 456s # * 456s # * Virtual table for the D-Bus interface org.project.SignalingIface. 456s # */ 456s # 456s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 456s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 456s # 456s # static void 456s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 456s # { 456s # /* GObject signals for received D-Bus signals: */ 456s # /** 456s # * OrgProjectSignalingIface::simple-signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 456s # g_signal_new ("simple-signal", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_simple_signal, 456s # G_TYPE_NONE, 456s # 0); 456s # 456s # /** 456s # * OrgProjectSignalingIface::single-arg-signal-h: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_h: Argument. 456s # * 456s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 456s # * 456s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 456s # */ 456s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 456s # g_signal_new ("single-arg-signal-h", 456s # G_TYPE_FROM_INTERFACE (iface), 456s # G_SIGNAL_RUN_LAST, 456s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 456s # NULL, 456s # NULL, 456s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 456s # G_TYPE_NONE, 456s # 1, G_TYPE_VARIANT); 456s # 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_simple_signal: 456s # * @object: A #OrgProjectSignalingIface. 456s # * 456s # * Emits the "SimpleSignal" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_simple_signal ( 456s # OrgProjectSignalingIface *object) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 456s # } 456s # 456s # /** 456s # * org_project_signaling_iface_emit_single_arg_signal_h: 456s # * @object: A #OrgProjectSignalingIface. 456s # * @arg_arg_h: Argument to pass with the signal. 456s # * 456s # * Emits the "SingleArgSignalH" D-Bus signal. 456s # */ 456s # void 456s # org_project_signaling_iface_emit_single_arg_signal_h ( 456s # OrgProjectSignalingIface *object, 456s # GVariant *arg_arg_h) 456s # { 456s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 456s # } 456s # 456s # /* ------------------------------------------------------------------------ */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxy: 456s # * 456s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 456s # */ 456s # 456s # /** 456s # * OrgProjectSignalingIfaceProxyClass: 456s # * @parent_class: The parent class. 456s # * 456s # * Class structure for #OrgProjectSignalingIfaceProxy. 456s # */ 456s # 456s # struct _OrgProjectSignalingIfaceProxyPrivate 457s # { 457s # GData *qdata; 457s # }; 457s # 457s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_proxy_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 457s # g_datalist_clear (&proxy->priv->qdata); 457s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # const GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 457s # const gchar *sender_name G_GNUC_UNUSED, 457s # const gchar *signal_name, 457s # GVariant *parameters) 457s # { 457s # _ExtendedGDBusSignalInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # gsize n; 457s # guint signal_id; 457s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 457s # if (info == NULL) 457s # return; 457s # num_params = g_variant_n_children (parameters); 457s # paramv = g_new0 (GValue, num_params + 1); 457s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[0], proxy); 457s # g_variant_iter_init (&iter, parameters); 457s # n = 1; 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_signal_emitv (paramv, signal_id, 0, NULL); 457s # for (n = 0; n < num_params + 1; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 457s # GVariant *changed_properties, 457s # const gchar *const *invalidated_properties) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 457s # guint n; 457s # const gchar *key; 457s # GVariantIter *iter; 457s # _ExtendedGDBusPropertyInfo *info; 457s # g_variant_get (changed_properties, "a{sv}", &iter); 457s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 457s # g_datalist_remove_data (&proxy->priv->qdata, key); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # g_variant_iter_free (iter); 457s # for (n = 0; invalidated_properties[n] != NULL; n++) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 457s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 457s # #else 457s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 457s # #endif 457s # 457s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusProxyClass *proxy_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 457s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 457s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 457s # 457s # proxy_class = G_DBUS_PROXY_CLASS (klass); 457s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 457s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_sync: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_sync: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeleton: 457s # * 457s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeletonClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceSkeletonPrivate 457s # { 457s # GValue *properties; 457s # GList *changed_properties; 457s # GSource *changed_properties_idle_source; 457s # GMainContext *context; 457s # GMutex lock; 457s # }; 457s # 457s # static void 457s # _org_project_signaling_iface_skeleton_handle_method_call ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name, 457s # const gchar *method_name, 457s # GVariant *parameters, 457s # GDBusMethodInvocation *invocation, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # _ExtendedGDBusMethodInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # guint num_extra; 457s # gsize n; 457s # guint signal_id; 457s # GValue return_value = G_VALUE_INIT; 457s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 457s # g_assert (info != NULL); 457s # num_params = g_variant_n_children (parameters); 457s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 457s # n = 0; 457s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[n++], skeleton); 457s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 457s # g_value_set_object (¶mv[n++], invocation); 457s # if (info->pass_fdlist) 457s # { 457s # #ifdef G_OS_UNIX 457s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 457s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 457s # #else 457s # g_assert_not_reached (); 457s # #endif 457s # } 457s # g_variant_iter_init (&iter, parameters); 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_init (&return_value, G_TYPE_BOOLEAN); 457s # g_signal_emitv (paramv, signal_id, 0, &return_value); 457s # if (!g_value_get_boolean (&return_value)) 457s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 457s # g_value_unset (&return_value); 457s # for (n = 0; n < num_params + num_extra; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static GVariant * 457s # _org_project_signaling_iface_skeleton_handle_get_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # GVariant *ret; 457s # ret = NULL; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # g_value_init (&value, pspec->value_type); 457s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_value_unset (&value); 457s # } 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _org_project_signaling_iface_skeleton_handle_set_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GVariant *variant, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # gboolean ret; 457s # ret = FALSE; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # if (info->use_gvariant) 457s # g_value_set_variant (&value, variant); 457s # else 457s # g_dbus_gvariant_to_gvalue (variant, &value); 457s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # g_value_unset (&value); 457s # ret = TRUE; 457s # } 457s # return ret; 457s # } 457s # 457s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 457s # { 457s # _org_project_signaling_iface_skeleton_handle_method_call, 457s # _org_project_signaling_iface_skeleton_handle_get_property, 457s # _org_project_signaling_iface_skeleton_handle_set_property, 457s # {NULL} 457s # }; 457s # 457s # static GDBusInterfaceInfo * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return org_project_signaling_iface_interface_info (); 457s # } 457s # 457s # static GDBusInterfaceVTable * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 457s # } 457s # 457s # static GVariant * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 457s # 457s # GVariantBuilder builder; 457s # guint n; 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 457s # goto out; 457s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 457s # { 457s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 457s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 457s # { 457s # GVariant *value; 457s # 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); 457s # if (value != NULL) 457s # { 457s # g_variant_take_ref (value); 457s # g_variant_builder_add (&builder, "{sv}", info->name, value); 457s # g_variant_unref (value); 457s # } 457s # } 457s # } 457s # out: 457s # return g_variant_builder_end (&builder); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 457s # OrgProjectSignalingIface *object, 457s # GVariant *arg_arg_h) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 457s # arg_arg_h)); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_skeleton_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # g_main_context_unref (skeleton->priv->context); 457s # g_mutex_clear (&skeleton->priv->lock); 457s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 457s # #else 457s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 457s # #endif 457s # 457s # g_mutex_init (&skeleton->priv->lock); 457s # skeleton->priv->context = g_main_context_ref_thread_default (); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusInterfaceSkeletonClass *skeleton_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 457s # 457s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 457s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 457s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 457s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 457s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 457s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_skeleton_new: 457s # * 457s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_skeleton_new (void) 457s # { 457s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 457s # } 457s # /tmp/tmpixaejxpu/tmpmlkze44c.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpmlkze44c.xml', '--output', '-', '--body'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifdef HAVE_CONFIG_H 457s # # include "config.h" 457s # #endif 457s # 457s # #include 457s # #ifdef G_OS_UNIX 457s # # include 457s # #endif 457s # 457s # #ifdef G_ENABLE_DEBUG 457s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 457s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 457s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 457s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 457s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 457s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 457s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 457s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 457s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 457s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 457s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 457s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 457s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 457s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 457s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 457s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 457s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 457s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 457s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 457s # #else /* !G_ENABLE_DEBUG */ 457s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 457s # * Do not access GValues directly in your code. Instead, use the 457s # * g_value_get_*() functions 457s # */ 457s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 457s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 457s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 457s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 457s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 457s # #endif /* !G_ENABLE_DEBUG */ 457s # 457s # typedef struct 457s # { 457s # GDBusArgInfo parent_struct; 457s # gboolean use_gvariant; 457s # } _ExtendedGDBusArgInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusMethodInfo parent_struct; 457s # const gchar *signal_name; 457s # gboolean pass_fdlist; 457s # } _ExtendedGDBusMethodInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusSignalInfo parent_struct; 457s # const gchar *signal_name; 457s # } _ExtendedGDBusSignalInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusPropertyInfo parent_struct; 457s # const gchar *hyphen_name; 457s # guint use_gvariant : 1; 457s # guint emits_changed_signal : 1; 457s # } _ExtendedGDBusPropertyInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusInterfaceInfo parent_struct; 457s # const gchar *hyphen_name; 457s # } _ExtendedGDBusInterfaceInfo; 457s # 457s # typedef struct 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # guint prop_id; 457s # GValue orig_value; /* the value before the change */ 457s # } ChangedProperty; 457s # 457s # static void 457s # _changed_property_free (ChangedProperty *data) 457s # { 457s # g_value_unset (&data->orig_value); 457s # g_free (data); 457s # } 457s # 457s # static gboolean 457s # _g_strv_equal0 (gchar **a, gchar **b) 457s # { 457s # gboolean ret = FALSE; 457s # guint n; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # if (g_strv_length (a) != g_strv_length (b)) 457s # goto out; 457s # for (n = 0; a[n] != NULL; n++) 457s # if (g_strcmp0 (a[n], b[n]) != 0) 457s # goto out; 457s # ret = TRUE; 457s # out: 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _g_variant_equal0 (GVariant *a, GVariant *b) 457s # { 457s # gboolean ret = FALSE; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # ret = g_variant_equal (a, b); 457s # out: 457s # return ret; 457s # } 457s # 457s # G_GNUC_UNUSED static gboolean 457s # _g_value_equal (const GValue *a, const GValue *b) 457s # { 457s # gboolean ret = FALSE; 457s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 457s # switch (G_VALUE_TYPE (a)) 457s # { 457s # case G_TYPE_BOOLEAN: 457s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 457s # break; 457s # case G_TYPE_UCHAR: 457s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 457s # break; 457s # case G_TYPE_INT: 457s # ret = (g_value_get_int (a) == g_value_get_int (b)); 457s # break; 457s # case G_TYPE_UINT: 457s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 457s # break; 457s # case G_TYPE_INT64: 457s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 457s # break; 457s # case G_TYPE_UINT64: 457s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 457s # break; 457s # case G_TYPE_DOUBLE: 457s # { 457s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 457s # gdouble da = g_value_get_double (a); 457s # gdouble db = g_value_get_double (b); 457s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 457s # } 457s # break; 457s # case G_TYPE_STRING: 457s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 457s # break; 457s # case G_TYPE_VARIANT: 457s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 457s # break; 457s # default: 457s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 457s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 457s # else 457s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 457s # break; 457s # } 457s # return ret; 457s # } 457s # 457s # /* ------------------------------------------------------------------------ 457s # * Code for interface org.project.SignalingIface 457s # * ------------------------------------------------------------------------ 457s # */ 457s # 457s # /** 457s # * SECTION:OrgProjectSignalingIface 457s # * @title: OrgProjectSignalingIface 457s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 457s # * 457s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 457s # */ 457s # 457s # enum 457s # { 457s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 457s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 457s # }; 457s # 457s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 457s # 457s # /* ---- Introspection data for org.project.SignalingIface ---- */ 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SimpleSignal", 457s # NULL, 457s # NULL 457s # }, 457s # "simple-signal" 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 457s # { 457s # { 457s # -1, 457s # (gchar *) "arg_ay", 457s # (gchar *) "ay", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SingleArgSignalAy", 457s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 457s # NULL 457s # }, 457s # "single-arg-signal-ay" 457s # }; 457s # 457s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 457s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 457s # { 457s # { 457s # -1, 457s # (gchar *) "org.project.SignalingIface", 457s # NULL, 457s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 457s # NULL, 457s # NULL 457s # }, 457s # "org-project-signaling-iface", 457s # }; 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_interface_info: 457s # * 457s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 457s # * 457s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 457s # */ 457s # GDBusInterfaceInfo * 457s # org_project_signaling_iface_interface_info (void) 457s # { 457s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_override_properties: 457s # * @klass: The class structure for a #GObject derived class. 457s # * @property_id_begin: The property id to assign to the first overridden property. 457s # * 457s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 457s # * The properties are overridden in the order they are defined. 457s # * 457s # * Returns: The last property id. 457s # */ 457s # guint 457s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 457s # { 457s # return property_id_begin - 1; 457s # } 457s # 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_simple_signal ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__VOID (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__STRING (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # 457s # /** 457s # * OrgProjectSignalingIface: 457s # * 457s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceIface: 457s # * @parent_iface: The parent interface. 457s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 457s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 457s # * 457s # * Virtual table for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 457s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 457s # 457s # static void 457s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # /* GObject signals for received D-Bus signals: */ 457s # /** 457s # * OrgProjectSignalingIface::simple-signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 457s # g_signal_new ("simple-signal", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_simple_signal, 457s # G_TYPE_NONE, 457s # 0); 457s # 457s # /** 457s # * OrgProjectSignalingIface::single-arg-signal-ay: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_arg_ay: Argument. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 457s # g_signal_new ("single-arg-signal-ay", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 457s # G_TYPE_NONE, 457s # 1, G_TYPE_STRING); 457s # 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_simple_signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * Emits the "SimpleSignal" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_single_arg_signal_ay: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_arg_ay: Argument to pass with the signal. 457s # * 457s # * Emits the "SingleArgSignalAy" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_single_arg_signal_ay ( 457s # OrgProjectSignalingIface *object, 457s # const gchar *arg_arg_ay) 457s # { 457s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxy: 457s # * 457s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxyClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceProxy. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceProxyPrivate 457s # { 457s # GData *qdata; 457s # }; 457s # 457s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_proxy_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 457s # g_datalist_clear (&proxy->priv->qdata); 457s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # const GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 457s # const gchar *sender_name G_GNUC_UNUSED, 457s # const gchar *signal_name, 457s # GVariant *parameters) 457s # { 457s # _ExtendedGDBusSignalInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # gsize n; 457s # guint signal_id; 457s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 457s # if (info == NULL) 457s # return; 457s # num_params = g_variant_n_children (parameters); 457s # paramv = g_new0 (GValue, num_params + 1); 457s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[0], proxy); 457s # g_variant_iter_init (&iter, parameters); 457s # n = 1; 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_signal_emitv (paramv, signal_id, 0, NULL); 457s # for (n = 0; n < num_params + 1; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 457s # GVariant *changed_properties, 457s # const gchar *const *invalidated_properties) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 457s # guint n; 457s # const gchar *key; 457s # GVariantIter *iter; 457s # _ExtendedGDBusPropertyInfo *info; 457s # g_variant_get (changed_properties, "a{sv}", &iter); 457s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 457s # g_datalist_remove_data (&proxy->priv->qdata, key); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # g_variant_iter_free (iter); 457s # for (n = 0; invalidated_properties[n] != NULL; n++) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 457s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 457s # #else 457s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 457s # #endif 457s # 457s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusProxyClass *proxy_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 457s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 457s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 457s # 457s # proxy_class = G_DBUS_PROXY_CLASS (klass); 457s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 457s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_sync: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_sync: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeleton: 457s # * 457s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeletonClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceSkeletonPrivate 457s # { 457s # GValue *properties; 457s # GList *changed_properties; 457s # GSource *changed_properties_idle_source; 457s # GMainContext *context; 457s # GMutex lock; 457s # }; 457s # 457s # static void 457s # _org_project_signaling_iface_skeleton_handle_method_call ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name, 457s # const gchar *method_name, 457s # GVariant *parameters, 457s # GDBusMethodInvocation *invocation, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # _ExtendedGDBusMethodInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # guint num_extra; 457s # gsize n; 457s # guint signal_id; 457s # GValue return_value = G_VALUE_INIT; 457s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 457s # g_assert (info != NULL); 457s # num_params = g_variant_n_children (parameters); 457s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 457s # n = 0; 457s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[n++], skeleton); 457s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 457s # g_value_set_object (¶mv[n++], invocation); 457s # if (info->pass_fdlist) 457s # { 457s # #ifdef G_OS_UNIX 457s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 457s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 457s # #else 457s # g_assert_not_reached (); 457s # #endif 457s # } 457s # g_variant_iter_init (&iter, parameters); 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_init (&return_value, G_TYPE_BOOLEAN); 457s # g_signal_emitv (paramv, signal_id, 0, &return_value); 457s # if (!g_value_get_boolean (&return_value)) 457s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 457s # g_value_unset (&return_value); 457s # for (n = 0; n < num_params + num_extra; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static GVariant * 457s # _org_project_signaling_iface_skeleton_handle_get_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # GVariant *ret; 457s # ret = NULL; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # g_value_init (&value, pspec->value_type); 457s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_value_unset (&value); 457s # } 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _org_project_signaling_iface_skeleton_handle_set_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GVariant *variant, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # gboolean ret; 457s # ret = FALSE; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # if (info->use_gvariant) 457s # g_value_set_variant (&value, variant); 457s # else 457s # g_dbus_gvariant_to_gvalue (variant, &value); 457s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # g_value_unset (&value); 457s # ret = TRUE; 457s # } 457s # return ret; 457s # } 457s # 457s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 457s # { 457s # _org_project_signaling_iface_skeleton_handle_method_call, 457s # _org_project_signaling_iface_skeleton_handle_get_property, 457s # _org_project_signaling_iface_skeleton_handle_set_property, 457s # {NULL} 457s # }; 457s # 457s # static GDBusInterfaceInfo * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return org_project_signaling_iface_interface_info (); 457s # } 457s # 457s # static GDBusInterfaceVTable * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 457s # } 457s # 457s # static GVariant * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 457s # 457s # GVariantBuilder builder; 457s # guint n; 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 457s # goto out; 457s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 457s # { 457s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 457s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 457s # { 457s # GVariant *value; 457s # 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); 457s # if (value != NULL) 457s # { 457s # g_variant_take_ref (value); 457s # g_variant_builder_add (&builder, "{sv}", info->name, value); 457s # g_variant_unref (value); 457s # } 457s # } 457s # } 457s # out: 457s # return g_variant_builder_end (&builder); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 457s # OrgProjectSignalingIface *object, 457s # const gchar *arg_arg_ay) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 457s # arg_arg_ay)); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_skeleton_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # g_main_context_unref (skeleton->priv->context); 457s # g_mutex_clear (&skeleton->priv->lock); 457s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 457s # #else 457s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 457s # #endif 457s # 457s # g_mutex_init (&skeleton->priv->lock); 457s # skeleton->priv->context = g_main_context_ref_thread_default (); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusInterfaceSkeletonClass *skeleton_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 457s # 457s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 457s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 457s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 457s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 457s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 457s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_skeleton_new: 457s # * 457s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_skeleton_new (void) 457s # { 457s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 457s # } 457s # /tmp/tmpixaejxpu/tmphqjm9o7o.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmphqjm9o7o.xml', '--output', '-', '--body'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifdef HAVE_CONFIG_H 457s # # include "config.h" 457s # #endif 457s # 457s # #include 457s # #ifdef G_OS_UNIX 457s # # include 457s # #endif 457s # 457s # #ifdef G_ENABLE_DEBUG 457s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 457s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 457s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 457s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 457s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 457s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 457s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 457s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 457s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 457s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 457s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 457s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 457s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 457s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 457s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 457s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 457s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 457s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 457s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 457s # #else /* !G_ENABLE_DEBUG */ 457s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 457s # * Do not access GValues directly in your code. Instead, use the 457s # * g_value_get_*() functions 457s # */ 457s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 457s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 457s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 457s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 457s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 457s # #endif /* !G_ENABLE_DEBUG */ 457s # 457s # typedef struct 457s # { 457s # GDBusArgInfo parent_struct; 457s # gboolean use_gvariant; 457s # } _ExtendedGDBusArgInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusMethodInfo parent_struct; 457s # const gchar *signal_name; 457s # gboolean pass_fdlist; 457s # } _ExtendedGDBusMethodInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusSignalInfo parent_struct; 457s # const gchar *signal_name; 457s # } _ExtendedGDBusSignalInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusPropertyInfo parent_struct; 457s # const gchar *hyphen_name; 457s # guint use_gvariant : 1; 457s # guint emits_changed_signal : 1; 457s # } _ExtendedGDBusPropertyInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusInterfaceInfo parent_struct; 457s # const gchar *hyphen_name; 457s # } _ExtendedGDBusInterfaceInfo; 457s # 457s # typedef struct 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # guint prop_id; 457s # GValue orig_value; /* the value before the change */ 457s # } ChangedProperty; 457s # 457s # static void 457s # _changed_property_free (ChangedProperty *data) 457s # { 457s # g_value_unset (&data->orig_value); 457s # g_free (data); 457s # } 457s # 457s # static gboolean 457s # _g_strv_equal0 (gchar **a, gchar **b) 457s # { 457s # gboolean ret = FALSE; 457s # guint n; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # if (g_strv_length (a) != g_strv_length (b)) 457s # goto out; 457s # for (n = 0; a[n] != NULL; n++) 457s # if (g_strcmp0 (a[n], b[n]) != 0) 457s # goto out; 457s # ret = TRUE; 457s # out: 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _g_variant_equal0 (GVariant *a, GVariant *b) 457s # { 457s # gboolean ret = FALSE; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # ret = g_variant_equal (a, b); 457s # out: 457s # return ret; 457s # } 457s # 457s # G_GNUC_UNUSED static gboolean 457s # _g_value_equal (const GValue *a, const GValue *b) 457s # { 457s # gboolean ret = FALSE; 457s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 457s # switch (G_VALUE_TYPE (a)) 457s # { 457s # case G_TYPE_BOOLEAN: 457s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 457s # break; 457s # case G_TYPE_UCHAR: 457s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 457s # break; 457s # case G_TYPE_INT: 457s # ret = (g_value_get_int (a) == g_value_get_int (b)); 457s # break; 457s # case G_TYPE_UINT: 457s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 457s # break; 457s # case G_TYPE_INT64: 457s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 457s # break; 457s # case G_TYPE_UINT64: 457s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 457s # break; 457s # case G_TYPE_DOUBLE: 457s # { 457s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 457s # gdouble da = g_value_get_double (a); 457s # gdouble db = g_value_get_double (b); 457s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 457s # } 457s # break; 457s # case G_TYPE_STRING: 457s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 457s # break; 457s # case G_TYPE_VARIANT: 457s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 457s # break; 457s # default: 457s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 457s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 457s # else 457s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 457s # break; 457s # } 457s # return ret; 457s # } 457s # 457s # /* ------------------------------------------------------------------------ 457s # * Code for interface org.project.SignalingIface 457s # * ------------------------------------------------------------------------ 457s # */ 457s # 457s # /** 457s # * SECTION:OrgProjectSignalingIface 457s # * @title: OrgProjectSignalingIface 457s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 457s # * 457s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 457s # */ 457s # 457s # enum 457s # { 457s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 457s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 457s # }; 457s # 457s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 457s # 457s # /* ---- Introspection data for org.project.SignalingIface ---- */ 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SimpleSignal", 457s # NULL, 457s # NULL 457s # }, 457s # "simple-signal" 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 457s # { 457s # { 457s # -1, 457s # (gchar *) "arg_as", 457s # (gchar *) "as", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SingleArgSignalAs", 457s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 457s # NULL 457s # }, 457s # "single-arg-signal-as" 457s # }; 457s # 457s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 457s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 457s # { 457s # { 457s # -1, 457s # (gchar *) "org.project.SignalingIface", 457s # NULL, 457s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 457s # NULL, 457s # NULL 457s # }, 457s # "org-project-signaling-iface", 457s # }; 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_interface_info: 457s # * 457s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 457s # * 457s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 457s # */ 457s # GDBusInterfaceInfo * 457s # org_project_signaling_iface_interface_info (void) 457s # { 457s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_override_properties: 457s # * @klass: The class structure for a #GObject derived class. 457s # * @property_id_begin: The property id to assign to the first overridden property. 457s # * 457s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 457s # * The properties are overridden in the order they are defined. 457s # * 457s # * Returns: The last property id. 457s # */ 457s # guint 457s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 457s # { 457s # return property_id_begin - 1; 457s # } 457s # 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_simple_signal ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__VOID (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__BOXED (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # 457s # /** 457s # * OrgProjectSignalingIface: 457s # * 457s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceIface: 457s # * @parent_iface: The parent interface. 457s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 457s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 457s # * 457s # * Virtual table for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 457s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 457s # 457s # static void 457s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # /* GObject signals for received D-Bus signals: */ 457s # /** 457s # * OrgProjectSignalingIface::simple-signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 457s # g_signal_new ("simple-signal", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_simple_signal, 457s # G_TYPE_NONE, 457s # 0); 457s # 457s # /** 457s # * OrgProjectSignalingIface::single-arg-signal-as: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_arg_as: Argument. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 457s # g_signal_new ("single-arg-signal-as", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 457s # G_TYPE_NONE, 457s # 1, G_TYPE_STRV); 457s # 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_simple_signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * Emits the "SimpleSignal" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_single_arg_signal_as: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_arg_as: Argument to pass with the signal. 457s # * 457s # * Emits the "SingleArgSignalAs" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_single_arg_signal_as ( 457s # OrgProjectSignalingIface *object, 457s # const gchar *const *arg_arg_as) 457s # { 457s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxy: 457s # * 457s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxyClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceProxy. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceProxyPrivate 457s # { 457s # GData *qdata; 457s # }; 457s # 457s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_proxy_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 457s # g_datalist_clear (&proxy->priv->qdata); 457s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # const GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 457s # const gchar *sender_name G_GNUC_UNUSED, 457s # const gchar *signal_name, 457s # GVariant *parameters) 457s # { 457s # _ExtendedGDBusSignalInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # gsize n; 457s # guint signal_id; 457s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 457s # if (info == NULL) 457s # return; 457s # num_params = g_variant_n_children (parameters); 457s # paramv = g_new0 (GValue, num_params + 1); 457s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[0], proxy); 457s # g_variant_iter_init (&iter, parameters); 457s # n = 1; 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_signal_emitv (paramv, signal_id, 0, NULL); 457s # for (n = 0; n < num_params + 1; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 457s # GVariant *changed_properties, 457s # const gchar *const *invalidated_properties) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 457s # guint n; 457s # const gchar *key; 457s # GVariantIter *iter; 457s # _ExtendedGDBusPropertyInfo *info; 457s # g_variant_get (changed_properties, "a{sv}", &iter); 457s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 457s # g_datalist_remove_data (&proxy->priv->qdata, key); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # g_variant_iter_free (iter); 457s # for (n = 0; invalidated_properties[n] != NULL; n++) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 457s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 457s # #else 457s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 457s # #endif 457s # 457s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusProxyClass *proxy_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 457s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 457s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 457s # 457s # proxy_class = G_DBUS_PROXY_CLASS (klass); 457s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 457s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_sync: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_sync: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeleton: 457s # * 457s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeletonClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceSkeletonPrivate 457s # { 457s # GValue *properties; 457s # GList *changed_properties; 457s # GSource *changed_properties_idle_source; 457s # GMainContext *context; 457s # GMutex lock; 457s # }; 457s # 457s # static void 457s # _org_project_signaling_iface_skeleton_handle_method_call ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name, 457s # const gchar *method_name, 457s # GVariant *parameters, 457s # GDBusMethodInvocation *invocation, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # _ExtendedGDBusMethodInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # guint num_extra; 457s # gsize n; 457s # guint signal_id; 457s # GValue return_value = G_VALUE_INIT; 457s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 457s # g_assert (info != NULL); 457s # num_params = g_variant_n_children (parameters); 457s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 457s # n = 0; 457s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[n++], skeleton); 457s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 457s # g_value_set_object (¶mv[n++], invocation); 457s # if (info->pass_fdlist) 457s # { 457s # #ifdef G_OS_UNIX 457s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 457s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 457s # #else 457s # g_assert_not_reached (); 457s # #endif 457s # } 457s # g_variant_iter_init (&iter, parameters); 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_init (&return_value, G_TYPE_BOOLEAN); 457s # g_signal_emitv (paramv, signal_id, 0, &return_value); 457s # if (!g_value_get_boolean (&return_value)) 457s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 457s # g_value_unset (&return_value); 457s # for (n = 0; n < num_params + num_extra; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static GVariant * 457s # _org_project_signaling_iface_skeleton_handle_get_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # GVariant *ret; 457s # ret = NULL; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # g_value_init (&value, pspec->value_type); 457s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_value_unset (&value); 457s # } 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _org_project_signaling_iface_skeleton_handle_set_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GVariant *variant, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # gboolean ret; 457s # ret = FALSE; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # if (info->use_gvariant) 457s # g_value_set_variant (&value, variant); 457s # else 457s # g_dbus_gvariant_to_gvalue (variant, &value); 457s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # g_value_unset (&value); 457s # ret = TRUE; 457s # } 457s # return ret; 457s # } 457s # 457s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 457s # { 457s # _org_project_signaling_iface_skeleton_handle_method_call, 457s # _org_project_signaling_iface_skeleton_handle_get_property, 457s # _org_project_signaling_iface_skeleton_handle_set_property, 457s # {NULL} 457s # }; 457s # 457s # static GDBusInterfaceInfo * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return org_project_signaling_iface_interface_info (); 457s # } 457s # 457s # static GDBusInterfaceVTable * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 457s # } 457s # 457s # static GVariant * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 457s # 457s # GVariantBuilder builder; 457s # guint n; 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 457s # goto out; 457s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 457s # { 457s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 457s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 457s # { 457s # GVariant *value; 457s # 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); 457s # if (value != NULL) 457s # { 457s # g_variant_take_ref (value); 457s # g_variant_builder_add (&builder, "{sv}", info->name, value); 457s # g_variant_unref (value); 457s # } 457s # } 457s # } 457s # out: 457s # return g_variant_builder_end (&builder); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 457s # OrgProjectSignalingIface *object, 457s # const gchar *const *arg_arg_as) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 457s # arg_arg_as)); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_skeleton_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # g_main_context_unref (skeleton->priv->context); 457s # g_mutex_clear (&skeleton->priv->lock); 457s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 457s # #else 457s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 457s # #endif 457s # 457s # g_mutex_init (&skeleton->priv->lock); 457s # skeleton->priv->context = g_main_context_ref_thread_default (); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusInterfaceSkeletonClass *skeleton_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 457s # 457s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 457s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 457s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 457s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 457s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 457s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_skeleton_new: 457s # * 457s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_skeleton_new (void) 457s # { 457s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 457s # } 457s # /tmp/tmpixaejxpu/tmpxnaaxgue.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpxnaaxgue.xml', '--output', '-', '--body'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifdef HAVE_CONFIG_H 457s # # include "config.h" 457s # #endif 457s # 457s # #include 457s # #ifdef G_OS_UNIX 457s # # include 457s # #endif 457s # 457s # #ifdef G_ENABLE_DEBUG 457s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 457s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 457s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 457s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 457s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 457s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 457s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 457s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 457s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 457s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 457s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 457s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 457s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 457s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 457s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 457s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 457s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 457s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 457s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 457s # #else /* !G_ENABLE_DEBUG */ 457s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 457s # * Do not access GValues directly in your code. Instead, use the 457s # * g_value_get_*() functions 457s # */ 457s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 457s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 457s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 457s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 457s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 457s # #endif /* !G_ENABLE_DEBUG */ 457s # 457s # typedef struct 457s # { 457s # GDBusArgInfo parent_struct; 457s # gboolean use_gvariant; 457s # } _ExtendedGDBusArgInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusMethodInfo parent_struct; 457s # const gchar *signal_name; 457s # gboolean pass_fdlist; 457s # } _ExtendedGDBusMethodInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusSignalInfo parent_struct; 457s # const gchar *signal_name; 457s # } _ExtendedGDBusSignalInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusPropertyInfo parent_struct; 457s # const gchar *hyphen_name; 457s # guint use_gvariant : 1; 457s # guint emits_changed_signal : 1; 457s # } _ExtendedGDBusPropertyInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusInterfaceInfo parent_struct; 457s # const gchar *hyphen_name; 457s # } _ExtendedGDBusInterfaceInfo; 457s # 457s # typedef struct 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # guint prop_id; 457s # GValue orig_value; /* the value before the change */ 457s # } ChangedProperty; 457s # 457s # static void 457s # _changed_property_free (ChangedProperty *data) 457s # { 457s # g_value_unset (&data->orig_value); 457s # g_free (data); 457s # } 457s # 457s # static gboolean 457s # _g_strv_equal0 (gchar **a, gchar **b) 457s # { 457s # gboolean ret = FALSE; 457s # guint n; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # if (g_strv_length (a) != g_strv_length (b)) 457s # goto out; 457s # for (n = 0; a[n] != NULL; n++) 457s # if (g_strcmp0 (a[n], b[n]) != 0) 457s # goto out; 457s # ret = TRUE; 457s # out: 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _g_variant_equal0 (GVariant *a, GVariant *b) 457s # { 457s # gboolean ret = FALSE; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # ret = g_variant_equal (a, b); 457s # out: 457s # return ret; 457s # } 457s # 457s # G_GNUC_UNUSED static gboolean 457s # _g_value_equal (const GValue *a, const GValue *b) 457s # { 457s # gboolean ret = FALSE; 457s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 457s # switch (G_VALUE_TYPE (a)) 457s # { 457s # case G_TYPE_BOOLEAN: 457s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 457s # break; 457s # case G_TYPE_UCHAR: 457s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 457s # break; 457s # case G_TYPE_INT: 457s # ret = (g_value_get_int (a) == g_value_get_int (b)); 457s # break; 457s # case G_TYPE_UINT: 457s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 457s # break; 457s # case G_TYPE_INT64: 457s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 457s # break; 457s # case G_TYPE_UINT64: 457s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 457s # break; 457s # case G_TYPE_DOUBLE: 457s # { 457s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 457s # gdouble da = g_value_get_double (a); 457s # gdouble db = g_value_get_double (b); 457s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 457s # } 457s # break; 457s # case G_TYPE_STRING: 457s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 457s # break; 457s # case G_TYPE_VARIANT: 457s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 457s # break; 457s # default: 457s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 457s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 457s # else 457s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 457s # break; 457s # } 457s # return ret; 457s # } 457s # 457s # /* ------------------------------------------------------------------------ 457s # * Code for interface org.project.SignalingIface 457s # * ------------------------------------------------------------------------ 457s # */ 457s # 457s # /** 457s # * SECTION:OrgProjectSignalingIface 457s # * @title: OrgProjectSignalingIface 457s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 457s # * 457s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 457s # */ 457s # 457s # enum 457s # { 457s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 457s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 457s # }; 457s # 457s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 457s # 457s # /* ---- Introspection data for org.project.SignalingIface ---- */ 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SimpleSignal", 457s # NULL, 457s # NULL 457s # }, 457s # "simple-signal" 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 457s # { 457s # { 457s # -1, 457s # (gchar *) "arg_ao", 457s # (gchar *) "ao", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SingleArgSignalAo", 457s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 457s # NULL 457s # }, 457s # "single-arg-signal-ao" 457s # }; 457s # 457s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 457s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 457s # { 457s # { 457s # -1, 457s # (gchar *) "org.project.SignalingIface", 457s # NULL, 457s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 457s # NULL, 457s # NULL 457s # }, 457s # "org-project-signaling-iface", 457s # }; 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_interface_info: 457s # * 457s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 457s # * 457s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 457s # */ 457s # GDBusInterfaceInfo * 457s # org_project_signaling_iface_interface_info (void) 457s # { 457s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_override_properties: 457s # * @klass: The class structure for a #GObject derived class. 457s # * @property_id_begin: The property id to assign to the first overridden property. 457s # * 457s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 457s # * The properties are overridden in the order they are defined. 457s # * 457s # * Returns: The last property id. 457s # */ 457s # guint 457s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 457s # { 457s # return property_id_begin - 1; 457s # } 457s # 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_simple_signal ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__VOID (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__BOXED (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # 457s # /** 457s # * OrgProjectSignalingIface: 457s # * 457s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceIface: 457s # * @parent_iface: The parent interface. 457s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 457s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 457s # * 457s # * Virtual table for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 457s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 457s # 457s # static void 457s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # /* GObject signals for received D-Bus signals: */ 457s # /** 457s # * OrgProjectSignalingIface::simple-signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 457s # g_signal_new ("simple-signal", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_simple_signal, 457s # G_TYPE_NONE, 457s # 0); 457s # 457s # /** 457s # * OrgProjectSignalingIface::single-arg-signal-ao: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_arg_ao: Argument. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 457s # g_signal_new ("single-arg-signal-ao", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 457s # G_TYPE_NONE, 457s # 1, G_TYPE_STRV); 457s # 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_simple_signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * Emits the "SimpleSignal" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_single_arg_signal_ao: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_arg_ao: Argument to pass with the signal. 457s # * 457s # * Emits the "SingleArgSignalAo" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_single_arg_signal_ao ( 457s # OrgProjectSignalingIface *object, 457s # const gchar *const *arg_arg_ao) 457s # { 457s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxy: 457s # * 457s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxyClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceProxy. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceProxyPrivate 457s # { 457s # GData *qdata; 457s # }; 457s # 457s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_proxy_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 457s # g_datalist_clear (&proxy->priv->qdata); 457s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # const GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 457s # const gchar *sender_name G_GNUC_UNUSED, 457s # const gchar *signal_name, 457s # GVariant *parameters) 457s # { 457s # _ExtendedGDBusSignalInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # gsize n; 457s # guint signal_id; 457s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 457s # if (info == NULL) 457s # return; 457s # num_params = g_variant_n_children (parameters); 457s # paramv = g_new0 (GValue, num_params + 1); 457s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[0], proxy); 457s # g_variant_iter_init (&iter, parameters); 457s # n = 1; 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_signal_emitv (paramv, signal_id, 0, NULL); 457s # for (n = 0; n < num_params + 1; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 457s # GVariant *changed_properties, 457s # const gchar *const *invalidated_properties) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 457s # guint n; 457s # const gchar *key; 457s # GVariantIter *iter; 457s # _ExtendedGDBusPropertyInfo *info; 457s # g_variant_get (changed_properties, "a{sv}", &iter); 457s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 457s # g_datalist_remove_data (&proxy->priv->qdata, key); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # g_variant_iter_free (iter); 457s # for (n = 0; invalidated_properties[n] != NULL; n++) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 457s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 457s # #else 457s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 457s # #endif 457s # 457s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusProxyClass *proxy_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 457s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 457s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 457s # 457s # proxy_class = G_DBUS_PROXY_CLASS (klass); 457s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 457s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_sync: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_sync: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeleton: 457s # * 457s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeletonClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceSkeletonPrivate 457s # { 457s # GValue *properties; 457s # GList *changed_properties; 457s # GSource *changed_properties_idle_source; 457s # GMainContext *context; 457s # GMutex lock; 457s # }; 457s # 457s # static void 457s # _org_project_signaling_iface_skeleton_handle_method_call ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name, 457s # const gchar *method_name, 457s # GVariant *parameters, 457s # GDBusMethodInvocation *invocation, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # _ExtendedGDBusMethodInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # guint num_extra; 457s # gsize n; 457s # guint signal_id; 457s # GValue return_value = G_VALUE_INIT; 457s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 457s # g_assert (info != NULL); 457s # num_params = g_variant_n_children (parameters); 457s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 457s # n = 0; 457s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[n++], skeleton); 457s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 457s # g_value_set_object (¶mv[n++], invocation); 457s # if (info->pass_fdlist) 457s # { 457s # #ifdef G_OS_UNIX 457s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 457s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 457s # #else 457s # g_assert_not_reached (); 457s # #endif 457s # } 457s # g_variant_iter_init (&iter, parameters); 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_init (&return_value, G_TYPE_BOOLEAN); 457s # g_signal_emitv (paramv, signal_id, 0, &return_value); 457s # if (!g_value_get_boolean (&return_value)) 457s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 457s # g_value_unset (&return_value); 457s # for (n = 0; n < num_params + num_extra; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static GVariant * 457s # _org_project_signaling_iface_skeleton_handle_get_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # GVariant *ret; 457s # ret = NULL; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # g_value_init (&value, pspec->value_type); 457s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_value_unset (&value); 457s # } 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _org_project_signaling_iface_skeleton_handle_set_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GVariant *variant, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # gboolean ret; 457s # ret = FALSE; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # if (info->use_gvariant) 457s # g_value_set_variant (&value, variant); 457s # else 457s # g_dbus_gvariant_to_gvalue (variant, &value); 457s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # g_value_unset (&value); 457s # ret = TRUE; 457s # } 457s # return ret; 457s # } 457s # 457s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 457s # { 457s # _org_project_signaling_iface_skeleton_handle_method_call, 457s # _org_project_signaling_iface_skeleton_handle_get_property, 457s # _org_project_signaling_iface_skeleton_handle_set_property, 457s # {NULL} 457s # }; 457s # 457s # static GDBusInterfaceInfo * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return org_project_signaling_iface_interface_info (); 457s # } 457s # 457s # static GDBusInterfaceVTable * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 457s # } 457s # 457s # static GVariant * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 457s # 457s # GVariantBuilder builder; 457s # guint n; 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 457s # goto out; 457s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 457s # { 457s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 457s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 457s # { 457s # GVariant *value; 457s # 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); 457s # if (value != NULL) 457s # { 457s # g_variant_take_ref (value); 457s # g_variant_builder_add (&builder, "{sv}", info->name, value); 457s # g_variant_unref (value); 457s # } 457s # } 457s # } 457s # out: 457s # return g_variant_builder_end (&builder); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 457s # OrgProjectSignalingIface *object, 457s # const gchar *const *arg_arg_ao) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 457s # arg_arg_ao)); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_skeleton_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # g_main_context_unref (skeleton->priv->context); 457s # g_mutex_clear (&skeleton->priv->lock); 457s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 457s # #else 457s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 457s # #endif 457s # 457s # g_mutex_init (&skeleton->priv->lock); 457s # skeleton->priv->context = g_main_context_ref_thread_default (); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusInterfaceSkeletonClass *skeleton_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 457s # 457s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 457s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 457s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 457s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 457s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 457s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_skeleton_new: 457s # * 457s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_skeleton_new (void) 457s # { 457s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 457s # } 457s # /tmp/tmpixaejxpu/tmp83751uvz.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmp83751uvz.xml', '--output', '-', '--body'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifdef HAVE_CONFIG_H 457s # # include "config.h" 457s # #endif 457s # 457s # #include 457s # #ifdef G_OS_UNIX 457s # # include 457s # #endif 457s # 457s # #ifdef G_ENABLE_DEBUG 457s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 457s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 457s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 457s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 457s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 457s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 457s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 457s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 457s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 457s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 457s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 457s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 457s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 457s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 457s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 457s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 457s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 457s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 457s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 457s # #else /* !G_ENABLE_DEBUG */ 457s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 457s # * Do not access GValues directly in your code. Instead, use the 457s # * g_value_get_*() functions 457s # */ 457s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 457s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 457s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 457s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 457s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 457s # #endif /* !G_ENABLE_DEBUG */ 457s # 457s # typedef struct 457s # { 457s # GDBusArgInfo parent_struct; 457s # gboolean use_gvariant; 457s # } _ExtendedGDBusArgInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusMethodInfo parent_struct; 457s # const gchar *signal_name; 457s # gboolean pass_fdlist; 457s # } _ExtendedGDBusMethodInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusSignalInfo parent_struct; 457s # const gchar *signal_name; 457s # } _ExtendedGDBusSignalInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusPropertyInfo parent_struct; 457s # const gchar *hyphen_name; 457s # guint use_gvariant : 1; 457s # guint emits_changed_signal : 1; 457s # } _ExtendedGDBusPropertyInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusInterfaceInfo parent_struct; 457s # const gchar *hyphen_name; 457s # } _ExtendedGDBusInterfaceInfo; 457s # 457s # typedef struct 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # guint prop_id; 457s # GValue orig_value; /* the value before the change */ 457s # } ChangedProperty; 457s # 457s # static void 457s # _changed_property_free (ChangedProperty *data) 457s # { 457s # g_value_unset (&data->orig_value); 457s # g_free (data); 457s # } 457s # 457s # static gboolean 457s # _g_strv_equal0 (gchar **a, gchar **b) 457s # { 457s # gboolean ret = FALSE; 457s # guint n; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # if (g_strv_length (a) != g_strv_length (b)) 457s # goto out; 457s # for (n = 0; a[n] != NULL; n++) 457s # if (g_strcmp0 (a[n], b[n]) != 0) 457s # goto out; 457s # ret = TRUE; 457s # out: 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _g_variant_equal0 (GVariant *a, GVariant *b) 457s # { 457s # gboolean ret = FALSE; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # ret = g_variant_equal (a, b); 457s # out: 457s # return ret; 457s # } 457s # 457s # G_GNUC_UNUSED static gboolean 457s # _g_value_equal (const GValue *a, const GValue *b) 457s # { 457s # gboolean ret = FALSE; 457s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 457s # switch (G_VALUE_TYPE (a)) 457s # { 457s # case G_TYPE_BOOLEAN: 457s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 457s # break; 457s # case G_TYPE_UCHAR: 457s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 457s # break; 457s # case G_TYPE_INT: 457s # ret = (g_value_get_int (a) == g_value_get_int (b)); 457s # break; 457s # case G_TYPE_UINT: 457s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 457s # break; 457s # case G_TYPE_INT64: 457s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 457s # break; 457s # case G_TYPE_UINT64: 457s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 457s # break; 457s # case G_TYPE_DOUBLE: 457s # { 457s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 457s # gdouble da = g_value_get_double (a); 457s # gdouble db = g_value_get_double (b); 457s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 457s # } 457s # break; 457s # case G_TYPE_STRING: 457s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 457s # break; 457s # case G_TYPE_VARIANT: 457s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 457s # break; 457s # default: 457s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 457s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 457s # else 457s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 457s # break; 457s # } 457s # return ret; 457s # } 457s # 457s # /* ------------------------------------------------------------------------ 457s # * Code for interface org.project.SignalingIface 457s # * ------------------------------------------------------------------------ 457s # */ 457s # 457s # /** 457s # * SECTION:OrgProjectSignalingIface 457s # * @title: OrgProjectSignalingIface 457s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 457s # * 457s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 457s # */ 457s # 457s # enum 457s # { 457s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 457s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 457s # }; 457s # 457s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 457s # 457s # /* ---- Introspection data for org.project.SignalingIface ---- */ 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SimpleSignal", 457s # NULL, 457s # NULL 457s # }, 457s # "simple-signal" 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 457s # { 457s # { 457s # -1, 457s # (gchar *) "arg_aay", 457s # (gchar *) "aay", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SingleArgSignalAay", 457s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 457s # NULL 457s # }, 457s # "single-arg-signal-aay" 457s # }; 457s # 457s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 457s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 457s # { 457s # { 457s # -1, 457s # (gchar *) "org.project.SignalingIface", 457s # NULL, 457s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 457s # NULL, 457s # NULL 457s # }, 457s # "org-project-signaling-iface", 457s # }; 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_interface_info: 457s # * 457s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 457s # * 457s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 457s # */ 457s # GDBusInterfaceInfo * 457s # org_project_signaling_iface_interface_info (void) 457s # { 457s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_override_properties: 457s # * @klass: The class structure for a #GObject derived class. 457s # * @property_id_begin: The property id to assign to the first overridden property. 457s # * 457s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 457s # * The properties are overridden in the order they are defined. 457s # * 457s # * Returns: The last property id. 457s # */ 457s # guint 457s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 457s # { 457s # return property_id_begin - 1; 457s # } 457s # 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_simple_signal ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__VOID (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__BOXED (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # 457s # /** 457s # * OrgProjectSignalingIface: 457s # * 457s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceIface: 457s # * @parent_iface: The parent interface. 457s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 457s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 457s # * 457s # * Virtual table for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 457s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 457s # 457s # static void 457s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # /* GObject signals for received D-Bus signals: */ 457s # /** 457s # * OrgProjectSignalingIface::simple-signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 457s # g_signal_new ("simple-signal", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_simple_signal, 457s # G_TYPE_NONE, 457s # 0); 457s # 457s # /** 457s # * OrgProjectSignalingIface::single-arg-signal-aay: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_arg_aay: Argument. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 457s # g_signal_new ("single-arg-signal-aay", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 457s # G_TYPE_NONE, 457s # 1, G_TYPE_STRV); 457s # 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_simple_signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * Emits the "SimpleSignal" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_single_arg_signal_aay: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_arg_aay: Argument to pass with the signal. 457s # * 457s # * Emits the "SingleArgSignalAay" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_single_arg_signal_aay ( 457s # OrgProjectSignalingIface *object, 457s # const gchar *const *arg_arg_aay) 457s # { 457s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxy: 457s # * 457s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxyClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceProxy. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceProxyPrivate 457s # { 457s # GData *qdata; 457s # }; 457s # 457s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_proxy_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 457s # g_datalist_clear (&proxy->priv->qdata); 457s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # const GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 457s # const gchar *sender_name G_GNUC_UNUSED, 457s # const gchar *signal_name, 457s # GVariant *parameters) 457s # { 457s # _ExtendedGDBusSignalInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # gsize n; 457s # guint signal_id; 457s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 457s # if (info == NULL) 457s # return; 457s # num_params = g_variant_n_children (parameters); 457s # paramv = g_new0 (GValue, num_params + 1); 457s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[0], proxy); 457s # g_variant_iter_init (&iter, parameters); 457s # n = 1; 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_signal_emitv (paramv, signal_id, 0, NULL); 457s # for (n = 0; n < num_params + 1; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 457s # GVariant *changed_properties, 457s # const gchar *const *invalidated_properties) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 457s # guint n; 457s # const gchar *key; 457s # GVariantIter *iter; 457s # _ExtendedGDBusPropertyInfo *info; 457s # g_variant_get (changed_properties, "a{sv}", &iter); 457s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 457s # g_datalist_remove_data (&proxy->priv->qdata, key); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # g_variant_iter_free (iter); 457s # for (n = 0; invalidated_properties[n] != NULL; n++) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 457s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 457s # #else 457s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 457s # #endif 457s # 457s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusProxyClass *proxy_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 457s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 457s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 457s # 457s # proxy_class = G_DBUS_PROXY_CLASS (klass); 457s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 457s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_sync: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_sync: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeleton: 457s # * 457s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeletonClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceSkeletonPrivate 457s # { 457s # GValue *properties; 457s # GList *changed_properties; 457s # GSource *changed_properties_idle_source; 457s # GMainContext *context; 457s # GMutex lock; 457s # }; 457s # 457s # static void 457s # _org_project_signaling_iface_skeleton_handle_method_call ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name, 457s # const gchar *method_name, 457s # GVariant *parameters, 457s # GDBusMethodInvocation *invocation, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # _ExtendedGDBusMethodInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # guint num_extra; 457s # gsize n; 457s # guint signal_id; 457s # GValue return_value = G_VALUE_INIT; 457s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 457s # g_assert (info != NULL); 457s # num_params = g_variant_n_children (parameters); 457s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 457s # n = 0; 457s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[n++], skeleton); 457s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 457s # g_value_set_object (¶mv[n++], invocation); 457s # if (info->pass_fdlist) 457s # { 457s # #ifdef G_OS_UNIX 457s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 457s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 457s # #else 457s # g_assert_not_reached (); 457s # #endif 457s # } 457s # g_variant_iter_init (&iter, parameters); 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_init (&return_value, G_TYPE_BOOLEAN); 457s # g_signal_emitv (paramv, signal_id, 0, &return_value); 457s # if (!g_value_get_boolean (&return_value)) 457s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 457s # g_value_unset (&return_value); 457s # for (n = 0; n < num_params + num_extra; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static GVariant * 457s # _org_project_signaling_iface_skeleton_handle_get_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # GVariant *ret; 457s # ret = NULL; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # g_value_init (&value, pspec->value_type); 457s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_value_unset (&value); 457s # } 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _org_project_signaling_iface_skeleton_handle_set_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GVariant *variant, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # gboolean ret; 457s # ret = FALSE; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # if (info->use_gvariant) 457s # g_value_set_variant (&value, variant); 457s # else 457s # g_dbus_gvariant_to_gvalue (variant, &value); 457s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # g_value_unset (&value); 457s # ret = TRUE; 457s # } 457s # return ret; 457s # } 457s # 457s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 457s # { 457s # _org_project_signaling_iface_skeleton_handle_method_call, 457s # _org_project_signaling_iface_skeleton_handle_get_property, 457s # _org_project_signaling_iface_skeleton_handle_set_property, 457s # {NULL} 457s # }; 457s # 457s # static GDBusInterfaceInfo * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return org_project_signaling_iface_interface_info (); 457s # } 457s # 457s # static GDBusInterfaceVTable * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 457s # } 457s # 457s # static GVariant * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 457s # 457s # GVariantBuilder builder; 457s # guint n; 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 457s # goto out; 457s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 457s # { 457s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 457s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 457s # { 457s # GVariant *value; 457s # 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); 457s # if (value != NULL) 457s # { 457s # g_variant_take_ref (value); 457s # g_variant_builder_add (&builder, "{sv}", info->name, value); 457s # g_variant_unref (value); 457s # } 457s # } 457s # } 457s # out: 457s # return g_variant_builder_end (&builder); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 457s # OrgProjectSignalingIface *object, 457s # const gchar *const *arg_arg_aay) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 457s # arg_arg_aay)); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_skeleton_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # g_main_context_unref (skeleton->priv->context); 457s # g_mutex_clear (&skeleton->priv->lock); 457s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 457s # #else 457s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 457s # #endif 457s # 457s # g_mutex_init (&skeleton->priv->lock); 457s # skeleton->priv->context = g_main_context_ref_thread_default (); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusInterfaceSkeletonClass *skeleton_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 457s # 457s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 457s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 457s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 457s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 457s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 457s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_skeleton_new: 457s # * 457s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_skeleton_new (void) 457s # { 457s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 457s # } 457s # /tmp/tmpixaejxpu/tmpmcd3d8zd.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixaejxpu/tmpmcd3d8zd.xml', '--output', '-', '--body'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifdef HAVE_CONFIG_H 457s # # include "config.h" 457s # #endif 457s # 457s # #include 457s # #ifdef G_OS_UNIX 457s # # include 457s # #endif 457s # 457s # #ifdef G_ENABLE_DEBUG 457s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 457s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 457s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 457s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 457s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 457s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 457s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 457s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 457s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 457s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 457s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 457s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 457s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 457s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 457s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 457s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 457s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 457s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 457s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 457s # #else /* !G_ENABLE_DEBUG */ 457s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 457s # * Do not access GValues directly in your code. Instead, use the 457s # * g_value_get_*() functions 457s # */ 457s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 457s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 457s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 457s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 457s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 457s # #endif /* !G_ENABLE_DEBUG */ 457s # 457s # typedef struct 457s # { 457s # GDBusArgInfo parent_struct; 457s # gboolean use_gvariant; 457s # } _ExtendedGDBusArgInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusMethodInfo parent_struct; 457s # const gchar *signal_name; 457s # gboolean pass_fdlist; 457s # } _ExtendedGDBusMethodInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusSignalInfo parent_struct; 457s # const gchar *signal_name; 457s # } _ExtendedGDBusSignalInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusPropertyInfo parent_struct; 457s # const gchar *hyphen_name; 457s # guint use_gvariant : 1; 457s # guint emits_changed_signal : 1; 457s # } _ExtendedGDBusPropertyInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusInterfaceInfo parent_struct; 457s # const gchar *hyphen_name; 457s # } _ExtendedGDBusInterfaceInfo; 457s # 457s # typedef struct 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # guint prop_id; 457s # GValue orig_value; /* the value before the change */ 457s # } ChangedProperty; 457s # 457s # static void 457s # _changed_property_free (ChangedProperty *data) 457s # { 457s # g_value_unset (&data->orig_value); 457s # g_free (data); 457s # } 457s # 457s # static gboolean 457s # _g_strv_equal0 (gchar **a, gchar **b) 457s # { 457s # gboolean ret = FALSE; 457s # guint n; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # if (g_strv_length (a) != g_strv_length (b)) 457s # goto out; 457s # for (n = 0; a[n] != NULL; n++) 457s # if (g_strcmp0 (a[n], b[n]) != 0) 457s # goto out; 457s # ret = TRUE; 457s # out: 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _g_variant_equal0 (GVariant *a, GVariant *b) 457s # { 457s # gboolean ret = FALSE; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # ret = g_variant_equal (a, b); 457s # out: 457s # return ret; 457s # } 457s # 457s # G_GNUC_UNUSED static gboolean 457s # _g_value_equal (const GValue *a, const GValue *b) 457s # { 457s # gboolean ret = FALSE; 457s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 457s # switch (G_VALUE_TYPE (a)) 457s # { 457s # case G_TYPE_BOOLEAN: 457s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 457s # break; 457s # case G_TYPE_UCHAR: 457s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 457s # break; 457s # case G_TYPE_INT: 457s # ret = (g_value_get_int (a) == g_value_get_int (b)); 457s # break; 457s # case G_TYPE_UINT: 457s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 457s # break; 457s # case G_TYPE_INT64: 457s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 457s # break; 457s # case G_TYPE_UINT64: 457s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 457s # break; 457s # case G_TYPE_DOUBLE: 457s # { 457s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 457s # gdouble da = g_value_get_double (a); 457s # gdouble db = g_value_get_double (b); 457s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 457s # } 457s # break; 457s # case G_TYPE_STRING: 457s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 457s # break; 457s # case G_TYPE_VARIANT: 457s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 457s # break; 457s # default: 457s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 457s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 457s # else 457s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 457s # break; 457s # } 457s # return ret; 457s # } 457s # 457s # /* ------------------------------------------------------------------------ 457s # * Code for interface org.project.SignalingIface 457s # * ------------------------------------------------------------------------ 457s # */ 457s # 457s # /** 457s # * SECTION:OrgProjectSignalingIface 457s # * @title: OrgProjectSignalingIface 457s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 457s # * 457s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 457s # */ 457s # 457s # enum 457s # { 457s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 457s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 457s # }; 457s # 457s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 457s # 457s # /* ---- Introspection data for org.project.SignalingIface ---- */ 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SimpleSignal", 457s # NULL, 457s # NULL 457s # }, 457s # "simple-signal" 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 457s # { 457s # { 457s # -1, 457s # (gchar *) "arg_asv", 457s # (gchar *) "a{sv}", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SingleArgSignalAsv", 457s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 457s # NULL 457s # }, 457s # "single-arg-signal-asv" 457s # }; 457s # 457s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 457s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 457s # { 457s # { 457s # -1, 457s # (gchar *) "org.project.SignalingIface", 457s # NULL, 457s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 457s # NULL, 457s # NULL 457s # }, 457s # "org-project-signaling-iface", 457s # }; 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_interface_info: 457s # * 457s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 457s # * 457s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 457s # */ 457s # GDBusInterfaceInfo * 457s # org_project_signaling_iface_interface_info (void) 457s # { 457s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_override_properties: 457s # * @klass: The class structure for a #GObject derived class. 457s # * @property_id_begin: The property id to assign to the first overridden property. 457s # * 457s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 457s # * The properties are overridden in the order they are defined. 457s # * 457s # * Returns: The last property id. 457s # */ 457s # guint 457s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 457s # { 457s # return property_id_begin - 1; 457s # } 457s # 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_simple_signal ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__VOID (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__VARIANT (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # 457s # /** 457s # * OrgProjectSignalingIface: 457s # * 457s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceIface: 457s # * @parent_iface: The parent interface. 457s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 457s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 457s # * 457s # * Virtual table for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 457s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 457s # 457s # static void 457s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # /* GObject signals for received D-Bus signals: */ 457s # /** 457s # * OrgProjectSignalingIface::simple-signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 457s # g_signal_new ("simple-signal", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_simple_signal, 457s # G_TYPE_NONE, 457s # 0); 457s # 457s # /** 457s # * OrgProjectSignalingIface::single-arg-signal-asv: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_arg_asv: Argument. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 457s # g_signal_new ("single-arg-signal-asv", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 457s # G_TYPE_NONE, 457s # 1, G_TYPE_VARIANT); 457s # 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_simple_signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * Emits the "SimpleSignal" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_single_arg_signal_asv: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_arg_asv: Argument to pass with the signal. 457s # * 457s # * Emits the "SingleArgSignalAsv" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_single_arg_signal_asv ( 457s # OrgProjectSignalingIface *object, 457s # GVariant *arg_arg_asv) 457s # { 457s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxy: 457s # * 457s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxyClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceProxy. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceProxyPrivate 457s # { 457s # GData *qdata; 457s # }; 457s # 457s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_proxy_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 457s # g_datalist_clear (&proxy->priv->qdata); 457s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # const GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 457s # const gchar *sender_name G_GNUC_UNUSED, 457s # const gchar *signal_name, 457s # GVariant *parameters) 457s # { 457s # _ExtendedGDBusSignalInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # gsize n; 457s # guint signal_id; 457s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 457s # if (info == NULL) 457s # return; 457s # num_params = g_variant_n_children (parameters); 457s # paramv = g_new0 (GValue, num_params + 1); 457s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[0], proxy); 457s # g_variant_iter_init (&iter, parameters); 457s # n = 1; 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_signal_emitv (paramv, signal_id, 0, NULL); 457s # for (n = 0; n < num_params + 1; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 457s # GVariant *changed_properties, 457s # const gchar *const *invalidated_properties) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 457s # guint n; 457s # const gchar *key; 457s # GVariantIter *iter; 457s # _ExtendedGDBusPropertyInfo *info; 457s # g_variant_get (changed_properties, "a{sv}", &iter); 457s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 457s # g_datalist_remove_data (&proxy->priv->qdata, key); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # g_variant_iter_free (iter); 457s # for (n = 0; invalidated_properties[n] != NULL; n++) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 457s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 457s # #else 457s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 457s # #endif 457s # 457s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusProxyClass *proxy_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 457s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 457s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 457s # 457s # proxy_class = G_DBUS_PROXY_CLASS (klass); 457s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 457s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_sync: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_sync: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeleton: 457s # * 457s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeletonClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceSkeletonPrivate 457s # { 457s # GValue *properties; 457s # GList *changed_properties; 457s # GSource *changed_properties_idle_source; 457s # GMainContext *context; 457s # GMutex lock; 457s # }; 457s # 457s # static void 457s # _org_project_signaling_iface_skeleton_handle_method_call ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name, 457s # const gchar *method_name, 457s # GVariant *parameters, 457s # GDBusMethodInvocation *invocation, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # _ExtendedGDBusMethodInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # guint num_extra; 457s # gsize n; 457s # guint signal_id; 457s # GValue return_value = G_VALUE_INIT; 457s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 457s # g_assert (info != NULL); 457s # num_params = g_variant_n_children (parameters); 457s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 457s # n = 0; 457s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[n++], skeleton); 457s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 457s # g_value_set_object (¶mv[n++], invocation); 457s # if (info->pass_fdlist) 457s # { 457s # #ifdef G_OS_UNIX 457s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 457s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 457s # #else 457s # g_assert_not_reached (); 457s # #endif 457s # } 457s # g_variant_iter_init (&iter, parameters); 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_init (&return_value, G_TYPE_BOOLEAN); 457s # g_signal_emitv (paramv, signal_id, 0, &return_value); 457s # if (!g_value_get_boolean (&return_value)) 457s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 457s # g_value_unset (&return_value); 457s # for (n = 0; n < num_params + num_extra; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static GVariant * 457s # _org_project_signaling_iface_skeleton_handle_get_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # GVariant *ret; 457s # ret = NULL; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # g_value_init (&value, pspec->value_type); 457s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_value_unset (&value); 457s # } 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _org_project_signaling_iface_skeleton_handle_set_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GVariant *variant, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # gboolean ret; 457s # ret = FALSE; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # if (info->use_gvariant) 457s # g_value_set_variant (&value, variant); 457s # else 457s # g_dbus_gvariant_to_gvalue (variant, &value); 457s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # g_value_unset (&value); 457s # ret = TRUE; 457s # } 457s # return ret; 457s # } 457s # 457s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 457s # { 457s # _org_project_signaling_iface_skeleton_handle_method_call, 457s # _org_project_signaling_iface_skeleton_handle_get_property, 457s # _org_project_signaling_iface_skeleton_handle_set_property, 457s # {NULL} 457s # }; 457s # 457s # static GDBusInterfaceInfo * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return org_project_signaling_iface_interface_info (); 457s # } 457s # 457s # static GDBusInterfaceVTable * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 457s # } 457s # 457s # static GVariant * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 457s # 457s # GVariantBuilder builder; 457s # guint n; 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 457s # goto out; 457s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 457s # { 457s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 457s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 457s # { 457s # GVariant *value; 457s # 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); 457s # if (value != NULL) 457s # { 457s # g_variant_take_ref (value); 457s # g_variant_builder_add (&builder, "{sv}", info->name, value); 457s # g_variant_unref (value); 457s # } 457s # } 457s # } 457s # out: 457s # return g_variant_builder_end (&builder); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 457s # OrgProjectSignalingIface *object, 457s # GVariant *arg_arg_asv) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 457s # arg_arg_asv)); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_skeleton_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # g_main_context_unref (skeleton->priv->context); 457s # g_mutex_clear (&skeleton->priv->lock); 457s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 457s # #else 457s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 457s # #endif 457s # 457s # g_mutex_init (&skeleton->priv->lock); 457s # skeleton->priv->context = g_main_context_ref_thread_default (); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusInterfaceSkeletonClass *skeleton_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 457s # 457s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 457s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 457s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 457s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 457s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 457s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_skeleton_new: 457s # * 457s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_skeleton_new (void) 457s # { 457s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 457s # } 457s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 457s # tmpdir: /tmp/tmpimqyc4pl 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmpimqyc4pl/tmp4jli5m69.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpimqyc4pl/tmp4jli5m69.xml', '--output', '-', '--body'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifdef HAVE_CONFIG_H 457s # # include "config.h" 457s # #endif 457s # 457s # #include 457s # #ifdef G_OS_UNIX 457s # # include 457s # #endif 457s # 457s # #ifdef G_ENABLE_DEBUG 457s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 457s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 457s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 457s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 457s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 457s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 457s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 457s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 457s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 457s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 457s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 457s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 457s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 457s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 457s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 457s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 457s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 457s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 457s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 457s # #else /* !G_ENABLE_DEBUG */ 457s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 457s # * Do not access GValues directly in your code. Instead, use the 457s # * g_value_get_*() functions 457s # */ 457s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 457s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 457s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 457s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 457s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 457s # #endif /* !G_ENABLE_DEBUG */ 457s # 457s # typedef struct 457s # { 457s # GDBusArgInfo parent_struct; 457s # gboolean use_gvariant; 457s # } _ExtendedGDBusArgInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusMethodInfo parent_struct; 457s # const gchar *signal_name; 457s # gboolean pass_fdlist; 457s # } _ExtendedGDBusMethodInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusSignalInfo parent_struct; 457s # const gchar *signal_name; 457s # } _ExtendedGDBusSignalInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusPropertyInfo parent_struct; 457s # const gchar *hyphen_name; 457s # guint use_gvariant : 1; 457s # guint emits_changed_signal : 1; 457s # } _ExtendedGDBusPropertyInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusInterfaceInfo parent_struct; 457s # const gchar *hyphen_name; 457s # } _ExtendedGDBusInterfaceInfo; 457s # 457s # typedef struct 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # guint prop_id; 457s # GValue orig_value; /* the value before the change */ 457s # } ChangedProperty; 457s # 457s # static void 457s # _changed_property_free (ChangedProperty *data) 457s # { 457s # g_value_unset (&data->orig_value); 457s # g_free (data); 457s # } 457s # 457s # static gboolean 457s # _g_strv_equal0 (gchar **a, gchar **b) 457s # { 457s # gboolean ret = FALSE; 457s # guint n; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # if (g_strv_length (a) != g_strv_length (b)) 457s # goto out; 457s # for (n = 0; a[n] != NULL; n++) 457s # if (g_strcmp0 (a[n], b[n]) != 0) 457s # goto out; 457s # ret = TRUE; 457s # out: 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _g_variant_equal0 (GVariant *a, GVariant *b) 457s # { 457s # gboolean ret = FALSE; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # ret = g_variant_equal (a, b); 457s # out: 457s # return ret; 457s # } 457s # 457s # G_GNUC_UNUSED static gboolean 457s # _g_value_equal (const GValue *a, const GValue *b) 457s # { 457s # gboolean ret = FALSE; 457s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 457s # switch (G_VALUE_TYPE (a)) 457s # { 457s # case G_TYPE_BOOLEAN: 457s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 457s # break; 457s # case G_TYPE_UCHAR: 457s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 457s # break; 457s # case G_TYPE_INT: 457s # ret = (g_value_get_int (a) == g_value_get_int (b)); 457s # break; 457s # case G_TYPE_UINT: 457s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 457s # break; 457s # case G_TYPE_INT64: 457s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 457s # break; 457s # case G_TYPE_UINT64: 457s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 457s # break; 457s # case G_TYPE_DOUBLE: 457s # { 457s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 457s # gdouble da = g_value_get_double (a); 457s # gdouble db = g_value_get_double (b); 457s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 457s # } 457s # break; 457s # case G_TYPE_STRING: 457s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 457s # break; 457s # case G_TYPE_VARIANT: 457s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 457s # break; 457s # default: 457s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 457s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 457s # else 457s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 457s # break; 457s # } 457s # return ret; 457s # } 457s # 457s # static void 457s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 457s # GClosure *closure, 457s # GValue *return_value G_GNUC_UNUSED, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint G_GNUC_UNUSED, 457s # void *marshal_data) 457s # { 457s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 457s # (void *data1, 457s # gboolean arg_an_b, 457s # guchar arg_an_y, 457s # gint16 arg_an_n, 457s # guint16 arg_an_q, 457s # gint arg_an_i, 457s # guint arg_an_u, 457s # gint64 arg_an_x, 457s # guint64 arg_an_t, 457s # gdouble arg_an_d, 457s # const gchar *arg_an_s, 457s # const gchar *arg_an_o, 457s # const gchar *arg_an_g, 457s # GVariant *arg_an_h, 457s # const gchar *arg_an_ay, 457s # const gchar *const *arg_an_as, 457s # const gchar *const *arg_an_ao, 457s # const gchar *const *arg_an_aay, 457s # GVariant *arg_an_asv, 457s # void *data2); 457s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 457s # GCClosure *cc = (GCClosure*) closure; 457s # void *data1, *data2; 457s # 457s # g_return_if_fail (n_param_values == 19); 457s # 457s # if (G_CCLOSURE_SWAP_DATA (closure)) 457s # { 457s # data1 = closure->data; 457s # data2 = g_value_peek_pointer (param_values + 0); 457s # } 457s # else 457s # { 457s # data1 = g_value_peek_pointer (param_values + 0); 457s # data2 = closure->data; 457s # } 457s # 457s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 457s # (marshal_data ? marshal_data : cc->callback); 457s # 457s # callback (data1, 457s # g_marshal_value_peek_boolean (param_values + 1), 457s # g_marshal_value_peek_uchar (param_values + 2), 457s # g_marshal_value_peek_int (param_values + 3), 457s # g_marshal_value_peek_uint (param_values + 4), 457s # g_marshal_value_peek_int (param_values + 5), 457s # g_marshal_value_peek_uint (param_values + 6), 457s # g_marshal_value_peek_int64 (param_values + 7), 457s # g_marshal_value_peek_uint64 (param_values + 8), 457s # g_marshal_value_peek_double (param_values + 9), 457s # g_marshal_value_peek_string (param_values + 10), 457s # g_marshal_value_peek_string (param_values + 11), 457s # g_marshal_value_peek_string (param_values + 12), 457s # g_marshal_value_peek_variant (param_values + 13), 457s # g_marshal_value_peek_string (param_values + 14), 457s # g_marshal_value_peek_boxed (param_values + 15), 457s # g_marshal_value_peek_boxed (param_values + 16), 457s # g_marshal_value_peek_boxed (param_values + 17), 457s # g_marshal_value_peek_variant (param_values + 18), 457s # data2); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ 457s # * Code for interface org.project.SignalingIface 457s # * ------------------------------------------------------------------------ 457s # */ 457s # 457s # /** 457s # * SECTION:OrgProjectSignalingIface 457s # * @title: OrgProjectSignalingIface 457s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 457s # * 457s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 457s # */ 457s # 457s # enum 457s # { 457s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 457s # }; 457s # 457s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 457s # 457s # /* ---- Introspection data for org.project.SignalingIface ---- */ 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SimpleSignal", 457s # NULL, 457s # NULL 457s # }, 457s # "simple-signal" 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_b", 457s # (gchar *) "b", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_y", 457s # (gchar *) "y", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_n", 457s # (gchar *) "n", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_q", 457s # (gchar *) "q", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_i", 457s # (gchar *) "i", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_u", 457s # (gchar *) "u", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_x", 457s # (gchar *) "x", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_t", 457s # (gchar *) "t", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_d", 457s # (gchar *) "d", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_s", 457s # (gchar *) "s", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_o", 457s # (gchar *) "o", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_g", 457s # (gchar *) "g", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_h", 457s # (gchar *) "h", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_ay", 457s # (gchar *) "ay", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_as", 457s # (gchar *) "as", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_ao", 457s # (gchar *) "ao", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_aay", 457s # (gchar *) "aay", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 457s # { 457s # { 457s # -1, 457s # (gchar *) "an_asv", 457s # (gchar *) "a{sv}", 457s # NULL 457s # }, 457s # FALSE 457s # }; 457s # 457s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 457s # { 457s # { 457s # -1, 457s # (gchar *) "SignalWithManyArgs", 457s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 457s # NULL 457s # }, 457s # "signal-with-many-args" 457s # }; 457s # 457s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 457s # { 457s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 457s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 457s # { 457s # { 457s # -1, 457s # (gchar *) "org.project.SignalingIface", 457s # NULL, 457s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 457s # NULL, 457s # NULL 457s # }, 457s # "org-project-signaling-iface", 457s # }; 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_interface_info: 457s # * 457s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 457s # * 457s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 457s # */ 457s # GDBusInterfaceInfo * 457s # org_project_signaling_iface_interface_info (void) 457s # { 457s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_override_properties: 457s # * @klass: The class structure for a #GObject derived class. 457s # * @property_id_begin: The property id to assign to the first overridden property. 457s # * 457s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 457s # * The properties are overridden in the order they are defined. 457s # * 457s # * Returns: The last property id. 457s # */ 457s # guint 457s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 457s # { 457s # return property_id_begin - 1; 457s # } 457s # 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_simple_signal ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__VOID (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # 457s # /** 457s # * OrgProjectSignalingIface: 457s # * 457s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceIface: 457s # * @parent_iface: The parent interface. 457s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 457s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 457s # * 457s # * Virtual table for the D-Bus interface org.project.SignalingIface. 457s # */ 457s # 457s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 457s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 457s # 457s # static void 457s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # /* GObject signals for received D-Bus signals: */ 457s # /** 457s # * OrgProjectSignalingIface::simple-signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 457s # g_signal_new ("simple-signal", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_simple_signal, 457s # G_TYPE_NONE, 457s # 0); 457s # 457s # /** 457s # * OrgProjectSignalingIface::signal-with-many-args: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_an_b: Argument. 457s # * @arg_an_y: Argument. 457s # * @arg_an_n: Argument. 457s # * @arg_an_q: Argument. 457s # * @arg_an_i: Argument. 457s # * @arg_an_u: Argument. 457s # * @arg_an_x: Argument. 457s # * @arg_an_t: Argument. 457s # * @arg_an_d: Argument. 457s # * @arg_an_s: Argument. 457s # * @arg_an_o: Argument. 457s # * @arg_an_g: Argument. 457s # * @arg_an_h: Argument. 457s # * @arg_an_ay: Argument. 457s # * @arg_an_as: Argument. 457s # * @arg_an_ao: Argument. 457s # * @arg_an_aay: Argument. 457s # * @arg_an_asv: Argument. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 457s # g_signal_new ("signal-with-many-args", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 457s # NULL, 457s # NULL, 457s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 457s # G_TYPE_NONE, 457s # 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); 457s # 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_simple_signal: 457s # * @object: A #OrgProjectSignalingIface. 457s # * 457s # * Emits the "SimpleSignal" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_emit_signal_with_many_args: 457s # * @object: A #OrgProjectSignalingIface. 457s # * @arg_an_b: Argument to pass with the signal. 457s # * @arg_an_y: Argument to pass with the signal. 457s # * @arg_an_n: Argument to pass with the signal. 457s # * @arg_an_q: Argument to pass with the signal. 457s # * @arg_an_i: Argument to pass with the signal. 457s # * @arg_an_u: Argument to pass with the signal. 457s # * @arg_an_x: Argument to pass with the signal. 457s # * @arg_an_t: Argument to pass with the signal. 457s # * @arg_an_d: Argument to pass with the signal. 457s # * @arg_an_s: Argument to pass with the signal. 457s # * @arg_an_o: Argument to pass with the signal. 457s # * @arg_an_g: Argument to pass with the signal. 457s # * @arg_an_h: Argument to pass with the signal. 457s # * @arg_an_ay: Argument to pass with the signal. 457s # * @arg_an_as: Argument to pass with the signal. 457s # * @arg_an_ao: Argument to pass with the signal. 457s # * @arg_an_aay: Argument to pass with the signal. 457s # * @arg_an_asv: Argument to pass with the signal. 457s # * 457s # * Emits the "SignalWithManyArgs" D-Bus signal. 457s # */ 457s # void 457s # org_project_signaling_iface_emit_signal_with_many_args ( 457s # OrgProjectSignalingIface *object, 457s # gboolean arg_an_b, 457s # guchar arg_an_y, 457s # gint16 arg_an_n, 457s # guint16 arg_an_q, 457s # gint arg_an_i, 457s # guint arg_an_u, 457s # gint64 arg_an_x, 457s # guint64 arg_an_t, 457s # gdouble arg_an_d, 457s # const gchar *arg_an_s, 457s # const gchar *arg_an_o, 457s # const gchar *arg_an_g, 457s # GVariant *arg_an_h, 457s # const gchar *arg_an_ay, 457s # const gchar *const *arg_an_as, 457s # const gchar *const *arg_an_ao, 457s # const gchar *const *arg_an_aay, 457s # GVariant *arg_an_asv) 457s # { 457s # 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); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxy: 457s # * 457s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceProxyClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceProxy. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceProxyPrivate 457s # { 457s # GData *qdata; 457s # }; 457s # 457s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_proxy_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 457s # g_datalist_clear (&proxy->priv->qdata); 457s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # const GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 457s # const gchar *sender_name G_GNUC_UNUSED, 457s # const gchar *signal_name, 457s # GVariant *parameters) 457s # { 457s # _ExtendedGDBusSignalInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # gsize n; 457s # guint signal_id; 457s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 457s # if (info == NULL) 457s # return; 457s # num_params = g_variant_n_children (parameters); 457s # paramv = g_new0 (GValue, num_params + 1); 457s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[0], proxy); 457s # g_variant_iter_init (&iter, parameters); 457s # n = 1; 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_signal_emitv (paramv, signal_id, 0, NULL); 457s # for (n = 0; n < num_params + 1; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 457s # GVariant *changed_properties, 457s # const gchar *const *invalidated_properties) 457s # { 457s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 457s # guint n; 457s # const gchar *key; 457s # GVariantIter *iter; 457s # _ExtendedGDBusPropertyInfo *info; 457s # g_variant_get (changed_properties, "a{sv}", &iter); 457s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 457s # g_datalist_remove_data (&proxy->priv->qdata, key); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # g_variant_iter_free (iter); 457s # for (n = 0; invalidated_properties[n] != NULL; n++) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 457s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 457s # #else 457s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 457s # #endif 457s # 457s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusProxyClass *proxy_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 457s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 457s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 457s # 457s # proxy_class = G_DBUS_PROXY_CLASS (klass); 457s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 457s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_sync: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_signaling_iface_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_proxy_new_for_bus_sync: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_SIGNALING_IFACE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeleton: 457s # * 457s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectSignalingIfaceSkeletonClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 457s # */ 457s # 457s # struct _OrgProjectSignalingIfaceSkeletonPrivate 457s # { 457s # GValue *properties; 457s # GList *changed_properties; 457s # GSource *changed_properties_idle_source; 457s # GMainContext *context; 457s # GMutex lock; 457s # }; 457s # 457s # static void 457s # _org_project_signaling_iface_skeleton_handle_method_call ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name, 457s # const gchar *method_name, 457s # GVariant *parameters, 457s # GDBusMethodInvocation *invocation, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # _ExtendedGDBusMethodInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # guint num_extra; 457s # gsize n; 457s # guint signal_id; 457s # GValue return_value = G_VALUE_INIT; 457s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 457s # g_assert (info != NULL); 457s # num_params = g_variant_n_children (parameters); 457s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 457s # n = 0; 457s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_set_object (¶mv[n++], skeleton); 457s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 457s # g_value_set_object (¶mv[n++], invocation); 457s # if (info->pass_fdlist) 457s # { 457s # #ifdef G_OS_UNIX 457s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 457s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 457s # #else 457s # g_assert_not_reached (); 457s # #endif 457s # } 457s # g_variant_iter_init (&iter, parameters); 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 457s # g_value_init (&return_value, G_TYPE_BOOLEAN); 457s # g_signal_emitv (paramv, signal_id, 0, &return_value); 457s # if (!g_value_get_boolean (&return_value)) 457s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 457s # g_value_unset (&return_value); 457s # for (n = 0; n < num_params + num_extra; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static GVariant * 457s # _org_project_signaling_iface_skeleton_handle_get_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # GVariant *ret; 457s # ret = NULL; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # g_value_init (&value, pspec->value_type); 457s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_value_unset (&value); 457s # } 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _org_project_signaling_iface_skeleton_handle_set_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GVariant *variant, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # gboolean ret; 457s # ret = FALSE; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # if (info->use_gvariant) 457s # g_value_set_variant (&value, variant); 457s # else 457s # g_dbus_gvariant_to_gvalue (variant, &value); 457s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # g_value_unset (&value); 457s # ret = TRUE; 457s # } 457s # return ret; 457s # } 457s # 457s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 457s # { 457s # _org_project_signaling_iface_skeleton_handle_method_call, 457s # _org_project_signaling_iface_skeleton_handle_get_property, 457s # _org_project_signaling_iface_skeleton_handle_set_property, 457s # {NULL} 457s # }; 457s # 457s # static GDBusInterfaceInfo * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return org_project_signaling_iface_interface_info (); 457s # } 457s # 457s # static GDBusInterfaceVTable * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 457s # } 457s # 457s # static GVariant * 457s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 457s # 457s # GVariantBuilder builder; 457s # guint n; 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 457s # goto out; 457s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 457s # { 457s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 457s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 457s # { 457s # GVariant *value; 457s # 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); 457s # if (value != NULL) 457s # { 457s # g_variant_take_ref (value); 457s # g_variant_builder_add (&builder, "{sv}", info->name, value); 457s # g_variant_unref (value); 457s # } 457s # } 457s # } 457s # out: 457s # return g_variant_builder_end (&builder); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_simple_signal ( 457s # OrgProjectSignalingIface *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void 457s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 457s # OrgProjectSignalingIface *object, 457s # gboolean arg_an_b, 457s # guchar arg_an_y, 457s # gint16 arg_an_n, 457s # guint16 arg_an_q, 457s # gint arg_an_i, 457s # guint arg_an_u, 457s # gint64 arg_an_x, 457s # guint64 arg_an_t, 457s # gdouble arg_an_d, 457s # const gchar *arg_an_s, 457s # const gchar *arg_an_o, 457s # const gchar *arg_an_g, 457s # GVariant *arg_an_h, 457s # const gchar *arg_an_ay, 457s # const gchar *const *arg_an_as, 457s # const gchar *const *arg_an_ao, 457s # const gchar *const *arg_an_aay, 457s # GVariant *arg_an_asv) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 457s # arg_an_b, 457s # arg_an_y, 457s # arg_an_n, 457s # arg_an_q, 457s # arg_an_i, 457s # arg_an_u, 457s # arg_an_x, 457s # arg_an_t, 457s # arg_an_d, 457s # arg_an_s, 457s # arg_an_o, 457s # arg_an_g, 457s # arg_an_h, 457s # arg_an_ay, 457s # arg_an_as, 457s # arg_an_ao, 457s # arg_an_aay, 457s # arg_an_asv)); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_signaling_iface_skeleton_finalize (GObject *object) 457s # { 457s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # g_main_context_unref (skeleton->priv->context); 457s # g_mutex_clear (&skeleton->priv->lock); 457s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 457s # #else 457s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 457s # #endif 457s # 457s # g_mutex_init (&skeleton->priv->lock); 457s # skeleton->priv->context = g_main_context_ref_thread_default (); 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusInterfaceSkeletonClass *skeleton_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 457s # 457s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 457s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 457s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 457s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 457s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 457s # { 457s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 457s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 457s # } 457s # 457s # /** 457s # * org_project_signaling_iface_skeleton_new: 457s # * 457s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 457s # * 457s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 457s # */ 457s # OrgProjectSignalingIface * 457s # org_project_signaling_iface_skeleton_new (void) 457s # { 457s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 457s # } 457s ok 25 __main__.TestCodegen.test_generate_valid_docbook 457s # tmpdir: /tmp/tmpzlnz79xl 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmpzlnz79xl/tmpa5m8pu7n.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzlnz79xl/tmpa5m8pu7n.xml', '--generate-docbook', 'test'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: 457s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 457s # tmpdir: /tmp/tmp2redyxaw 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmp2redyxaw/tmp097vx0ve.xml: 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2redyxaw/tmp097vx0ve.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 457s # tmpdir: /tmp/tmpja5z45mz 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmpja5z45mz/tmpdoeq63f0.xml: 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpja5z45mz/tmpdoeq63f0.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifndef __STDOUT__ 457s # #define __STDOUT__ 457s # 457s # #include 457s # 457s # G_BEGIN_DECLS 457s # 457s # 457s # G_END_DECLS 457s # 457s # #endif /* __STDOUT__ */ 457s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 457s # tmpdir: /tmp/tmpwhbuturn 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmpwhbuturn/tmpsav7oh13.xml: 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwhbuturn/tmpsav7oh13.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 457s # tmpdir: /tmp/tmpeuk06a4d 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmpeuk06a4d/tmp424jx27o.xml: 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpeuk06a4d/tmp424jx27o.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifndef __STDOUT__ 457s # #define __STDOUT__ 457s # 457s # #include 457s # 457s # G_BEGIN_DECLS 457s # 457s # 457s # G_END_DECLS 457s # 457s # #endif /* __STDOUT__ */ 457s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 457s # tmpdir: /tmp/tmp5qiks_v9 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmp5qiks_v9/tmp9yz474v3.xml: 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5qiks_v9/tmp9yz474v3.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifndef __STDOUT__ 457s # #define __STDOUT__ 457s # 457s # #include 457s # 457s # G_BEGIN_DECLS 457s # 457s # 457s # G_END_DECLS 457s # 457s # #endif /* __STDOUT__ */ 457s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 457s # tmpdir: /tmp/tmpwrwm02qj 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmpwrwm02qj/tmp8fak9z6f.xml: 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwrwm02qj/tmp8fak9z6f.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 457s # tmpdir: /tmp/tmpf7edllc3 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmpf7edllc3/tmp7cp41z2v.xml: 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf7edllc3/tmp7cp41z2v.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifndef __STDOUT__ 457s # #define __STDOUT__ 457s # 457s # #include 457s # 457s # G_BEGIN_DECLS 457s # 457s # 457s # G_END_DECLS 457s # 457s # #endif /* __STDOUT__ */ 457s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 457s # tmpdir: /tmp/tmpzw_acpbl 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmpzw_acpbl/tmpi7sxutgw.xml: 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzw_acpbl/tmpi7sxutgw.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 457s # tmpdir: /tmp/tmpqw6fzkw9 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmpqw6fzkw9/tmpcm8clc4d.xml: 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqw6fzkw9/tmpcm8clc4d.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifndef __STDOUT__ 457s # #define __STDOUT__ 457s # 457s # #include 457s # 457s # G_BEGIN_DECLS 457s # 457s # 457s # G_END_DECLS 457s # 457s # #endif /* __STDOUT__ */ 457s ok 35 __main__.TestCodegen.test_help 457s # tmpdir: /tmp/tmpxlfetzoh 457s # codegen: /usr/bin/gdbus-codegen 457s # Running: ['/usr/bin/gdbus-codegen', '--help'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 457s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 457s # [--c-generate-autocleanup {none,objects,all}] 457s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 457s # [--generate-rst OUTFILES] [--pragma-once] 457s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 457s # [--glib-min-required VERSION] 457s # [--glib-max-allowed VERSION] 457s # [--symbol-decorator SYMBOL_DECORATOR] 457s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 457s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 457s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 457s # [--output FILE | --output-directory OUTDIR] 457s # FILE [FILE ...] 457s # 457s # D-Bus code and documentation generator 457s # 457s # positional arguments: 457s # FILE D-Bus introspection XML file 457s # 457s # options: 457s # -h, --help show this help message and exit 457s # --interface-prefix PREFIX 457s # String to strip from D-Bus interface names for code 457s # and docs 457s # --c-namespace NAMESPACE 457s # The namespace to use for generated C code 457s # --c-generate-object-manager 457s # Generate a GDBusObjectManagerClient subclass when 457s # generating C code 457s # --c-generate-autocleanup {none,objects,all} 457s # Generate autocleanup support 457s # --generate-docbook OUTFILES 457s # Generate Docbook in OUTFILES-org.Project.IFace.xml 457s # --generate-md OUTFILES 457s # Generate Markdown in OUTFILES-org.Project.IFace.md 457s # --generate-rst OUTFILES 457s # Generate reStructuredText in OUTFILES- 457s # org.Project.IFace.rst 457s # --pragma-once Use "pragma once" as the inclusion guard 457s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 457s # Add annotation (may be used several times) 457s # --glib-min-required VERSION 457s # Minimum version of GLib to be supported by the 457s # outputted code (default: 2.30) 457s # --glib-max-allowed VERSION 457s # Maximum version of GLib to be used by the outputted 457s # code (default: current GLib version) 457s # --symbol-decorator SYMBOL_DECORATOR 457s # Macro used to decorate a symbol in the outputted 457s # header, possibly to export symbols 457s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 457s # Additional header required for decorator specified by 457s # --symbol-decorator 457s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 457s # Additional define required for decorator specified by 457s # --symbol-decorator 457s # --generate-c-code OUTFILES 457s # Generate C code in OUTFILES.[ch] 457s # --header Generate C headers 457s # --body Generate C code 457s # --interface-info-header 457s # Generate GDBusInterfaceInfo C header 457s # --interface-info-body 457s # Generate GDBusInterfaceInfo C code 457s # --output FILE Write output into the specified file 457s # --output-directory OUTDIR 457s # Location to output generated files 457s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 457s # tmpdir: /tmp/tmphk7bd18j 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmphk7bd18j/tmp93e5ikeb.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphk7bd18j/tmp93e5ikeb.xml', '--generate-rst', 'test'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: 457s # /tmp/tmphk7bd18j/tmp0c4ahrgd.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphk7bd18j/tmp0c4ahrgd.xml', '--generate-md', 'test'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: 457s # /tmp/tmphk7bd18j/tmpd77_i885.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphk7bd18j/tmpd77_i885.xml', '--generate-docbook', 'test'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: 457s ok 37 __main__.TestCodegen.test_no_args 457s # tmpdir: /tmp/tmp5e9h2j9p 457s # codegen: /usr/bin/gdbus-codegen 457s # Running: ['/usr/bin/gdbus-codegen'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s ok 38 __main__.TestCodegen.test_reproducible 457s # tmpdir: /tmp/tmpukh9ltx1 457s # codegen: /usr/bin/gdbus-codegen 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukh9ltx1/tmpa7uxgb5s1.xml', '/tmp/tmpukh9ltx1/tmpo_gdq82m2.xml', '--output', '-', '--header'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifndef __STDOUT__ 457s # #define __STDOUT__ 457s # 457s # #include 457s # 457s # G_BEGIN_DECLS 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # /* Declarations for com.acme.Coyote */ 457s # 457s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 457s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 457s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 457s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 457s # 457s # struct _ComAcmeCoyote; 457s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 457s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 457s # 457s # struct _ComAcmeCoyoteIface 457s # { 457s # GTypeInterface parent_iface; 457s # 457s # 457s # 457s # gboolean (*handle_attack) ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # gboolean (*handle_run) ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # gboolean (*handle_sleep) ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # const gchar * (*get_mood) (ComAcmeCoyote *object); 457s # 457s # void (*surprised) ( 457s # ComAcmeCoyote *object); 457s # 457s # }; 457s # 457s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 457s # 457s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 457s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 457s # 457s # 457s # /* D-Bus method call completion functions: */ 457s # void com_acme_coyote_complete_run ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # void com_acme_coyote_complete_sleep ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # void com_acme_coyote_complete_attack ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # 457s # 457s # /* D-Bus signal emissions functions: */ 457s # void com_acme_coyote_emit_surprised ( 457s # ComAcmeCoyote *object); 457s # 457s # 457s # 457s # /* D-Bus method calls: */ 457s # void com_acme_coyote_call_run ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean com_acme_coyote_call_run_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean com_acme_coyote_call_run_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void com_acme_coyote_call_sleep ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean com_acme_coyote_call_sleep_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean com_acme_coyote_call_sleep_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void com_acme_coyote_call_attack ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean com_acme_coyote_call_attack_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean com_acme_coyote_call_attack_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # 457s # /* D-Bus property accessors: */ 457s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 457s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 457s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 457s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 457s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 457s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 457s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 457s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 457s # 457s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 457s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 457s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 457s # 457s # struct _ComAcmeCoyoteProxy 457s # { 457s # /*< private >*/ 457s # GDBusProxy parent_instance; 457s # ComAcmeCoyoteProxyPrivate *priv; 457s # }; 457s # 457s # struct _ComAcmeCoyoteProxyClass 457s # { 457s # GDBusProxyClass parent_class; 457s # }; 457s # 457s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 457s # #endif 457s # 457s # void com_acme_coyote_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void com_acme_coyote_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 457s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 457s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 457s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 457s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 457s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 457s # 457s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 457s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 457s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 457s # 457s # struct _ComAcmeCoyoteSkeleton 457s # { 457s # /*< private >*/ 457s # GDBusInterfaceSkeleton parent_instance; 457s # ComAcmeCoyoteSkeletonPrivate *priv; 457s # }; 457s # 457s # struct _ComAcmeCoyoteSkeletonClass 457s # { 457s # GDBusInterfaceSkeletonClass parent_class; 457s # }; 457s # 457s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 457s # #endif 457s # 457s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # /* Declarations for org.project.Bar.Frobnicator */ 457s # 457s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 457s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 457s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 457s # 457s # struct _OrgProjectBarFrobnicator; 457s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 457s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 457s # 457s # struct _OrgProjectBarFrobnicatorIface 457s # { 457s # GTypeInterface parent_iface; 457s # 457s # gboolean (*handle_random_method) ( 457s # OrgProjectBarFrobnicator *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # }; 457s # 457s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 457s # 457s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 457s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 457s # 457s # 457s # /* D-Bus method call completion functions: */ 457s # void org_project_bar_frobnicator_complete_random_method ( 457s # OrgProjectBarFrobnicator *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # 457s # 457s # /* D-Bus method calls: */ 457s # void org_project_bar_frobnicator_call_random_method ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 457s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 457s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 457s # 457s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 457s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 457s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 457s # 457s # struct _OrgProjectBarFrobnicatorProxy 457s # { 457s # /*< private >*/ 457s # GDBusProxy parent_instance; 457s # OrgProjectBarFrobnicatorProxyPrivate *priv; 457s # }; 457s # 457s # struct _OrgProjectBarFrobnicatorProxyClass 457s # { 457s # GDBusProxyClass parent_class; 457s # }; 457s # 457s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 457s # #endif 457s # 457s # void org_project_bar_frobnicator_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void org_project_bar_frobnicator_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 457s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 457s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 457s # 457s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 457s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 457s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 457s # 457s # struct _OrgProjectBarFrobnicatorSkeleton 457s # { 457s # /*< private >*/ 457s # GDBusInterfaceSkeleton parent_instance; 457s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 457s # }; 457s # 457s # struct _OrgProjectBarFrobnicatorSkeletonClass 457s # { 457s # GDBusInterfaceSkeletonClass parent_class; 457s # }; 457s # 457s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 457s # #endif 457s # 457s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 457s # 457s # 457s # G_END_DECLS 457s # 457s # #endif /* __STDOUT__ */ 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukh9ltx1/tmpo_gdq82m2.xml', '/tmp/tmpukh9ltx1/tmpa7uxgb5s1.xml', '--output', '-', '--header'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifndef __STDOUT__ 457s # #define __STDOUT__ 457s # 457s # #include 457s # 457s # G_BEGIN_DECLS 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # /* Declarations for com.acme.Coyote */ 457s # 457s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 457s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 457s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 457s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 457s # 457s # struct _ComAcmeCoyote; 457s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 457s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 457s # 457s # struct _ComAcmeCoyoteIface 457s # { 457s # GTypeInterface parent_iface; 457s # 457s # 457s # 457s # gboolean (*handle_attack) ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # gboolean (*handle_run) ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # gboolean (*handle_sleep) ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # const gchar * (*get_mood) (ComAcmeCoyote *object); 457s # 457s # void (*surprised) ( 457s # ComAcmeCoyote *object); 457s # 457s # }; 457s # 457s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 457s # 457s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 457s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 457s # 457s # 457s # /* D-Bus method call completion functions: */ 457s # void com_acme_coyote_complete_run ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # void com_acme_coyote_complete_sleep ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # void com_acme_coyote_complete_attack ( 457s # ComAcmeCoyote *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # 457s # 457s # /* D-Bus signal emissions functions: */ 457s # void com_acme_coyote_emit_surprised ( 457s # ComAcmeCoyote *object); 457s # 457s # 457s # 457s # /* D-Bus method calls: */ 457s # void com_acme_coyote_call_run ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean com_acme_coyote_call_run_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean com_acme_coyote_call_run_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void com_acme_coyote_call_sleep ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean com_acme_coyote_call_sleep_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean com_acme_coyote_call_sleep_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void com_acme_coyote_call_attack ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean com_acme_coyote_call_attack_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean com_acme_coyote_call_attack_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # 457s # /* D-Bus property accessors: */ 457s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 457s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 457s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 457s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 457s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 457s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 457s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 457s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 457s # 457s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 457s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 457s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 457s # 457s # struct _ComAcmeCoyoteProxy 457s # { 457s # /*< private >*/ 457s # GDBusProxy parent_instance; 457s # ComAcmeCoyoteProxyPrivate *priv; 457s # }; 457s # 457s # struct _ComAcmeCoyoteProxyClass 457s # { 457s # GDBusProxyClass parent_class; 457s # }; 457s # 457s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 457s # #endif 457s # 457s # void com_acme_coyote_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void com_acme_coyote_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 457s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 457s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 457s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 457s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 457s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 457s # 457s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 457s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 457s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 457s # 457s # struct _ComAcmeCoyoteSkeleton 457s # { 457s # /*< private >*/ 457s # GDBusInterfaceSkeleton parent_instance; 457s # ComAcmeCoyoteSkeletonPrivate *priv; 457s # }; 457s # 457s # struct _ComAcmeCoyoteSkeletonClass 457s # { 457s # GDBusInterfaceSkeletonClass parent_class; 457s # }; 457s # 457s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 457s # #endif 457s # 457s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # /* Declarations for org.project.Bar.Frobnicator */ 457s # 457s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 457s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 457s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 457s # 457s # struct _OrgProjectBarFrobnicator; 457s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 457s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 457s # 457s # struct _OrgProjectBarFrobnicatorIface 457s # { 457s # GTypeInterface parent_iface; 457s # 457s # gboolean (*handle_random_method) ( 457s # OrgProjectBarFrobnicator *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # }; 457s # 457s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 457s # 457s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 457s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 457s # 457s # 457s # /* D-Bus method call completion functions: */ 457s # void org_project_bar_frobnicator_complete_random_method ( 457s # OrgProjectBarFrobnicator *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # 457s # 457s # /* D-Bus method calls: */ 457s # void org_project_bar_frobnicator_call_random_method ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 457s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 457s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 457s # 457s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 457s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 457s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 457s # 457s # struct _OrgProjectBarFrobnicatorProxy 457s # { 457s # /*< private >*/ 457s # GDBusProxy parent_instance; 457s # OrgProjectBarFrobnicatorProxyPrivate *priv; 457s # }; 457s # 457s # struct _OrgProjectBarFrobnicatorProxyClass 457s # { 457s # GDBusProxyClass parent_class; 457s # }; 457s # 457s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 457s # #endif 457s # 457s # void org_project_bar_frobnicator_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void org_project_bar_frobnicator_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 457s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 457s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 457s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 457s # 457s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 457s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 457s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 457s # 457s # struct _OrgProjectBarFrobnicatorSkeleton 457s # { 457s # /*< private >*/ 457s # GDBusInterfaceSkeleton parent_instance; 457s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 457s # }; 457s # 457s # struct _OrgProjectBarFrobnicatorSkeletonClass 457s # { 457s # GDBusInterfaceSkeletonClass parent_class; 457s # }; 457s # 457s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 457s # #endif 457s # 457s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 457s # 457s # 457s # G_END_DECLS 457s # 457s # #endif /* __STDOUT__ */ 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukh9ltx1/tmpa7uxgb5s1.xml', '/tmp/tmpukh9ltx1/tmpo_gdq82m2.xml', '--output', '-', '--body'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifdef HAVE_CONFIG_H 457s # # include "config.h" 457s # #endif 457s # 457s # #include 457s # #ifdef G_OS_UNIX 457s # # include 457s # #endif 457s # 457s # #ifdef G_ENABLE_DEBUG 457s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 457s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 457s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 457s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 457s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 457s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 457s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 457s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 457s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 457s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 457s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 457s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 457s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 457s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 457s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 457s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 457s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 457s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 457s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 457s # #else /* !G_ENABLE_DEBUG */ 457s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 457s # * Do not access GValues directly in your code. Instead, use the 457s # * g_value_get_*() functions 457s # */ 457s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 457s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 457s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 457s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 457s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 457s # #endif /* !G_ENABLE_DEBUG */ 457s # 457s # typedef struct 457s # { 457s # GDBusArgInfo parent_struct; 457s # gboolean use_gvariant; 457s # } _ExtendedGDBusArgInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusMethodInfo parent_struct; 457s # const gchar *signal_name; 457s # gboolean pass_fdlist; 457s # } _ExtendedGDBusMethodInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusSignalInfo parent_struct; 457s # const gchar *signal_name; 457s # } _ExtendedGDBusSignalInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusPropertyInfo parent_struct; 457s # const gchar *hyphen_name; 457s # guint use_gvariant : 1; 457s # guint emits_changed_signal : 1; 457s # } _ExtendedGDBusPropertyInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusInterfaceInfo parent_struct; 457s # const gchar *hyphen_name; 457s # } _ExtendedGDBusInterfaceInfo; 457s # 457s # typedef struct 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # guint prop_id; 457s # GValue orig_value; /* the value before the change */ 457s # } ChangedProperty; 457s # 457s # static void 457s # _changed_property_free (ChangedProperty *data) 457s # { 457s # g_value_unset (&data->orig_value); 457s # g_free (data); 457s # } 457s # 457s # static gboolean 457s # _g_strv_equal0 (gchar **a, gchar **b) 457s # { 457s # gboolean ret = FALSE; 457s # guint n; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # if (g_strv_length (a) != g_strv_length (b)) 457s # goto out; 457s # for (n = 0; a[n] != NULL; n++) 457s # if (g_strcmp0 (a[n], b[n]) != 0) 457s # goto out; 457s # ret = TRUE; 457s # out: 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _g_variant_equal0 (GVariant *a, GVariant *b) 457s # { 457s # gboolean ret = FALSE; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # ret = g_variant_equal (a, b); 457s # out: 457s # return ret; 457s # } 457s # 457s # G_GNUC_UNUSED static gboolean 457s # _g_value_equal (const GValue *a, const GValue *b) 457s # { 457s # gboolean ret = FALSE; 457s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 457s # switch (G_VALUE_TYPE (a)) 457s # { 457s # case G_TYPE_BOOLEAN: 457s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 457s # break; 457s # case G_TYPE_UCHAR: 457s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 457s # break; 457s # case G_TYPE_INT: 457s # ret = (g_value_get_int (a) == g_value_get_int (b)); 457s # break; 457s # case G_TYPE_UINT: 457s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 457s # break; 457s # case G_TYPE_INT64: 457s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 457s # break; 457s # case G_TYPE_UINT64: 457s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 457s # break; 457s # case G_TYPE_DOUBLE: 457s # { 457s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 457s # gdouble da = g_value_get_double (a); 457s # gdouble db = g_value_get_double (b); 457s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 457s # } 457s # break; 457s # case G_TYPE_STRING: 457s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 457s # break; 457s # case G_TYPE_VARIANT: 457s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 457s # break; 457s # default: 457s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 457s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 457s # else 457s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 457s # break; 457s # } 457s # return ret; 457s # } 457s # 457s # static void 457s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint G_GNUC_UNUSED, 457s # void *marshal_data) 457s # { 457s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 457s # (void *data1, 457s # GDBusMethodInvocation *arg_method_invocation, 457s # void *data2); 457s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 457s # GCClosure *cc = (GCClosure*) closure; 457s # void *data1, *data2; 457s # gboolean v_return; 457s # 457s # g_return_if_fail (return_value != NULL); 457s # g_return_if_fail (n_param_values == 2); 457s # 457s # if (G_CCLOSURE_SWAP_DATA (closure)) 457s # { 457s # data1 = closure->data; 457s # data2 = g_value_peek_pointer (param_values + 0); 457s # } 457s # else 457s # { 457s # data1 = g_value_peek_pointer (param_values + 0); 457s # data2 = closure->data; 457s # } 457s # 457s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 457s # (marshal_data ? marshal_data : cc->callback); 457s # 457s # v_return = 457s # callback (data1, 457s # g_marshal_value_peek_object (param_values + 1), 457s # data2); 457s # 457s # g_value_set_boolean (return_value, v_return); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ 457s # * Code for interface com.acme.Coyote 457s # * ------------------------------------------------------------------------ 457s # */ 457s # 457s # /** 457s # * SECTION:ComAcmeCoyote 457s # * @title: ComAcmeCoyote 457s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 457s # * 457s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 457s # */ 457s # 457s # enum 457s # { 457s # _COM_ACME_COYOTE_SURPRISED, 457s # }; 457s # 457s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 457s # 457s # /* ---- Introspection data for com.acme.Coyote ---- */ 457s # 457s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 457s # { 457s # { 457s # -1, 457s # (gchar *) "Run", 457s # NULL, 457s # NULL, 457s # NULL 457s # }, 457s # "handle-run", 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 457s # { 457s # { 457s # -1, 457s # (gchar *) "Sleep", 457s # NULL, 457s # NULL, 457s # NULL 457s # }, 457s # "handle-sleep", 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 457s # { 457s # { 457s # -1, 457s # (gchar *) "Attack", 457s # NULL, 457s # NULL, 457s # NULL 457s # }, 457s # "handle-attack", 457s # FALSE 457s # }; 457s # 457s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 457s # { 457s # &_com_acme_coyote_method_info_run.parent_struct, 457s # &_com_acme_coyote_method_info_sleep.parent_struct, 457s # &_com_acme_coyote_method_info_attack.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 457s # { 457s # { 457s # -1, 457s # (gchar *) "Surprised", 457s # NULL, 457s # NULL 457s # }, 457s # "surprised" 457s # }; 457s # 457s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 457s # { 457s # &_com_acme_coyote_signal_info_surprised.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 457s # { 457s # { 457s # -1, 457s # (gchar *) "Mood", 457s # (gchar *) "s", 457s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 457s # NULL 457s # }, 457s # "mood", 457s # FALSE, 457s # TRUE 457s # }; 457s # 457s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 457s # { 457s # &_com_acme_coyote_property_info_mood.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 457s # { 457s # { 457s # -1, 457s # (gchar *) "com.acme.Coyote", 457s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 457s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 457s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 457s # NULL 457s # }, 457s # "com-acme-coyote", 457s # }; 457s # 457s # 457s # /** 457s # * com_acme_coyote_interface_info: 457s # * 457s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 457s # * 457s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 457s # */ 457s # GDBusInterfaceInfo * 457s # com_acme_coyote_interface_info (void) 457s # { 457s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_override_properties: 457s # * @klass: The class structure for a #GObject derived class. 457s # * @property_id_begin: The property id to assign to the first overridden property. 457s # * 457s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 457s # * The properties are overridden in the order they are defined. 457s # * 457s # * Returns: The last property id. 457s # */ 457s # guint 457s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 457s # { 457s # g_object_class_override_property (klass, property_id_begin++, "mood"); 457s # return property_id_begin - 1; 457s # } 457s # 457s # 457s # inline static void 457s # com_acme_coyote_signal_marshal_surprised ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__VOID (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # com_acme_coyote_method_marshal_run ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # com_acme_coyote_method_marshal_sleep ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # com_acme_coyote_method_marshal_attack ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # 457s # /** 457s # * ComAcmeCoyote: 457s # * 457s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 457s # */ 457s # 457s # /** 457s # * ComAcmeCoyoteIface: 457s # * @parent_iface: The parent interface. 457s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 457s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 457s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 457s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 457s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 457s # * 457s # * Virtual table for the D-Bus interface com.acme.Coyote. 457s # */ 457s # 457s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 457s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 457s # 457s # static void 457s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 457s # { 457s # /* GObject signals for incoming D-Bus method calls: */ 457s # /** 457s # * ComAcmeCoyote::handle-run: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: A #GDBusMethodInvocation. 457s # * 457s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 457s # * 457s # * 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. 457s # * 457s # * 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. 457s # */ 457s # g_signal_new ("handle-run", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 457s # g_signal_accumulator_true_handled, 457s # NULL, 457s # com_acme_coyote_method_marshal_run, 457s # G_TYPE_BOOLEAN, 457s # 1, 457s # G_TYPE_DBUS_METHOD_INVOCATION); 457s # 457s # /** 457s # * ComAcmeCoyote::handle-sleep: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: A #GDBusMethodInvocation. 457s # * 457s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 457s # * 457s # * 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. 457s # * 457s # * 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. 457s # */ 457s # g_signal_new ("handle-sleep", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 457s # g_signal_accumulator_true_handled, 457s # NULL, 457s # com_acme_coyote_method_marshal_sleep, 457s # G_TYPE_BOOLEAN, 457s # 1, 457s # G_TYPE_DBUS_METHOD_INVOCATION); 457s # 457s # /** 457s # * ComAcmeCoyote::handle-attack: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: A #GDBusMethodInvocation. 457s # * 457s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 457s # * 457s # * 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. 457s # * 457s # * 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. 457s # */ 457s # g_signal_new ("handle-attack", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 457s # g_signal_accumulator_true_handled, 457s # NULL, 457s # com_acme_coyote_method_marshal_attack, 457s # G_TYPE_BOOLEAN, 457s # 1, 457s # G_TYPE_DBUS_METHOD_INVOCATION); 457s # 457s # /* GObject signals for received D-Bus signals: */ 457s # /** 457s # * ComAcmeCoyote::surprised: 457s # * @object: A #ComAcmeCoyote. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 457s # g_signal_new ("surprised", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 457s # NULL, 457s # NULL, 457s # com_acme_coyote_signal_marshal_surprised, 457s # G_TYPE_NONE, 457s # 0); 457s # 457s # /* GObject properties for D-Bus properties: */ 457s # /** 457s # * ComAcmeCoyote:mood: 457s # * 457s # * Represents the D-Bus property "Mood". 457s # * 457s # * 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. 457s # */ 457s # g_object_interface_install_property (iface, 457s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_get_mood: (skip) 457s # * @object: A #ComAcmeCoyote. 457s # * 457s # * Gets the value of the "Mood" D-Bus property. 457s # * 457s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 457s # * 457s # * 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. 457s # * 457s # * 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. 457s # */ 457s # const gchar * 457s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 457s # { 457s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 457s # 457s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_dup_mood: (skip) 457s # * @object: A #ComAcmeCoyote. 457s # * 457s # * Gets a copy of the "Mood" D-Bus property. 457s # * 457s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 457s # * 457s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 457s # */ 457s # gchar * 457s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 457s # { 457s # gchar *value; 457s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 457s # return value; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_set_mood: (skip) 457s # * @object: A #ComAcmeCoyote. 457s # * @value: The value to set. 457s # * 457s # * Sets the "Mood" D-Bus property to @value. 457s # * 457s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 457s # */ 457s # void 457s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 457s # { 457s # g_object_set (G_OBJECT (object), "mood", value, NULL); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_emit_surprised: 457s # * @object: A #ComAcmeCoyote. 457s # * 457s # * Emits the "Surprised" D-Bus signal. 457s # */ 457s # void 457s # com_acme_coyote_emit_surprised ( 457s # ComAcmeCoyote *object) 457s # { 457s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_run: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously invokes the Run() D-Bus method on @proxy. 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 457s # * 457s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 457s # */ 457s # void 457s # com_acme_coyote_call_run ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 457s # "Run", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # callback, 457s # user_data); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_run_finish: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Finishes an operation started with com_acme_coyote_call_run(). 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_run_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_run_sync: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 457s # * 457s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_run_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 457s # "Run", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_sleep: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 457s # * 457s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 457s # */ 457s # void 457s # com_acme_coyote_call_sleep ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 457s # "Sleep", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # callback, 457s # user_data); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_sleep_finish: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Finishes an operation started with com_acme_coyote_call_sleep(). 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_sleep_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_sleep_sync: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 457s # * 457s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_sleep_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 457s # "Sleep", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_attack: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 457s # * 457s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 457s # */ 457s # void 457s # com_acme_coyote_call_attack ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 457s # "Attack", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # callback, 457s # user_data); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_attack_finish: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Finishes an operation started with com_acme_coyote_call_attack(). 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_attack_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_attack_sync: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 457s # * 457s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_attack_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 457s # "Attack", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_complete_run: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: (transfer full): A #GDBusMethodInvocation. 457s # * 457s # * 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. 457s # * 457s # * This method will free @invocation, you cannot use it afterwards. 457s # */ 457s # void 457s # com_acme_coyote_complete_run ( 457s # ComAcmeCoyote *object G_GNUC_UNUSED, 457s # GDBusMethodInvocation *invocation) 457s # { 457s # g_dbus_method_invocation_return_value (invocation, 457s # g_variant_new ("()")); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_complete_sleep: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: (transfer full): A #GDBusMethodInvocation. 457s # * 457s # * 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. 457s # * 457s # * This method will free @invocation, you cannot use it afterwards. 457s # */ 457s # void 457s # com_acme_coyote_complete_sleep ( 457s # ComAcmeCoyote *object G_GNUC_UNUSED, 457s # GDBusMethodInvocation *invocation) 457s # { 457s # g_dbus_method_invocation_return_value (invocation, 457s # g_variant_new ("()")); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_complete_attack: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: (transfer full): A #GDBusMethodInvocation. 457s # * 457s # * 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. 457s # * 457s # * This method will free @invocation, you cannot use it afterwards. 457s # */ 457s # void 457s # com_acme_coyote_complete_attack ( 457s # ComAcmeCoyote *object G_GNUC_UNUSED, 457s # GDBusMethodInvocation *invocation) 457s # { 457s # g_dbus_method_invocation_return_value (invocation, 457s # g_variant_new ("()")); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * ComAcmeCoyoteProxy: 457s # * 457s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * ComAcmeCoyoteProxyClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #ComAcmeCoyoteProxy. 457s # */ 457s # 457s # struct _ComAcmeCoyoteProxyPrivate 457s # { 457s # GData *qdata; 457s # }; 457s # 457s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 457s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 457s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 457s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 457s # 457s # #endif 457s # static void 457s # com_acme_coyote_proxy_finalize (GObject *object) 457s # { 457s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 457s # g_datalist_clear (&proxy->priv->qdata); 457s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_get_property (GObject *object, 457s # guint prop_id, 457s # GValue *value, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # GVariant *variant; 457s # g_assert (prop_id != 0 && prop_id - 1 < 1); 457s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 457s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 457s # if (info->use_gvariant) 457s # { 457s # g_value_set_variant (value, variant); 457s # } 457s # else 457s # { 457s # if (variant != NULL) 457s # g_dbus_gvariant_to_gvalue (variant, value); 457s # } 457s # if (variant != NULL) 457s # g_variant_unref (variant); 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 457s # GAsyncResult *res, 457s # gpointer user_data) 457s # { 457s # const _ExtendedGDBusPropertyInfo *info = user_data; 457s # GError *error; 457s # GVariant *_ret; 457s # error = NULL; 457s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 457s # if (!_ret) 457s # { 457s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 457s # info->parent_struct.name, 457s # error->message, g_quark_to_string (error->domain), error->code); 457s # g_error_free (error); 457s # } 457s # else 457s # { 457s # g_variant_unref (_ret); 457s # } 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_set_property (GObject *object, 457s # guint prop_id, 457s # const GValue *value, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # GVariant *variant; 457s # g_assert (prop_id != 0 && prop_id - 1 < 1); 457s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 457s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_dbus_proxy_call (G_DBUS_PROXY (object), 457s # "org.freedesktop.DBus.Properties.Set", 457s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 457s # g_variant_unref (variant); 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 457s # const gchar *sender_name G_GNUC_UNUSED, 457s # const gchar *signal_name, 457s # GVariant *parameters) 457s # { 457s # _ExtendedGDBusSignalInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # gsize n; 457s # guint signal_id; 457s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 457s # if (info == NULL) 457s # return; 457s # num_params = g_variant_n_children (parameters); 457s # paramv = g_new0 (GValue, num_params + 1); 457s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 457s # g_value_set_object (¶mv[0], proxy); 457s # g_variant_iter_init (&iter, parameters); 457s # n = 1; 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 457s # g_signal_emitv (paramv, signal_id, 0, NULL); 457s # for (n = 0; n < num_params + 1; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 457s # GVariant *changed_properties, 457s # const gchar *const *invalidated_properties) 457s # { 457s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 457s # guint n; 457s # const gchar *key; 457s # GVariantIter *iter; 457s # _ExtendedGDBusPropertyInfo *info; 457s # g_variant_get (changed_properties, "a{sv}", &iter); 457s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 457s # g_datalist_remove_data (&proxy->priv->qdata, key); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # g_variant_iter_free (iter); 457s # for (n = 0; invalidated_properties[n] != NULL; n++) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 457s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # } 457s # 457s # static const gchar * 457s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 457s # { 457s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 457s # GVariant *variant; 457s # const gchar *value = NULL; 457s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 457s # if (variant != NULL) 457s # { 457s # value = g_variant_get_string (variant, NULL); 457s # g_variant_unref (variant); 457s # } 457s # return value; 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 457s # #else 457s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 457s # #endif 457s # 457s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusProxyClass *proxy_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 457s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 457s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 457s # 457s # proxy_class = G_DBUS_PROXY_CLASS (klass); 457s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 457s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 457s # 457s # com_acme_coyote_override_properties (gobject_class, 1); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 457s # { 457s # iface->get_mood = com_acme_coyote_proxy_get_mood; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_proxy_new: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 457s # * 457s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # com_acme_coyote_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_proxy_new_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with com_acme_coyote_proxy_new(). 457s # * 457s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # ComAcmeCoyote * 457s # com_acme_coyote_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return COM_ACME_COYOTE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_proxy_new_sync: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # ComAcmeCoyote * 457s # com_acme_coyote_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return COM_ACME_COYOTE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /** 457s # * com_acme_coyote_proxy_new_for_bus: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 457s # * 457s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # com_acme_coyote_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_proxy_new_for_bus_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 457s # * 457s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # ComAcmeCoyote * 457s # com_acme_coyote_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return COM_ACME_COYOTE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_proxy_new_for_bus_sync: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # ComAcmeCoyote * 457s # com_acme_coyote_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return COM_ACME_COYOTE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * ComAcmeCoyoteSkeleton: 457s # * 457s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * ComAcmeCoyoteSkeletonClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #ComAcmeCoyoteSkeleton. 457s # */ 457s # 457s # struct _ComAcmeCoyoteSkeletonPrivate 457s # { 457s # GValue *properties; 457s # GList *changed_properties; 457s # GSource *changed_properties_idle_source; 457s # GMainContext *context; 457s # GMutex lock; 457s # }; 457s # 457s # static void 457s # _com_acme_coyote_skeleton_handle_method_call ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name, 457s # const gchar *method_name, 457s # GVariant *parameters, 457s # GDBusMethodInvocation *invocation, 457s # gpointer user_data) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 457s # _ExtendedGDBusMethodInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # guint num_extra; 457s # gsize n; 457s # guint signal_id; 457s # GValue return_value = G_VALUE_INIT; 457s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 457s # g_assert (info != NULL); 457s # num_params = g_variant_n_children (parameters); 457s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 457s # n = 0; 457s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 457s # g_value_set_object (¶mv[n++], skeleton); 457s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 457s # g_value_set_object (¶mv[n++], invocation); 457s # if (info->pass_fdlist) 457s # { 457s # #ifdef G_OS_UNIX 457s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 457s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 457s # #else 457s # g_assert_not_reached (); 457s # #endif 457s # } 457s # g_variant_iter_init (&iter, parameters); 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 457s # g_value_init (&return_value, G_TYPE_BOOLEAN); 457s # g_signal_emitv (paramv, signal_id, 0, &return_value); 457s # if (!g_value_get_boolean (&return_value)) 457s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 457s # g_value_unset (&return_value); 457s # for (n = 0; n < num_params + num_extra; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static GVariant * 457s # _com_acme_coyote_skeleton_handle_get_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # GVariant *ret; 457s # ret = NULL; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # g_value_init (&value, pspec->value_type); 457s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_value_unset (&value); 457s # } 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _com_acme_coyote_skeleton_handle_set_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GVariant *variant, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # gboolean ret; 457s # ret = FALSE; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # if (info->use_gvariant) 457s # g_value_set_variant (&value, variant); 457s # else 457s # g_dbus_gvariant_to_gvalue (variant, &value); 457s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # g_value_unset (&value); 457s # ret = TRUE; 457s # } 457s # return ret; 457s # } 457s # 457s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 457s # { 457s # _com_acme_coyote_skeleton_handle_method_call, 457s # _com_acme_coyote_skeleton_handle_get_property, 457s # _com_acme_coyote_skeleton_handle_set_property, 457s # {NULL} 457s # }; 457s # 457s # static GDBusInterfaceInfo * 457s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return com_acme_coyote_interface_info (); 457s # } 457s # 457s # static GDBusInterfaceVTable * 457s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 457s # } 457s # 457s # static GVariant * 457s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 457s # 457s # GVariantBuilder builder; 457s # guint n; 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 457s # goto out; 457s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 457s # { 457s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 457s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 457s # { 457s # GVariant *value; 457s # 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); 457s # if (value != NULL) 457s # { 457s # g_variant_take_ref (value); 457s # g_variant_builder_add (&builder, "{sv}", info->name, value); 457s # g_variant_unref (value); 457s # } 457s # } 457s # } 457s # out: 457s # return g_variant_builder_end (&builder); 457s # } 457s # 457s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 457s # 457s # static void 457s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 457s # gboolean emit_changed = FALSE; 457s # 457s # g_mutex_lock (&skeleton->priv->lock); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # { 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # skeleton->priv->changed_properties_idle_source = NULL; 457s # emit_changed = TRUE; 457s # } 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # 457s # if (emit_changed) 457s # _com_acme_coyote_emit_changed (skeleton); 457s # } 457s # 457s # static void 457s # _com_acme_coyote_on_signal_surprised ( 457s # ComAcmeCoyote *object) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 457s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 457s # 457s # #endif 457s # static void 457s # com_acme_coyote_skeleton_finalize (GObject *object) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # guint n; 457s # for (n = 0; n < 1; n++) 457s # g_value_unset (&skeleton->priv->properties[n]); 457s # g_free (skeleton->priv->properties); 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # g_main_context_unref (skeleton->priv->context); 457s # g_mutex_clear (&skeleton->priv->lock); 457s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_get_property (GObject *object, 457s # guint prop_id, 457s # GValue *value, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # g_assert (prop_id != 0 && prop_id - 1 < 1); 457s # g_mutex_lock (&skeleton->priv->lock); 457s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # } 457s # 457s # static gboolean 457s # _com_acme_coyote_emit_changed (gpointer user_data) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 457s # GList *l; 457s # GVariantBuilder builder; 457s # GVariantBuilder invalidated_builder; 457s # guint num_changes; 457s # 457s # g_mutex_lock (&skeleton->priv->lock); 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 457s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 457s # { 457s # ChangedProperty *cp = l->data; 457s # GVariant *variant; 457s # const GValue *cur_value; 457s # 457s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 457s # if (!_g_value_equal (cur_value, &cp->orig_value)) 457s # { 457s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 457s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 457s # g_variant_unref (variant); 457s # num_changes++; 457s # } 457s # } 457s # if (num_changes > 0) 457s # { 457s # GList *connections, *ll; 457s # GVariant *signal_variant; 457s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 457s # &builder, &invalidated_builder)); 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # for (ll = connections; ll != NULL; ll = ll->next) 457s # { 457s # GDBusConnection *connection = ll->data; 457s # 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 457s # "org.freedesktop.DBus.Properties", 457s # "PropertiesChanged", 457s # signal_variant, 457s # NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # else 457s # { 457s # g_variant_builder_clear (&builder); 457s # g_variant_builder_clear (&invalidated_builder); 457s # } 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # skeleton->priv->changed_properties = NULL; 457s # skeleton->priv->changed_properties_idle_source = NULL; 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # return FALSE; 457s # } 457s # 457s # static void 457s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 457s # { 457s # ChangedProperty *cp; 457s # GList *l; 457s # cp = NULL; 457s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 457s # { 457s # ChangedProperty *i_cp = l->data; 457s # if (i_cp->info == info) 457s # { 457s # cp = i_cp; 457s # break; 457s # } 457s # } 457s # if (cp == NULL) 457s # { 457s # cp = g_new0 (ChangedProperty, 1); 457s # cp->prop_id = prop_id; 457s # cp->info = info; 457s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 457s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 457s # g_value_copy (orig_value, &cp->orig_value); 457s # } 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_notify (GObject *object, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # g_mutex_lock (&skeleton->priv->lock); 457s # if (skeleton->priv->changed_properties != NULL && 457s # skeleton->priv->changed_properties_idle_source == NULL) 457s # { 457s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 457s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 457s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 457s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 457s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 457s # g_source_unref (skeleton->priv->changed_properties_idle_source); 457s # } 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_set_property (GObject *object, 457s # guint prop_id, 457s # const GValue *value, 457s # GParamSpec *pspec) 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # g_assert (prop_id != 0 && prop_id - 1 < 1); 457s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 457s # g_mutex_lock (&skeleton->priv->lock); 457s # g_object_freeze_notify (object); 457s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 457s # { 457s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 457s # info->emits_changed_signal) 457s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 457s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 457s # g_object_notify_by_pspec (object, pspec); 457s # } 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # g_object_thaw_notify (object); 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 457s # #else 457s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 457s # #endif 457s # 457s # g_mutex_init (&skeleton->priv->lock); 457s # skeleton->priv->context = g_main_context_ref_thread_default (); 457s # skeleton->priv->properties = g_new0 (GValue, 1); 457s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 457s # } 457s # 457s # static const gchar * 457s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # const gchar *value; 457s # g_mutex_lock (&skeleton->priv->lock); 457s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # return value; 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusInterfaceSkeletonClass *skeleton_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 457s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 457s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 457s # gobject_class->notify = com_acme_coyote_skeleton_notify; 457s # 457s # 457s # com_acme_coyote_override_properties (gobject_class, 1); 457s # 457s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 457s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 457s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 457s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 457s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 457s # { 457s # iface->surprised = _com_acme_coyote_on_signal_surprised; 457s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_skeleton_new: 457s # * 457s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 457s # * 457s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 457s # */ 457s # ComAcmeCoyote * 457s # com_acme_coyote_skeleton_new (void) 457s # { 457s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ 457s # * Code for interface org.project.Bar.Frobnicator 457s # * ------------------------------------------------------------------------ 457s # */ 457s # 457s # /** 457s # * SECTION:OrgProjectBarFrobnicator 457s # * @title: OrgProjectBarFrobnicator 457s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 457s # * 457s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 457s # */ 457s # 457s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 457s # 457s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 457s # { 457s # { 457s # -1, 457s # (gchar *) "RandomMethod", 457s # NULL, 457s # NULL, 457s # NULL 457s # }, 457s # "handle-random-method", 457s # FALSE 457s # }; 457s # 457s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 457s # { 457s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 457s # { 457s # { 457s # -1, 457s # (gchar *) "org.project.Bar.Frobnicator", 457s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 457s # NULL, 457s # NULL, 457s # NULL 457s # }, 457s # "org-project-bar-frobnicator", 457s # }; 457s # 457s # 457s # /** 457s # * org_project_bar_frobnicator_interface_info: 457s # * 457s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 457s # * 457s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 457s # */ 457s # GDBusInterfaceInfo * 457s # org_project_bar_frobnicator_interface_info (void) 457s # { 457s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_override_properties: 457s # * @klass: The class structure for a #GObject derived class. 457s # * @property_id_begin: The property id to assign to the first overridden property. 457s # * 457s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 457s # * The properties are overridden in the order they are defined. 457s # * 457s # * Returns: The last property id. 457s # */ 457s # guint 457s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 457s # { 457s # return property_id_begin - 1; 457s # } 457s # 457s # 457s # inline static void 457s # org_project_bar_frobnicator_method_marshal_random_method ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # 457s # /** 457s # * OrgProjectBarFrobnicator: 457s # * 457s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 457s # */ 457s # 457s # /** 457s # * OrgProjectBarFrobnicatorIface: 457s # * @parent_iface: The parent interface. 457s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 457s # * 457s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 457s # */ 457s # 457s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 457s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 457s # 457s # static void 457s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 457s # { 457s # /* GObject signals for incoming D-Bus method calls: */ 457s # /** 457s # * OrgProjectBarFrobnicator::handle-random-method: 457s # * @object: A #OrgProjectBarFrobnicator. 457s # * @invocation: A #GDBusMethodInvocation. 457s # * 457s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 457s # * 457s # * 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. 457s # * 457s # * 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. 457s # */ 457s # g_signal_new ("handle-random-method", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 457s # g_signal_accumulator_true_handled, 457s # NULL, 457s # org_project_bar_frobnicator_method_marshal_random_method, 457s # G_TYPE_BOOLEAN, 457s # 1, 457s # G_TYPE_DBUS_METHOD_INVOCATION); 457s # 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_call_random_method: 457s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 457s # * 457s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 457s # */ 457s # void 457s # org_project_bar_frobnicator_call_random_method ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 457s # "RandomMethod", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # callback, 457s # user_data); 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_call_random_method_finish: 457s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # org_project_bar_frobnicator_call_random_method_finish ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_call_random_method_sync: 457s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # org_project_bar_frobnicator_call_random_method_sync ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 457s # "RandomMethod", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_complete_random_method: 457s # * @object: A #OrgProjectBarFrobnicator. 457s # * @invocation: (transfer full): A #GDBusMethodInvocation. 457s # * 457s # * 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. 457s # * 457s # * This method will free @invocation, you cannot use it afterwards. 457s # */ 457s # void 457s # org_project_bar_frobnicator_complete_random_method ( 457s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 457s # GDBusMethodInvocation *invocation) 457s # { 457s # g_dbus_method_invocation_return_value (invocation, 457s # g_variant_new ("()")); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectBarFrobnicatorProxy: 457s # * 457s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectBarFrobnicatorProxyClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectBarFrobnicatorProxy. 457s # */ 457s # 457s # struct _OrgProjectBarFrobnicatorProxyPrivate 457s # { 457s # GData *qdata; 457s # }; 457s # 457s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 457s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 457s # { 457s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 457s # g_datalist_clear (&proxy->priv->qdata); 457s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # const GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 457s # const gchar *sender_name G_GNUC_UNUSED, 457s # const gchar *signal_name, 457s # GVariant *parameters) 457s # { 457s # _ExtendedGDBusSignalInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # gsize n; 457s # guint signal_id; 457s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 457s # if (info == NULL) 457s # return; 457s # num_params = g_variant_n_children (parameters); 457s # paramv = g_new0 (GValue, num_params + 1); 457s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 457s # g_value_set_object (¶mv[0], proxy); 457s # g_variant_iter_init (&iter, parameters); 457s # n = 1; 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 457s # g_signal_emitv (paramv, signal_id, 0, NULL); 457s # for (n = 0; n < num_params + 1; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 457s # GVariant *changed_properties, 457s # const gchar *const *invalidated_properties) 457s # { 457s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 457s # guint n; 457s # const gchar *key; 457s # GVariantIter *iter; 457s # _ExtendedGDBusPropertyInfo *info; 457s # g_variant_get (changed_properties, "a{sv}", &iter); 457s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 457s # g_datalist_remove_data (&proxy->priv->qdata, key); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # g_variant_iter_free (iter); 457s # for (n = 0; invalidated_properties[n] != NULL; n++) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 457s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 457s # #else 457s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 457s # #endif 457s # 457s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusProxyClass *proxy_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 457s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 457s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 457s # 457s # proxy_class = G_DBUS_PROXY_CLASS (klass); 457s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 457s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 457s # * 457s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_bar_frobnicator_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectBarFrobnicator * 457s # org_project_bar_frobnicator_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new_sync: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectBarFrobnicator * 457s # org_project_bar_frobnicator_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new_for_bus: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 457s # * 457s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_bar_frobnicator_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectBarFrobnicator * 457s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectBarFrobnicator * 457s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectBarFrobnicatorSkeleton: 457s # * 457s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectBarFrobnicatorSkeletonClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 457s # */ 457s # 457s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 457s # { 457s # GValue *properties; 457s # GList *changed_properties; 457s # GSource *changed_properties_idle_source; 457s # GMainContext *context; 457s # GMutex lock; 457s # }; 457s # 457s # static void 457s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name, 457s # const gchar *method_name, 457s # GVariant *parameters, 457s # GDBusMethodInvocation *invocation, 457s # gpointer user_data) 457s # { 457s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 457s # _ExtendedGDBusMethodInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # guint num_extra; 457s # gsize n; 457s # guint signal_id; 457s # GValue return_value = G_VALUE_INIT; 457s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 457s # g_assert (info != NULL); 457s # num_params = g_variant_n_children (parameters); 457s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 457s # n = 0; 457s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 457s # g_value_set_object (¶mv[n++], skeleton); 457s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 457s # g_value_set_object (¶mv[n++], invocation); 457s # if (info->pass_fdlist) 457s # { 457s # #ifdef G_OS_UNIX 457s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 457s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 457s # #else 457s # g_assert_not_reached (); 457s # #endif 457s # } 457s # g_variant_iter_init (&iter, parameters); 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 457s # g_value_init (&return_value, G_TYPE_BOOLEAN); 457s # g_signal_emitv (paramv, signal_id, 0, &return_value); 457s # if (!g_value_get_boolean (&return_value)) 457s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 457s # g_value_unset (&return_value); 457s # for (n = 0; n < num_params + num_extra; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static GVariant * 457s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # GVariant *ret; 457s # ret = NULL; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # g_value_init (&value, pspec->value_type); 457s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_value_unset (&value); 457s # } 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GVariant *variant, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # gboolean ret; 457s # ret = FALSE; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # if (info->use_gvariant) 457s # g_value_set_variant (&value, variant); 457s # else 457s # g_dbus_gvariant_to_gvalue (variant, &value); 457s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # g_value_unset (&value); 457s # ret = TRUE; 457s # } 457s # return ret; 457s # } 457s # 457s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 457s # { 457s # _org_project_bar_frobnicator_skeleton_handle_method_call, 457s # _org_project_bar_frobnicator_skeleton_handle_get_property, 457s # _org_project_bar_frobnicator_skeleton_handle_set_property, 457s # {NULL} 457s # }; 457s # 457s # static GDBusInterfaceInfo * 457s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return org_project_bar_frobnicator_interface_info (); 457s # } 457s # 457s # static GDBusInterfaceVTable * 457s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 457s # } 457s # 457s # static GVariant * 457s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 457s # 457s # GVariantBuilder builder; 457s # guint n; 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 457s # goto out; 457s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 457s # { 457s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 457s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 457s # { 457s # GVariant *value; 457s # 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); 457s # if (value != NULL) 457s # { 457s # g_variant_take_ref (value); 457s # g_variant_builder_add (&builder, "{sv}", info->name, value); 457s # g_variant_unref (value); 457s # } 457s # } 457s # } 457s # out: 457s # return g_variant_builder_end (&builder); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 457s # { 457s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # g_main_context_unref (skeleton->priv->context); 457s # g_mutex_clear (&skeleton->priv->lock); 457s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 457s # #else 457s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 457s # #endif 457s # 457s # g_mutex_init (&skeleton->priv->lock); 457s # skeleton->priv->context = g_main_context_ref_thread_default (); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusInterfaceSkeletonClass *skeleton_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 457s # 457s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 457s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 457s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 457s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 457s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_skeleton_new: 457s # * 457s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 457s # * 457s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 457s # */ 457s # OrgProjectBarFrobnicator * 457s # org_project_bar_frobnicator_skeleton_new (void) 457s # { 457s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 457s # } 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpukh9ltx1/tmpo_gdq82m2.xml', '/tmp/tmpukh9ltx1/tmpa7uxgb5s1.xml', '--output', '-', '--body'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifdef HAVE_CONFIG_H 457s # # include "config.h" 457s # #endif 457s # 457s # #include 457s # #ifdef G_OS_UNIX 457s # # include 457s # #endif 457s # 457s # #ifdef G_ENABLE_DEBUG 457s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 457s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 457s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 457s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 457s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 457s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 457s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 457s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 457s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 457s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 457s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 457s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 457s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 457s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 457s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 457s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 457s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 457s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 457s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 457s # #else /* !G_ENABLE_DEBUG */ 457s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 457s # * Do not access GValues directly in your code. Instead, use the 457s # * g_value_get_*() functions 457s # */ 457s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 457s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 457s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 457s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 457s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 457s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 457s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 457s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 457s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 457s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 457s # #endif /* !G_ENABLE_DEBUG */ 457s # 457s # typedef struct 457s # { 457s # GDBusArgInfo parent_struct; 457s # gboolean use_gvariant; 457s # } _ExtendedGDBusArgInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusMethodInfo parent_struct; 457s # const gchar *signal_name; 457s # gboolean pass_fdlist; 457s # } _ExtendedGDBusMethodInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusSignalInfo parent_struct; 457s # const gchar *signal_name; 457s # } _ExtendedGDBusSignalInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusPropertyInfo parent_struct; 457s # const gchar *hyphen_name; 457s # guint use_gvariant : 1; 457s # guint emits_changed_signal : 1; 457s # } _ExtendedGDBusPropertyInfo; 457s # 457s # typedef struct 457s # { 457s # GDBusInterfaceInfo parent_struct; 457s # const gchar *hyphen_name; 457s # } _ExtendedGDBusInterfaceInfo; 457s # 457s # typedef struct 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # guint prop_id; 457s # GValue orig_value; /* the value before the change */ 457s # } ChangedProperty; 457s # 457s # static void 457s # _changed_property_free (ChangedProperty *data) 457s # { 457s # g_value_unset (&data->orig_value); 457s # g_free (data); 457s # } 457s # 457s # static gboolean 457s # _g_strv_equal0 (gchar **a, gchar **b) 457s # { 457s # gboolean ret = FALSE; 457s # guint n; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # if (g_strv_length (a) != g_strv_length (b)) 457s # goto out; 457s # for (n = 0; a[n] != NULL; n++) 457s # if (g_strcmp0 (a[n], b[n]) != 0) 457s # goto out; 457s # ret = TRUE; 457s # out: 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _g_variant_equal0 (GVariant *a, GVariant *b) 457s # { 457s # gboolean ret = FALSE; 457s # if (a == NULL && b == NULL) 457s # { 457s # ret = TRUE; 457s # goto out; 457s # } 457s # if (a == NULL || b == NULL) 457s # goto out; 457s # ret = g_variant_equal (a, b); 457s # out: 457s # return ret; 457s # } 457s # 457s # G_GNUC_UNUSED static gboolean 457s # _g_value_equal (const GValue *a, const GValue *b) 457s # { 457s # gboolean ret = FALSE; 457s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 457s # switch (G_VALUE_TYPE (a)) 457s # { 457s # case G_TYPE_BOOLEAN: 457s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 457s # break; 457s # case G_TYPE_UCHAR: 457s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 457s # break; 457s # case G_TYPE_INT: 457s # ret = (g_value_get_int (a) == g_value_get_int (b)); 457s # break; 457s # case G_TYPE_UINT: 457s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 457s # break; 457s # case G_TYPE_INT64: 457s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 457s # break; 457s # case G_TYPE_UINT64: 457s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 457s # break; 457s # case G_TYPE_DOUBLE: 457s # { 457s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 457s # gdouble da = g_value_get_double (a); 457s # gdouble db = g_value_get_double (b); 457s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 457s # } 457s # break; 457s # case G_TYPE_STRING: 457s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 457s # break; 457s # case G_TYPE_VARIANT: 457s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 457s # break; 457s # default: 457s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 457s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 457s # else 457s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 457s # break; 457s # } 457s # return ret; 457s # } 457s # 457s # static void 457s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint G_GNUC_UNUSED, 457s # void *marshal_data) 457s # { 457s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 457s # (void *data1, 457s # GDBusMethodInvocation *arg_method_invocation, 457s # void *data2); 457s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 457s # GCClosure *cc = (GCClosure*) closure; 457s # void *data1, *data2; 457s # gboolean v_return; 457s # 457s # g_return_if_fail (return_value != NULL); 457s # g_return_if_fail (n_param_values == 2); 457s # 457s # if (G_CCLOSURE_SWAP_DATA (closure)) 457s # { 457s # data1 = closure->data; 457s # data2 = g_value_peek_pointer (param_values + 0); 457s # } 457s # else 457s # { 457s # data1 = g_value_peek_pointer (param_values + 0); 457s # data2 = closure->data; 457s # } 457s # 457s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 457s # (marshal_data ? marshal_data : cc->callback); 457s # 457s # v_return = 457s # callback (data1, 457s # g_marshal_value_peek_object (param_values + 1), 457s # data2); 457s # 457s # g_value_set_boolean (return_value, v_return); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ 457s # * Code for interface com.acme.Coyote 457s # * ------------------------------------------------------------------------ 457s # */ 457s # 457s # /** 457s # * SECTION:ComAcmeCoyote 457s # * @title: ComAcmeCoyote 457s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 457s # * 457s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 457s # */ 457s # 457s # enum 457s # { 457s # _COM_ACME_COYOTE_SURPRISED, 457s # }; 457s # 457s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 457s # 457s # /* ---- Introspection data for com.acme.Coyote ---- */ 457s # 457s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 457s # { 457s # { 457s # -1, 457s # (gchar *) "Run", 457s # NULL, 457s # NULL, 457s # NULL 457s # }, 457s # "handle-run", 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 457s # { 457s # { 457s # -1, 457s # (gchar *) "Sleep", 457s # NULL, 457s # NULL, 457s # NULL 457s # }, 457s # "handle-sleep", 457s # FALSE 457s # }; 457s # 457s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 457s # { 457s # { 457s # -1, 457s # (gchar *) "Attack", 457s # NULL, 457s # NULL, 457s # NULL 457s # }, 457s # "handle-attack", 457s # FALSE 457s # }; 457s # 457s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 457s # { 457s # &_com_acme_coyote_method_info_run.parent_struct, 457s # &_com_acme_coyote_method_info_sleep.parent_struct, 457s # &_com_acme_coyote_method_info_attack.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 457s # { 457s # { 457s # -1, 457s # (gchar *) "Surprised", 457s # NULL, 457s # NULL 457s # }, 457s # "surprised" 457s # }; 457s # 457s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 457s # { 457s # &_com_acme_coyote_signal_info_surprised.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 457s # { 457s # { 457s # -1, 457s # (gchar *) "Mood", 457s # (gchar *) "s", 457s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 457s # NULL 457s # }, 457s # "mood", 457s # FALSE, 457s # TRUE 457s # }; 457s # 457s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 457s # { 457s # &_com_acme_coyote_property_info_mood.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 457s # { 457s # { 457s # -1, 457s # (gchar *) "com.acme.Coyote", 457s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 457s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 457s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 457s # NULL 457s # }, 457s # "com-acme-coyote", 457s # }; 457s # 457s # 457s # /** 457s # * com_acme_coyote_interface_info: 457s # * 457s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 457s # * 457s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 457s # */ 457s # GDBusInterfaceInfo * 457s # com_acme_coyote_interface_info (void) 457s # { 457s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_override_properties: 457s # * @klass: The class structure for a #GObject derived class. 457s # * @property_id_begin: The property id to assign to the first overridden property. 457s # * 457s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 457s # * The properties are overridden in the order they are defined. 457s # * 457s # * Returns: The last property id. 457s # */ 457s # guint 457s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 457s # { 457s # g_object_class_override_property (klass, property_id_begin++, "mood"); 457s # return property_id_begin - 1; 457s # } 457s # 457s # 457s # inline static void 457s # com_acme_coyote_signal_marshal_surprised ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # g_cclosure_marshal_VOID__VOID (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # com_acme_coyote_method_marshal_run ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # com_acme_coyote_method_marshal_sleep ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # inline static void 457s # com_acme_coyote_method_marshal_attack ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # 457s # /** 457s # * ComAcmeCoyote: 457s # * 457s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 457s # */ 457s # 457s # /** 457s # * ComAcmeCoyoteIface: 457s # * @parent_iface: The parent interface. 457s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 457s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 457s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 457s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 457s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 457s # * 457s # * Virtual table for the D-Bus interface com.acme.Coyote. 457s # */ 457s # 457s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 457s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 457s # 457s # static void 457s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 457s # { 457s # /* GObject signals for incoming D-Bus method calls: */ 457s # /** 457s # * ComAcmeCoyote::handle-run: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: A #GDBusMethodInvocation. 457s # * 457s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 457s # * 457s # * 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. 457s # * 457s # * 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. 457s # */ 457s # g_signal_new ("handle-run", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 457s # g_signal_accumulator_true_handled, 457s # NULL, 457s # com_acme_coyote_method_marshal_run, 457s # G_TYPE_BOOLEAN, 457s # 1, 457s # G_TYPE_DBUS_METHOD_INVOCATION); 457s # 457s # /** 457s # * ComAcmeCoyote::handle-sleep: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: A #GDBusMethodInvocation. 457s # * 457s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 457s # * 457s # * 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. 457s # * 457s # * 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. 457s # */ 457s # g_signal_new ("handle-sleep", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 457s # g_signal_accumulator_true_handled, 457s # NULL, 457s # com_acme_coyote_method_marshal_sleep, 457s # G_TYPE_BOOLEAN, 457s # 1, 457s # G_TYPE_DBUS_METHOD_INVOCATION); 457s # 457s # /** 457s # * ComAcmeCoyote::handle-attack: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: A #GDBusMethodInvocation. 457s # * 457s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 457s # * 457s # * 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. 457s # * 457s # * 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. 457s # */ 457s # g_signal_new ("handle-attack", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 457s # g_signal_accumulator_true_handled, 457s # NULL, 457s # com_acme_coyote_method_marshal_attack, 457s # G_TYPE_BOOLEAN, 457s # 1, 457s # G_TYPE_DBUS_METHOD_INVOCATION); 457s # 457s # /* GObject signals for received D-Bus signals: */ 457s # /** 457s # * ComAcmeCoyote::surprised: 457s # * @object: A #ComAcmeCoyote. 457s # * 457s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 457s # * 457s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 457s # */ 457s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 457s # g_signal_new ("surprised", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 457s # NULL, 457s # NULL, 457s # com_acme_coyote_signal_marshal_surprised, 457s # G_TYPE_NONE, 457s # 0); 457s # 457s # /* GObject properties for D-Bus properties: */ 457s # /** 457s # * ComAcmeCoyote:mood: 457s # * 457s # * Represents the D-Bus property "Mood". 457s # * 457s # * 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. 457s # */ 457s # g_object_interface_install_property (iface, 457s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_get_mood: (skip) 457s # * @object: A #ComAcmeCoyote. 457s # * 457s # * Gets the value of the "Mood" D-Bus property. 457s # * 457s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 457s # * 457s # * 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. 457s # * 457s # * 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. 457s # */ 457s # const gchar * 457s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 457s # { 457s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 457s # 457s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_dup_mood: (skip) 457s # * @object: A #ComAcmeCoyote. 457s # * 457s # * Gets a copy of the "Mood" D-Bus property. 457s # * 457s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 457s # * 457s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 457s # */ 457s # gchar * 457s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 457s # { 457s # gchar *value; 457s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 457s # return value; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_set_mood: (skip) 457s # * @object: A #ComAcmeCoyote. 457s # * @value: The value to set. 457s # * 457s # * Sets the "Mood" D-Bus property to @value. 457s # * 457s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 457s # */ 457s # void 457s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 457s # { 457s # g_object_set (G_OBJECT (object), "mood", value, NULL); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_emit_surprised: 457s # * @object: A #ComAcmeCoyote. 457s # * 457s # * Emits the "Surprised" D-Bus signal. 457s # */ 457s # void 457s # com_acme_coyote_emit_surprised ( 457s # ComAcmeCoyote *object) 457s # { 457s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_run: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously invokes the Run() D-Bus method on @proxy. 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 457s # * 457s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 457s # */ 457s # void 457s # com_acme_coyote_call_run ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 457s # "Run", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # callback, 457s # user_data); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_run_finish: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Finishes an operation started with com_acme_coyote_call_run(). 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_run_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_run_sync: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 457s # * 457s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_run_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 457s # "Run", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_sleep: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 457s # * 457s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 457s # */ 457s # void 457s # com_acme_coyote_call_sleep ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 457s # "Sleep", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # callback, 457s # user_data); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_sleep_finish: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Finishes an operation started with com_acme_coyote_call_sleep(). 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_sleep_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_sleep_sync: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 457s # * 457s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_sleep_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 457s # "Sleep", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_attack: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 457s # * 457s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 457s # */ 457s # void 457s # com_acme_coyote_call_attack ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 457s # "Attack", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # callback, 457s # user_data); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_attack_finish: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Finishes an operation started with com_acme_coyote_call_attack(). 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_attack_finish ( 457s # ComAcmeCoyote *proxy, 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_call_attack_sync: 457s # * @proxy: A #ComAcmeCoyoteProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 457s # * 457s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # com_acme_coyote_call_attack_sync ( 457s # ComAcmeCoyote *proxy, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 457s # "Attack", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_complete_run: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: (transfer full): A #GDBusMethodInvocation. 457s # * 457s # * 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. 457s # * 457s # * This method will free @invocation, you cannot use it afterwards. 457s # */ 457s # void 457s # com_acme_coyote_complete_run ( 457s # ComAcmeCoyote *object G_GNUC_UNUSED, 457s # GDBusMethodInvocation *invocation) 457s # { 457s # g_dbus_method_invocation_return_value (invocation, 457s # g_variant_new ("()")); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_complete_sleep: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: (transfer full): A #GDBusMethodInvocation. 457s # * 457s # * 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. 457s # * 457s # * This method will free @invocation, you cannot use it afterwards. 457s # */ 457s # void 457s # com_acme_coyote_complete_sleep ( 457s # ComAcmeCoyote *object G_GNUC_UNUSED, 457s # GDBusMethodInvocation *invocation) 457s # { 457s # g_dbus_method_invocation_return_value (invocation, 457s # g_variant_new ("()")); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_complete_attack: 457s # * @object: A #ComAcmeCoyote. 457s # * @invocation: (transfer full): A #GDBusMethodInvocation. 457s # * 457s # * 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. 457s # * 457s # * This method will free @invocation, you cannot use it afterwards. 457s # */ 457s # void 457s # com_acme_coyote_complete_attack ( 457s # ComAcmeCoyote *object G_GNUC_UNUSED, 457s # GDBusMethodInvocation *invocation) 457s # { 457s # g_dbus_method_invocation_return_value (invocation, 457s # g_variant_new ("()")); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * ComAcmeCoyoteProxy: 457s # * 457s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * ComAcmeCoyoteProxyClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #ComAcmeCoyoteProxy. 457s # */ 457s # 457s # struct _ComAcmeCoyoteProxyPrivate 457s # { 457s # GData *qdata; 457s # }; 457s # 457s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 457s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 457s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 457s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 457s # 457s # #endif 457s # static void 457s # com_acme_coyote_proxy_finalize (GObject *object) 457s # { 457s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 457s # g_datalist_clear (&proxy->priv->qdata); 457s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_get_property (GObject *object, 457s # guint prop_id, 457s # GValue *value, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # GVariant *variant; 457s # g_assert (prop_id != 0 && prop_id - 1 < 1); 457s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 457s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 457s # if (info->use_gvariant) 457s # { 457s # g_value_set_variant (value, variant); 457s # } 457s # else 457s # { 457s # if (variant != NULL) 457s # g_dbus_gvariant_to_gvalue (variant, value); 457s # } 457s # if (variant != NULL) 457s # g_variant_unref (variant); 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 457s # GAsyncResult *res, 457s # gpointer user_data) 457s # { 457s # const _ExtendedGDBusPropertyInfo *info = user_data; 457s # GError *error; 457s # GVariant *_ret; 457s # error = NULL; 457s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 457s # if (!_ret) 457s # { 457s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 457s # info->parent_struct.name, 457s # error->message, g_quark_to_string (error->domain), error->code); 457s # g_error_free (error); 457s # } 457s # else 457s # { 457s # g_variant_unref (_ret); 457s # } 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_set_property (GObject *object, 457s # guint prop_id, 457s # const GValue *value, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # GVariant *variant; 457s # g_assert (prop_id != 0 && prop_id - 1 < 1); 457s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 457s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_dbus_proxy_call (G_DBUS_PROXY (object), 457s # "org.freedesktop.DBus.Properties.Set", 457s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 457s # g_variant_unref (variant); 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 457s # const gchar *sender_name G_GNUC_UNUSED, 457s # const gchar *signal_name, 457s # GVariant *parameters) 457s # { 457s # _ExtendedGDBusSignalInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # gsize n; 457s # guint signal_id; 457s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 457s # if (info == NULL) 457s # return; 457s # num_params = g_variant_n_children (parameters); 457s # paramv = g_new0 (GValue, num_params + 1); 457s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 457s # g_value_set_object (¶mv[0], proxy); 457s # g_variant_iter_init (&iter, parameters); 457s # n = 1; 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 457s # g_signal_emitv (paramv, signal_id, 0, NULL); 457s # for (n = 0; n < num_params + 1; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 457s # GVariant *changed_properties, 457s # const gchar *const *invalidated_properties) 457s # { 457s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 457s # guint n; 457s # const gchar *key; 457s # GVariantIter *iter; 457s # _ExtendedGDBusPropertyInfo *info; 457s # g_variant_get (changed_properties, "a{sv}", &iter); 457s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 457s # g_datalist_remove_data (&proxy->priv->qdata, key); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # g_variant_iter_free (iter); 457s # for (n = 0; invalidated_properties[n] != NULL; n++) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 457s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # } 457s # 457s # static const gchar * 457s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 457s # { 457s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 457s # GVariant *variant; 457s # const gchar *value = NULL; 457s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 457s # if (variant != NULL) 457s # { 457s # value = g_variant_get_string (variant, NULL); 457s # g_variant_unref (variant); 457s # } 457s # return value; 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 457s # #else 457s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 457s # #endif 457s # 457s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusProxyClass *proxy_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 457s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 457s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 457s # 457s # proxy_class = G_DBUS_PROXY_CLASS (klass); 457s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 457s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 457s # 457s # com_acme_coyote_override_properties (gobject_class, 1); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 457s # { 457s # iface->get_mood = com_acme_coyote_proxy_get_mood; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_proxy_new: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 457s # * 457s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # com_acme_coyote_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_proxy_new_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with com_acme_coyote_proxy_new(). 457s # * 457s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # ComAcmeCoyote * 457s # com_acme_coyote_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return COM_ACME_COYOTE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_proxy_new_sync: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # ComAcmeCoyote * 457s # com_acme_coyote_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return COM_ACME_COYOTE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /** 457s # * com_acme_coyote_proxy_new_for_bus: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 457s # * 457s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # com_acme_coyote_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * com_acme_coyote_proxy_new_for_bus_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 457s # * 457s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # ComAcmeCoyote * 457s # com_acme_coyote_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return COM_ACME_COYOTE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_proxy_new_for_bus_sync: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # ComAcmeCoyote * 457s # com_acme_coyote_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return COM_ACME_COYOTE (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * ComAcmeCoyoteSkeleton: 457s # * 457s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * ComAcmeCoyoteSkeletonClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #ComAcmeCoyoteSkeleton. 457s # */ 457s # 457s # struct _ComAcmeCoyoteSkeletonPrivate 457s # { 457s # GValue *properties; 457s # GList *changed_properties; 457s # GSource *changed_properties_idle_source; 457s # GMainContext *context; 457s # GMutex lock; 457s # }; 457s # 457s # static void 457s # _com_acme_coyote_skeleton_handle_method_call ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name, 457s # const gchar *method_name, 457s # GVariant *parameters, 457s # GDBusMethodInvocation *invocation, 457s # gpointer user_data) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 457s # _ExtendedGDBusMethodInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # guint num_extra; 457s # gsize n; 457s # guint signal_id; 457s # GValue return_value = G_VALUE_INIT; 457s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 457s # g_assert (info != NULL); 457s # num_params = g_variant_n_children (parameters); 457s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 457s # n = 0; 457s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 457s # g_value_set_object (¶mv[n++], skeleton); 457s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 457s # g_value_set_object (¶mv[n++], invocation); 457s # if (info->pass_fdlist) 457s # { 457s # #ifdef G_OS_UNIX 457s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 457s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 457s # #else 457s # g_assert_not_reached (); 457s # #endif 457s # } 457s # g_variant_iter_init (&iter, parameters); 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 457s # g_value_init (&return_value, G_TYPE_BOOLEAN); 457s # g_signal_emitv (paramv, signal_id, 0, &return_value); 457s # if (!g_value_get_boolean (&return_value)) 457s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 457s # g_value_unset (&return_value); 457s # for (n = 0; n < num_params + num_extra; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static GVariant * 457s # _com_acme_coyote_skeleton_handle_get_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # GVariant *ret; 457s # ret = NULL; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # g_value_init (&value, pspec->value_type); 457s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_value_unset (&value); 457s # } 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _com_acme_coyote_skeleton_handle_set_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GVariant *variant, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # gboolean ret; 457s # ret = FALSE; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # if (info->use_gvariant) 457s # g_value_set_variant (&value, variant); 457s # else 457s # g_dbus_gvariant_to_gvalue (variant, &value); 457s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # g_value_unset (&value); 457s # ret = TRUE; 457s # } 457s # return ret; 457s # } 457s # 457s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 457s # { 457s # _com_acme_coyote_skeleton_handle_method_call, 457s # _com_acme_coyote_skeleton_handle_get_property, 457s # _com_acme_coyote_skeleton_handle_set_property, 457s # {NULL} 457s # }; 457s # 457s # static GDBusInterfaceInfo * 457s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return com_acme_coyote_interface_info (); 457s # } 457s # 457s # static GDBusInterfaceVTable * 457s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 457s # } 457s # 457s # static GVariant * 457s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 457s # 457s # GVariantBuilder builder; 457s # guint n; 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 457s # goto out; 457s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 457s # { 457s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 457s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 457s # { 457s # GVariant *value; 457s # 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); 457s # if (value != NULL) 457s # { 457s # g_variant_take_ref (value); 457s # g_variant_builder_add (&builder, "{sv}", info->name, value); 457s # g_variant_unref (value); 457s # } 457s # } 457s # } 457s # out: 457s # return g_variant_builder_end (&builder); 457s # } 457s # 457s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 457s # 457s # static void 457s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 457s # gboolean emit_changed = FALSE; 457s # 457s # g_mutex_lock (&skeleton->priv->lock); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # { 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # skeleton->priv->changed_properties_idle_source = NULL; 457s # emit_changed = TRUE; 457s # } 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # 457s # if (emit_changed) 457s # _com_acme_coyote_emit_changed (skeleton); 457s # } 457s # 457s # static void 457s # _com_acme_coyote_on_signal_surprised ( 457s # ComAcmeCoyote *object) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # 457s # GList *connections, *l; 457s # GVariant *signal_variant; 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # 457s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 457s # for (l = connections; l != NULL; l = l->next) 457s # { 457s # GDBusConnection *connection = l->data; 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 457s # signal_variant, NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # 457s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 457s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 457s # 457s # #endif 457s # static void 457s # com_acme_coyote_skeleton_finalize (GObject *object) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # guint n; 457s # for (n = 0; n < 1; n++) 457s # g_value_unset (&skeleton->priv->properties[n]); 457s # g_free (skeleton->priv->properties); 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # g_main_context_unref (skeleton->priv->context); 457s # g_mutex_clear (&skeleton->priv->lock); 457s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_get_property (GObject *object, 457s # guint prop_id, 457s # GValue *value, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # g_assert (prop_id != 0 && prop_id - 1 < 1); 457s # g_mutex_lock (&skeleton->priv->lock); 457s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # } 457s # 457s # static gboolean 457s # _com_acme_coyote_emit_changed (gpointer user_data) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 457s # GList *l; 457s # GVariantBuilder builder; 457s # GVariantBuilder invalidated_builder; 457s # guint num_changes; 457s # 457s # g_mutex_lock (&skeleton->priv->lock); 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 457s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 457s # { 457s # ChangedProperty *cp = l->data; 457s # GVariant *variant; 457s # const GValue *cur_value; 457s # 457s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 457s # if (!_g_value_equal (cur_value, &cp->orig_value)) 457s # { 457s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 457s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 457s # g_variant_unref (variant); 457s # num_changes++; 457s # } 457s # } 457s # if (num_changes > 0) 457s # { 457s # GList *connections, *ll; 457s # GVariant *signal_variant; 457s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 457s # &builder, &invalidated_builder)); 457s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 457s # for (ll = connections; ll != NULL; ll = ll->next) 457s # { 457s # GDBusConnection *connection = ll->data; 457s # 457s # g_dbus_connection_emit_signal (connection, 457s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 457s # "org.freedesktop.DBus.Properties", 457s # "PropertiesChanged", 457s # signal_variant, 457s # NULL); 457s # } 457s # g_variant_unref (signal_variant); 457s # g_list_free_full (connections, g_object_unref); 457s # } 457s # else 457s # { 457s # g_variant_builder_clear (&builder); 457s # g_variant_builder_clear (&invalidated_builder); 457s # } 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # skeleton->priv->changed_properties = NULL; 457s # skeleton->priv->changed_properties_idle_source = NULL; 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # return FALSE; 457s # } 457s # 457s # static void 457s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 457s # { 457s # ChangedProperty *cp; 457s # GList *l; 457s # cp = NULL; 457s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 457s # { 457s # ChangedProperty *i_cp = l->data; 457s # if (i_cp->info == info) 457s # { 457s # cp = i_cp; 457s # break; 457s # } 457s # } 457s # if (cp == NULL) 457s # { 457s # cp = g_new0 (ChangedProperty, 1); 457s # cp->prop_id = prop_id; 457s # cp->info = info; 457s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 457s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 457s # g_value_copy (orig_value, &cp->orig_value); 457s # } 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_notify (GObject *object, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # g_mutex_lock (&skeleton->priv->lock); 457s # if (skeleton->priv->changed_properties != NULL && 457s # skeleton->priv->changed_properties_idle_source == NULL) 457s # { 457s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 457s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 457s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 457s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 457s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 457s # g_source_unref (skeleton->priv->changed_properties_idle_source); 457s # } 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_set_property (GObject *object, 457s # guint prop_id, 457s # const GValue *value, 457s # GParamSpec *pspec) 457s # { 457s # const _ExtendedGDBusPropertyInfo *info; 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # g_assert (prop_id != 0 && prop_id - 1 < 1); 457s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 457s # g_mutex_lock (&skeleton->priv->lock); 457s # g_object_freeze_notify (object); 457s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 457s # { 457s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 457s # info->emits_changed_signal) 457s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 457s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 457s # g_object_notify_by_pspec (object, pspec); 457s # } 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # g_object_thaw_notify (object); 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 457s # #else 457s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 457s # #endif 457s # 457s # g_mutex_init (&skeleton->priv->lock); 457s # skeleton->priv->context = g_main_context_ref_thread_default (); 457s # skeleton->priv->properties = g_new0 (GValue, 1); 457s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 457s # } 457s # 457s # static const gchar * 457s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 457s # { 457s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 457s # const gchar *value; 457s # g_mutex_lock (&skeleton->priv->lock); 457s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 457s # g_mutex_unlock (&skeleton->priv->lock); 457s # return value; 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusInterfaceSkeletonClass *skeleton_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 457s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 457s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 457s # gobject_class->notify = com_acme_coyote_skeleton_notify; 457s # 457s # 457s # com_acme_coyote_override_properties (gobject_class, 1); 457s # 457s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 457s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 457s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 457s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 457s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 457s # { 457s # iface->surprised = _com_acme_coyote_on_signal_surprised; 457s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 457s # } 457s # 457s # /** 457s # * com_acme_coyote_skeleton_new: 457s # * 457s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 457s # * 457s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 457s # */ 457s # ComAcmeCoyote * 457s # com_acme_coyote_skeleton_new (void) 457s # { 457s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ 457s # * Code for interface org.project.Bar.Frobnicator 457s # * ------------------------------------------------------------------------ 457s # */ 457s # 457s # /** 457s # * SECTION:OrgProjectBarFrobnicator 457s # * @title: OrgProjectBarFrobnicator 457s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 457s # * 457s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 457s # */ 457s # 457s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 457s # 457s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 457s # { 457s # { 457s # -1, 457s # (gchar *) "RandomMethod", 457s # NULL, 457s # NULL, 457s # NULL 457s # }, 457s # "handle-random-method", 457s # FALSE 457s # }; 457s # 457s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 457s # { 457s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 457s # NULL 457s # }; 457s # 457s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 457s # { 457s # { 457s # -1, 457s # (gchar *) "org.project.Bar.Frobnicator", 457s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 457s # NULL, 457s # NULL, 457s # NULL 457s # }, 457s # "org-project-bar-frobnicator", 457s # }; 457s # 457s # 457s # /** 457s # * org_project_bar_frobnicator_interface_info: 457s # * 457s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 457s # * 457s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 457s # */ 457s # GDBusInterfaceInfo * 457s # org_project_bar_frobnicator_interface_info (void) 457s # { 457s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_override_properties: 457s # * @klass: The class structure for a #GObject derived class. 457s # * @property_id_begin: The property id to assign to the first overridden property. 457s # * 457s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 457s # * The properties are overridden in the order they are defined. 457s # * 457s # * Returns: The last property id. 457s # */ 457s # guint 457s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 457s # { 457s # return property_id_begin - 1; 457s # } 457s # 457s # 457s # inline static void 457s # org_project_bar_frobnicator_method_marshal_random_method ( 457s # GClosure *closure, 457s # GValue *return_value, 457s # unsigned int n_param_values, 457s # const GValue *param_values, 457s # void *invocation_hint, 457s # void *marshal_data) 457s # { 457s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 457s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 457s # } 457s # 457s # 457s # /** 457s # * OrgProjectBarFrobnicator: 457s # * 457s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 457s # */ 457s # 457s # /** 457s # * OrgProjectBarFrobnicatorIface: 457s # * @parent_iface: The parent interface. 457s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 457s # * 457s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 457s # */ 457s # 457s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 457s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 457s # 457s # static void 457s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 457s # { 457s # /* GObject signals for incoming D-Bus method calls: */ 457s # /** 457s # * OrgProjectBarFrobnicator::handle-random-method: 457s # * @object: A #OrgProjectBarFrobnicator. 457s # * @invocation: A #GDBusMethodInvocation. 457s # * 457s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 457s # * 457s # * 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. 457s # * 457s # * 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. 457s # */ 457s # g_signal_new ("handle-random-method", 457s # G_TYPE_FROM_INTERFACE (iface), 457s # G_SIGNAL_RUN_LAST, 457s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 457s # g_signal_accumulator_true_handled, 457s # NULL, 457s # org_project_bar_frobnicator_method_marshal_random_method, 457s # G_TYPE_BOOLEAN, 457s # 1, 457s # G_TYPE_DBUS_METHOD_INVOCATION); 457s # 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_call_random_method: 457s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 457s # * 457s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 457s # */ 457s # void 457s # org_project_bar_frobnicator_call_random_method ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 457s # "RandomMethod", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # callback, 457s # user_data); 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_call_random_method_finish: 457s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # org_project_bar_frobnicator_call_random_method_finish ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_call_random_method_sync: 457s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL. 457s # * 457s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 457s # * 457s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 457s # */ 457s # gboolean 457s # org_project_bar_frobnicator_call_random_method_sync ( 457s # OrgProjectBarFrobnicator *proxy, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GVariant *_ret; 457s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 457s # "RandomMethod", 457s # g_variant_new ("()"), 457s # G_DBUS_CALL_FLAGS_NONE, 457s # -1, 457s # cancellable, 457s # error); 457s # if (_ret == NULL) 457s # goto _out; 457s # g_variant_get (_ret, 457s # "()"); 457s # g_variant_unref (_ret); 457s # _out: 457s # return _ret != NULL; 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_complete_random_method: 457s # * @object: A #OrgProjectBarFrobnicator. 457s # * @invocation: (transfer full): A #GDBusMethodInvocation. 457s # * 457s # * 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. 457s # * 457s # * This method will free @invocation, you cannot use it afterwards. 457s # */ 457s # void 457s # org_project_bar_frobnicator_complete_random_method ( 457s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 457s # GDBusMethodInvocation *invocation) 457s # { 457s # g_dbus_method_invocation_return_value (invocation, 457s # g_variant_new ("()")); 457s # } 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectBarFrobnicatorProxy: 457s # * 457s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectBarFrobnicatorProxyClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectBarFrobnicatorProxy. 457s # */ 457s # 457s # struct _OrgProjectBarFrobnicatorProxyPrivate 457s # { 457s # GData *qdata; 457s # }; 457s # 457s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 457s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 457s # { 457s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 457s # g_datalist_clear (&proxy->priv->qdata); 457s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 457s # guint prop_id G_GNUC_UNUSED, 457s # const GValue *value G_GNUC_UNUSED, 457s # GParamSpec *pspec G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 457s # const gchar *sender_name G_GNUC_UNUSED, 457s # const gchar *signal_name, 457s # GVariant *parameters) 457s # { 457s # _ExtendedGDBusSignalInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # gsize n; 457s # guint signal_id; 457s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 457s # if (info == NULL) 457s # return; 457s # num_params = g_variant_n_children (parameters); 457s # paramv = g_new0 (GValue, num_params + 1); 457s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 457s # g_value_set_object (¶mv[0], proxy); 457s # g_variant_iter_init (&iter, parameters); 457s # n = 1; 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 457s # g_signal_emitv (paramv, signal_id, 0, NULL); 457s # for (n = 0; n < num_params + 1; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 457s # GVariant *changed_properties, 457s # const gchar *const *invalidated_properties) 457s # { 457s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 457s # guint n; 457s # const gchar *key; 457s # GVariantIter *iter; 457s # _ExtendedGDBusPropertyInfo *info; 457s # g_variant_get (changed_properties, "a{sv}", &iter); 457s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 457s # g_datalist_remove_data (&proxy->priv->qdata, key); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # g_variant_iter_free (iter); 457s # for (n = 0; invalidated_properties[n] != NULL; n++) 457s # { 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 457s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 457s # if (info != NULL) 457s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 457s # } 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 457s # #else 457s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 457s # #endif 457s # 457s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusProxyClass *proxy_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 457s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 457s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 457s # 457s # proxy_class = G_DBUS_PROXY_CLASS (klass); 457s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 457s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 457s # * 457s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_bar_frobnicator_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectBarFrobnicator * 457s # org_project_bar_frobnicator_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new_sync: 457s # * @connection: A #GDBusConnection. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectBarFrobnicator * 457s # org_project_bar_frobnicator_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new_for_bus: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 457s # * @user_data: User data to pass to @callback. 457s # * 457s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 457s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 457s # * 457s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 457s # */ 457s # void 457s # org_project_bar_frobnicator_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data) 457s # { 457s # 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); 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 457s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 457s # * @error: Return location for error or %NULL 457s # * 457s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 457s # * 457s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectBarFrobnicator * 457s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error) 457s # { 457s # GObject *ret; 457s # GObject *source_object; 457s # source_object = g_async_result_get_source_object (res); 457s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 457s # g_object_unref (source_object); 457s # if (ret != NULL) 457s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 457s # * @bus_type: A #GBusType. 457s # * @flags: Flags from the #GDBusProxyFlags enumeration. 457s # * @name: A bus name (well-known or unique). 457s # * @object_path: An object path. 457s # * @cancellable: (nullable): A #GCancellable or %NULL. 457s # * @error: Return location for error or %NULL 457s # * 457s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 457s # * 457s # * The calling thread is blocked until a reply is received. 457s # * 457s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 457s # * 457s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 457s # */ 457s # OrgProjectBarFrobnicator * 457s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error) 457s # { 457s # GInitable *ret; 457s # 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); 457s # if (ret != NULL) 457s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 457s # else 457s # return NULL; 457s # } 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # 457s # /** 457s # * OrgProjectBarFrobnicatorSkeleton: 457s # * 457s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 457s # */ 457s # 457s # /** 457s # * OrgProjectBarFrobnicatorSkeletonClass: 457s # * @parent_class: The parent class. 457s # * 457s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 457s # */ 457s # 457s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 457s # { 457s # GValue *properties; 457s # GList *changed_properties; 457s # GSource *changed_properties_idle_source; 457s # GMainContext *context; 457s # GMutex lock; 457s # }; 457s # 457s # static void 457s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name, 457s # const gchar *method_name, 457s # GVariant *parameters, 457s # GDBusMethodInvocation *invocation, 457s # gpointer user_data) 457s # { 457s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 457s # _ExtendedGDBusMethodInfo *info; 457s # GVariantIter iter; 457s # GVariant *child; 457s # GValue *paramv; 457s # gsize num_params; 457s # guint num_extra; 457s # gsize n; 457s # guint signal_id; 457s # GValue return_value = G_VALUE_INIT; 457s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 457s # g_assert (info != NULL); 457s # num_params = g_variant_n_children (parameters); 457s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 457s # n = 0; 457s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 457s # g_value_set_object (¶mv[n++], skeleton); 457s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 457s # g_value_set_object (¶mv[n++], invocation); 457s # if (info->pass_fdlist) 457s # { 457s # #ifdef G_OS_UNIX 457s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 457s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 457s # #else 457s # g_assert_not_reached (); 457s # #endif 457s # } 457s # g_variant_iter_init (&iter, parameters); 457s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 457s # { 457s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 457s # if (arg_info->use_gvariant) 457s # { 457s # g_value_init (¶mv[n], G_TYPE_VARIANT); 457s # g_value_set_variant (¶mv[n], child); 457s # n++; 457s # } 457s # else 457s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 457s # g_variant_unref (child); 457s # } 457s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 457s # g_value_init (&return_value, G_TYPE_BOOLEAN); 457s # g_signal_emitv (paramv, signal_id, 0, &return_value); 457s # if (!g_value_get_boolean (&return_value)) 457s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 457s # g_value_unset (&return_value); 457s # for (n = 0; n < num_params + num_extra; n++) 457s # g_value_unset (¶mv[n]); 457s # g_free (paramv); 457s # } 457s # 457s # static GVariant * 457s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # GVariant *ret; 457s # ret = NULL; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # g_value_init (&value, pspec->value_type); 457s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 457s # g_value_unset (&value); 457s # } 457s # return ret; 457s # } 457s # 457s # static gboolean 457s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 457s # GDBusConnection *connection G_GNUC_UNUSED, 457s # const gchar *sender G_GNUC_UNUSED, 457s # const gchar *object_path G_GNUC_UNUSED, 457s # const gchar *interface_name G_GNUC_UNUSED, 457s # const gchar *property_name, 457s # GVariant *variant, 457s # GError **error, 457s # gpointer user_data) 457s # { 457s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 457s # GValue value = G_VALUE_INIT; 457s # GParamSpec *pspec; 457s # _ExtendedGDBusPropertyInfo *info; 457s # gboolean ret; 457s # ret = FALSE; 457s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 457s # g_assert (info != NULL); 457s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 457s # if (pspec == NULL) 457s # { 457s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 457s # } 457s # else 457s # { 457s # if (info->use_gvariant) 457s # g_value_set_variant (&value, variant); 457s # else 457s # g_dbus_gvariant_to_gvalue (variant, &value); 457s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 457s # g_value_unset (&value); 457s # ret = TRUE; 457s # } 457s # return ret; 457s # } 457s # 457s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 457s # { 457s # _org_project_bar_frobnicator_skeleton_handle_method_call, 457s # _org_project_bar_frobnicator_skeleton_handle_get_property, 457s # _org_project_bar_frobnicator_skeleton_handle_set_property, 457s # {NULL} 457s # }; 457s # 457s # static GDBusInterfaceInfo * 457s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return org_project_bar_frobnicator_interface_info (); 457s # } 457s # 457s # static GDBusInterfaceVTable * 457s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 457s # { 457s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 457s # } 457s # 457s # static GVariant * 457s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 457s # { 457s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 457s # 457s # GVariantBuilder builder; 457s # guint n; 457s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 457s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 457s # goto out; 457s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 457s # { 457s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 457s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 457s # { 457s # GVariant *value; 457s # 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); 457s # if (value != NULL) 457s # { 457s # g_variant_take_ref (value); 457s # g_variant_builder_add (&builder, "{sv}", info->name, value); 457s # g_variant_unref (value); 457s # } 457s # } 457s # } 457s # out: 457s # return g_variant_builder_end (&builder); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 457s # 457s # #else 457s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 457s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 457s # 457s # #endif 457s # static void 457s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 457s # { 457s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 457s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 457s # if (skeleton->priv->changed_properties_idle_source != NULL) 457s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 457s # g_main_context_unref (skeleton->priv->context); 457s # g_mutex_clear (&skeleton->priv->lock); 457s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 457s # { 457s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 457s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 457s # #else 457s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 457s # #endif 457s # 457s # g_mutex_init (&skeleton->priv->lock); 457s # skeleton->priv->context = g_main_context_ref_thread_default (); 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 457s # { 457s # GObjectClass *gobject_class; 457s # GDBusInterfaceSkeletonClass *skeleton_class; 457s # 457s # gobject_class = G_OBJECT_CLASS (klass); 457s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 457s # 457s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 457s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 457s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 457s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 457s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 457s # 457s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 457s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 457s # #endif 457s # } 457s # 457s # static void 457s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 457s # { 457s # } 457s # 457s # /** 457s # * org_project_bar_frobnicator_skeleton_new: 457s # * 457s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 457s # * 457s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 457s # */ 457s # OrgProjectBarFrobnicator * 457s # org_project_bar_frobnicator_skeleton_new (void) 457s # { 457s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 457s # } 457s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 457s # tmpdir: /tmp/tmpfepfxhir 457s # codegen: /usr/bin/gdbus-codegen 457s # /tmp/tmpfepfxhir/tmp_vm1_6rs.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfepfxhir/tmp_vm1_6rs.xml', '--output', '-', '--header'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifndef __STDOUT__ 457s # #define __STDOUT__ 457s # 457s # #include 457s # 457s # G_BEGIN_DECLS 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # /* Declarations for FDPassing */ 457s # 457s # #define TYPE_FDPASSING (fdpassing_get_type ()) 457s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 457s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 457s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 457s # 457s # struct _FDPassing; 457s # typedef struct _FDPassing FDPassing; 457s # typedef struct _FDPassingIface FDPassingIface; 457s # 457s # struct _FDPassingIface 457s # { 457s # GTypeInterface parent_iface; 457s # 457s # gboolean (*handle_hello_fd) ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GUnixFDList *fd_list, 457s # const gchar *arg_greeting); 457s # 457s # gboolean (*handle_no_annotation) ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GVariant *arg_greeting, 457s # const gchar *arg_greeting_locale); 457s # 457s # gboolean (*handle_no_annotation_nested) ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GVariant *arg_files); 457s # 457s # }; 457s # 457s # GType fdpassing_get_type (void) G_GNUC_CONST; 457s # 457s # GDBusInterfaceInfo *fdpassing_interface_info (void); 457s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 457s # 457s # 457s # /* D-Bus method call completion functions: */ 457s # void fdpassing_complete_hello_fd ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GUnixFDList *fd_list, 457s # const gchar *response); 457s # 457s # void fdpassing_complete_no_annotation ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GVariant *response, 457s # const gchar *response_locale); 457s # 457s # void fdpassing_complete_no_annotation_nested ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # 457s # 457s # /* D-Bus method calls: */ 457s # void fdpassing_call_hello_fd ( 457s # FDPassing *proxy, 457s # const gchar *arg_greeting, 457s # GUnixFDList *fd_list, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean fdpassing_call_hello_fd_finish ( 457s # FDPassing *proxy, 457s # gchar **out_response, 457s # GUnixFDList **out_fd_list, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean fdpassing_call_hello_fd_sync ( 457s # FDPassing *proxy, 457s # const gchar *arg_greeting, 457s # GUnixFDList *fd_list, 457s # gchar **out_response, 457s # GUnixFDList **out_fd_list, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void fdpassing_call_no_annotation ( 457s # FDPassing *proxy, 457s # GVariant *arg_greeting, 457s # const gchar *arg_greeting_locale, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean fdpassing_call_no_annotation_finish ( 457s # FDPassing *proxy, 457s # GVariant **out_response, 457s # gchar **out_response_locale, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean fdpassing_call_no_annotation_sync ( 457s # FDPassing *proxy, 457s # GVariant *arg_greeting, 457s # const gchar *arg_greeting_locale, 457s # GVariant **out_response, 457s # gchar **out_response_locale, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void fdpassing_call_no_annotation_nested ( 457s # FDPassing *proxy, 457s # GVariant *arg_files, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean fdpassing_call_no_annotation_nested_finish ( 457s # FDPassing *proxy, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean fdpassing_call_no_annotation_nested_sync ( 457s # FDPassing *proxy, 457s # GVariant *arg_files, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 457s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 457s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 457s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 457s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 457s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 457s # 457s # typedef struct _FDPassingProxy FDPassingProxy; 457s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 457s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 457s # 457s # struct _FDPassingProxy 457s # { 457s # /*< private >*/ 457s # GDBusProxy parent_instance; 457s # FDPassingProxyPrivate *priv; 457s # }; 457s # 457s # struct _FDPassingProxyClass 457s # { 457s # GDBusProxyClass parent_class; 457s # }; 457s # 457s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 457s # #endif 457s # 457s # void fdpassing_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # FDPassing *fdpassing_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # FDPassing *fdpassing_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void fdpassing_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 457s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 457s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 457s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 457s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 457s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 457s # 457s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 457s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 457s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 457s # 457s # struct _FDPassingSkeleton 457s # { 457s # /*< private >*/ 457s # GDBusInterfaceSkeleton parent_instance; 457s # FDPassingSkeletonPrivate *priv; 457s # }; 457s # 457s # struct _FDPassingSkeletonClass 457s # { 457s # GDBusInterfaceSkeletonClass parent_class; 457s # }; 457s # 457s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 457s # #endif 457s # 457s # FDPassing *fdpassing_skeleton_new (void); 457s # 457s # 457s # G_END_DECLS 457s # 457s # #endif /* __STDOUT__ */ 457s # /tmp/tmpfepfxhir/tmpd14vx82w.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfepfxhir/tmpd14vx82w.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifndef __STDOUT__ 457s # #define __STDOUT__ 457s # 457s # #include 457s # 457s # G_BEGIN_DECLS 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # /* Declarations for FDPassing */ 457s # 457s # #define TYPE_FDPASSING (fdpassing_get_type ()) 457s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 457s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 457s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 457s # 457s # struct _FDPassing; 457s # typedef struct _FDPassing FDPassing; 457s # typedef struct _FDPassingIface FDPassingIface; 457s # 457s # struct _FDPassingIface 457s # { 457s # GTypeInterface parent_iface; 457s # 457s # gboolean (*handle_hello_fd) ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GUnixFDList *fd_list, 457s # const gchar *arg_greeting); 457s # 457s # gboolean (*handle_no_annotation) ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GVariant *arg_greeting, 457s # const gchar *arg_greeting_locale); 457s # 457s # gboolean (*handle_no_annotation_nested) ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GVariant *arg_files); 457s # 457s # }; 457s # 457s # GType fdpassing_get_type (void) G_GNUC_CONST; 457s # 457s # GDBusInterfaceInfo *fdpassing_interface_info (void); 457s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 457s # 457s # 457s # /* D-Bus method call completion functions: */ 457s # void fdpassing_complete_hello_fd ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GUnixFDList *fd_list, 457s # const gchar *response); 457s # 457s # void fdpassing_complete_no_annotation ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GVariant *response, 457s # const gchar *response_locale); 457s # 457s # void fdpassing_complete_no_annotation_nested ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation); 457s # 457s # 457s # 457s # /* D-Bus method calls: */ 457s # void fdpassing_call_hello_fd ( 457s # FDPassing *proxy, 457s # const gchar *arg_greeting, 457s # GUnixFDList *fd_list, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean fdpassing_call_hello_fd_finish ( 457s # FDPassing *proxy, 457s # gchar **out_response, 457s # GUnixFDList **out_fd_list, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean fdpassing_call_hello_fd_sync ( 457s # FDPassing *proxy, 457s # const gchar *arg_greeting, 457s # GUnixFDList *fd_list, 457s # gchar **out_response, 457s # GUnixFDList **out_fd_list, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void fdpassing_call_no_annotation ( 457s # FDPassing *proxy, 457s # GVariant *arg_greeting, 457s # const gchar *arg_greeting_locale, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean fdpassing_call_no_annotation_finish ( 457s # FDPassing *proxy, 457s # GVariant **out_response, 457s # gchar **out_response_locale, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean fdpassing_call_no_annotation_sync ( 457s # FDPassing *proxy, 457s # GVariant *arg_greeting, 457s # const gchar *arg_greeting_locale, 457s # GVariant **out_response, 457s # gchar **out_response_locale, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void fdpassing_call_no_annotation_nested ( 457s # FDPassing *proxy, 457s # GVariant *arg_files, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean fdpassing_call_no_annotation_nested_finish ( 457s # FDPassing *proxy, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean fdpassing_call_no_annotation_nested_sync ( 457s # FDPassing *proxy, 457s # GVariant *arg_files, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 457s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 457s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 457s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 457s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 457s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 457s # 457s # typedef struct _FDPassingProxy FDPassingProxy; 457s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 457s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 457s # 457s # struct _FDPassingProxy 457s # { 457s # /*< private >*/ 457s # GDBusProxy parent_instance; 457s # FDPassingProxyPrivate *priv; 457s # }; 457s # 457s # struct _FDPassingProxyClass 457s # { 457s # GDBusProxyClass parent_class; 457s # }; 457s # 457s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 457s # #endif 457s # 457s # void fdpassing_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # FDPassing *fdpassing_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # FDPassing *fdpassing_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void fdpassing_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 457s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 457s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 457s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 457s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 457s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 457s # 457s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 457s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 457s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 457s # 457s # struct _FDPassingSkeleton 457s # { 457s # /*< private >*/ 457s # GDBusInterfaceSkeleton parent_instance; 457s # FDPassingSkeletonPrivate *priv; 457s # }; 457s # 457s # struct _FDPassingSkeletonClass 457s # { 457s # GDBusInterfaceSkeletonClass parent_class; 457s # }; 457s # 457s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 457s # #endif 457s # 457s # FDPassing *fdpassing_skeleton_new (void); 457s # 457s # 457s # G_END_DECLS 457s # 457s # #endif /* __STDOUT__ */ 457s # /tmp/tmpfepfxhir/tmpcxkssc8i.xml: 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # 457s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfepfxhir/tmpcxkssc8i.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 457s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 457s # Output: /* 457s # * This file is generated by gdbus-codegen, do not modify it. 457s # * 457s # * The license of this code is the same as for the D-Bus interface description 457s # * it was derived from. Note that it links to GLib, so must comply with the 457s # * LGPL linking clauses. 457s # */ 457s # 457s # #ifndef __STDOUT__ 457s # #define __STDOUT__ 457s # 457s # #include 457s # 457s # G_BEGIN_DECLS 457s # 457s # 457s # /* ------------------------------------------------------------------------ */ 457s # /* Declarations for FDPassing */ 457s # 457s # #define TYPE_FDPASSING (fdpassing_get_type ()) 457s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 457s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 457s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 457s # 457s # struct _FDPassing; 457s # typedef struct _FDPassing FDPassing; 457s # typedef struct _FDPassingIface FDPassingIface; 457s # 457s # struct _FDPassingIface 457s # { 457s # GTypeInterface parent_iface; 457s # 457s # gboolean (*handle_hello_fd) ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GUnixFDList *fd_list, 457s # const gchar *arg_greeting); 457s # 457s # gboolean (*handle_no_annotation) ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GUnixFDList *fd_list, 457s # GVariant *arg_greeting, 457s # const gchar *arg_greeting_locale); 457s # 457s # gboolean (*handle_no_annotation_nested) ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GUnixFDList *fd_list, 457s # GVariant *arg_files); 457s # 457s # }; 457s # 457s # GType fdpassing_get_type (void) G_GNUC_CONST; 457s # 457s # GDBusInterfaceInfo *fdpassing_interface_info (void); 457s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 457s # 457s # 457s # /* D-Bus method call completion functions: */ 457s # void fdpassing_complete_hello_fd ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GUnixFDList *fd_list, 457s # const gchar *response); 457s # 457s # void fdpassing_complete_no_annotation ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GUnixFDList *fd_list, 457s # GVariant *response, 457s # const gchar *response_locale); 457s # 457s # void fdpassing_complete_no_annotation_nested ( 457s # FDPassing *object, 457s # GDBusMethodInvocation *invocation, 457s # GUnixFDList *fd_list); 457s # 457s # 457s # 457s # /* D-Bus method calls: */ 457s # void fdpassing_call_hello_fd ( 457s # FDPassing *proxy, 457s # const gchar *arg_greeting, 457s # GDBusCallFlags call_flags, 457s # gint timeout_msec, 457s # GUnixFDList *fd_list, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean fdpassing_call_hello_fd_finish ( 457s # FDPassing *proxy, 457s # gchar **out_response, 457s # GUnixFDList **out_fd_list, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean fdpassing_call_hello_fd_sync ( 457s # FDPassing *proxy, 457s # const gchar *arg_greeting, 457s # GDBusCallFlags call_flags, 457s # gint timeout_msec, 457s # GUnixFDList *fd_list, 457s # gchar **out_response, 457s # GUnixFDList **out_fd_list, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void fdpassing_call_no_annotation ( 457s # FDPassing *proxy, 457s # GVariant *arg_greeting, 457s # const gchar *arg_greeting_locale, 457s # GDBusCallFlags call_flags, 457s # gint timeout_msec, 457s # GUnixFDList *fd_list, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean fdpassing_call_no_annotation_finish ( 457s # FDPassing *proxy, 457s # GVariant **out_response, 457s # gchar **out_response_locale, 457s # GUnixFDList **out_fd_list, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean fdpassing_call_no_annotation_sync ( 457s # FDPassing *proxy, 457s # GVariant *arg_greeting, 457s # const gchar *arg_greeting_locale, 457s # GDBusCallFlags call_flags, 457s # gint timeout_msec, 457s # GUnixFDList *fd_list, 457s # GVariant **out_response, 457s # gchar **out_response_locale, 457s # GUnixFDList **out_fd_list, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void fdpassing_call_no_annotation_nested ( 457s # FDPassing *proxy, 457s # GVariant *arg_files, 457s # GDBusCallFlags call_flags, 457s # gint timeout_msec, 457s # GUnixFDList *fd_list, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # 457s # gboolean fdpassing_call_no_annotation_nested_finish ( 457s # FDPassing *proxy, 457s # GUnixFDList **out_fd_list, 457s # GAsyncResult *res, 457s # GError **error); 457s # 457s # gboolean fdpassing_call_no_annotation_nested_sync ( 457s # FDPassing *proxy, 457s # GVariant *arg_files, 457s # GDBusCallFlags call_flags, 457s # gint timeout_msec, 457s # GUnixFDList *fd_list, 457s # GUnixFDList **out_fd_list, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 457s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 457s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 457s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 457s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 457s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 457s # 457s # typedef struct _FDPassingProxy FDPassingProxy; 457s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 457s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 457s # 457s # struct _FDPassingProxy 457s # { 457s # /*< private >*/ 457s # GDBusProxy parent_instance; 457s # FDPassingProxyPrivate *priv; 457s # }; 457s # 457s # struct _FDPassingProxyClass 457s # { 457s # GDBusProxyClass parent_class; 457s # }; 457s # 457s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 457s # #endif 457s # 457s # void fdpassing_proxy_new ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # FDPassing *fdpassing_proxy_new_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # FDPassing *fdpassing_proxy_new_sync ( 457s # GDBusConnection *connection, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # void fdpassing_proxy_new_for_bus ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GAsyncReadyCallback callback, 457s # gpointer user_data); 457s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 457s # GAsyncResult *res, 457s # GError **error); 457s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 457s # GBusType bus_type, 457s # GDBusProxyFlags flags, 457s # const gchar *name, 457s # const gchar *object_path, 457s # GCancellable *cancellable, 457s # GError **error); 457s # 457s # 457s # /* ---- */ 457s # 457s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 457s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 457s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 457s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 457s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 457s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 457s # 457s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 457s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 457s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 457s # 457s # struct _FDPassingSkeleton 457s # { 457s # /*< private >*/ 457s # GDBusInterfaceSkeleton parent_instance; 457s # FDPassingSkeletonPrivate *priv; 457s # }; 457s # 457s # struct _FDPassingSkeletonClass 457s # { 457s # GDBusInterfaceSkeletonClass parent_class; 457s # }; 457s # 457s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 457s # 457s # #if GLIB_CHECK_VERSION(2, 44, 0) 457s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 457s # #endif 457s # 457s # FDPassing *fdpassing_skeleton_new (void); 457s # 457s # 457s # G_END_DECLS 457s # 457s # #endif /* __STDOUT__ */ 457s 1..39 457s ok - glib/codegen.py.test 457s # Running test: glib/contexts.test 457s TAP version 14 457s # random seed: R02S9a77c2debcc45bdc92955053ecc38091 457s 1..5 457s # Start of gio tests 457s # Start of contexts tests 457s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 457s ok 1 /gio/contexts/thread-independence 457s ok 2 /gio/contexts/context-independence 457s # Start of context-specific tests 457s ok 3 /gio/contexts/context-specific/identity 457s ok 4 /gio/contexts/context-specific/emit 457s ok 5 /gio/contexts/context-specific/emit-and-unref 457s # End of context-specific tests 457s # End of contexts tests 457s # End of gio tests 457s ok - glib/contexts.test 457s # Running test: glib/markup.test 457s TAP version 14 457s # random seed: R02S8fd21c41c62c261a7335cb5318c356c9 457s 1..1 457s # Start of markup tests 457s ok 1 /markup/stack 457s # End of markup tests 457s ok - glib/markup.test 457s # Running test: glib/macros-c-17.test 457s TAP version 14 457s # random seed: R02Sc9451af008790778e0cd326e05eb544f 457s 1..4 457s # Start of C tests 457s ok 1 /C/standard-17 457s # End of C tests 457s # Start of alignof tests 457s ok 2 /alignof/fallback 457s # End of alignof tests 457s # Start of assert tests 457s ok 3 /assert/static 457s # End of assert tests 457s # Start of struct tests 457s ok 4 /struct/sizeof_member 457s # End of struct tests 457s ok - glib/macros-c-17.test 457s # Running test: glib/atomic.test 457s TAP version 14 457s # random seed: R02Sa3292bfa9aefa5ea9980858d36d96f86 457s 1..2 457s # Start of atomic tests 457s ok 1 /atomic/types 457s ok 2 /atomic/threaded 457s # End of atomic tests 457s ok - glib/atomic.test 457s # Running test: glib/gutils-user-database.test 457s TAP version 14 457s # random seed: R02S0ca4fc8700e1ee3b70b07163b4c02d93 457s 1..1 457s # Start of gutils tests 457s ok 1 /gutils/get_user_database_entry 457s # End of gutils tests 457s ok - glib/gutils-user-database.test 457s # Running test: glib/bytes.test 457s TAP version 14 457s # random seed: R02Sfa151dce7094e8d13b0fce4233ff74d2 457s 1..21 457s # Start of bytes tests 457s ok 1 /bytes/new 457s ok 2 /bytes/new-take 457s ok 3 /bytes/new-static 457s ok 4 /bytes/new-with-free-func 457s ok 5 /bytes/new-from-bytes 457s ok 6 /bytes/new-from-bytes-slice 457s ok 7 /bytes/new-from-bytes-shared-ref 457s ok 8 /bytes/hash 457s ok 9 /bytes/equal 457s ok 10 /bytes/compare 457s ok 11 /bytes/null 457s ok 12 /bytes/get-region 457s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 457s ok 13 /bytes/unref-null 457s # Start of to-data tests 457s ok 14 /bytes/to-data/transferred 457s ok 15 /bytes/to-data/two-refs 457s ok 16 /bytes/to-data/non-malloc 457s ok 17 /bytes/to-data/different-free-func 457s # End of to-data tests 457s # Start of to-array tests 457s ok 18 /bytes/to-array/transferred 457s ok 19 /bytes/to-array/two-refs 457s ok 20 /bytes/to-array/non-malloc 457s # Start of transferred tests 457s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 457s ok 21 /bytes/to-array/transferred/oversize 457s # End of transferred tests 457s # End of to-array tests 457s # End of bytes tests 457s ok - glib/bytes.test 457s # Running test: glib/gdatetime.test 457s TAP version 14 457s # random seed: R02S2f13d089df9efe3dfbd55594b088dd3e 457s 1..68 457s # Start of GDateTime tests 457s # Bug Reference: http://bugzilla.gnome.org/702674 457s ok 1 /GDateTime/invalid 457s ok 2 /GDateTime/add_days 457s ok 3 /GDateTime/add_full 457s ok 4 /GDateTime/add_hours 457s ok 5 /GDateTime/add_minutes 457s ok 6 /GDateTime/add_months 457s ok 7 /GDateTime/add_seconds 457s ok 8 /GDateTime/add_weeks 457s ok 9 /GDateTime/add_years 457s ok 10 /GDateTime/compare 457s ok 11 /GDateTime/diff 457s ok 12 /GDateTime/equal 457s ok 13 /GDateTime/get_day_of_week 457s ok 14 /GDateTime/get_day_of_month 457s ok 15 /GDateTime/get_day_of_year 457s ok 16 /GDateTime/get_hour 457s ok 17 /GDateTime/get_microsecond 457s ok 18 /GDateTime/get_minute 457s ok 19 /GDateTime/get_month 457s ok 20 /GDateTime/get_second 457s ok 21 /GDateTime/get_utc_offset 457s ok 22 /GDateTime/get_year 457s ok 23 /GDateTime/hash 457s ok 24 /GDateTime/new_from_unix 457s ok 25 /GDateTime/new_from_unix_utc 457s ok 26 /GDateTime/new_from_timeval 457s ok 27 /GDateTime/new_from_timeval_utc 457s ok 28 /GDateTime/new_from_iso8601 457s ok 29 /GDateTime/new_full 457s ok 30 /GDateTime/now 457s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 457s ok 31 /GDateTime/test-6-days-until-end-of-the-month 457s # %a -> expected: Sat 457s # %a -> actual: Sat 457s # %A -> expected: Saturday 457s # %A -> actual: Saturday 457s # %b -> expected: Oct 457s # %b -> actual: Oct 457s # %B -> expected: October 457s # %B -> actual: October 457s # %d -> expected: 24 457s # %d -> actual: 24 457s # %d -> expected: 01 457s # %d -> actual: 01 457s # %e -> expected: 24 457s # %e -> actual: 24 457s # %e -> expected:  1 457s # %e -> actual:  1 457s # %f -> expected: 001000 457s # %f -> actual: 001000 457s # %h -> expected: Oct 457s # %h -> actual: Oct 457s # %H -> expected: 00 457s # %H -> actual: 00 457s # %H -> expected: 15 457s # %H -> actual: 15 457s # %I -> expected: 12 457s # %I -> actual: 12 457s # %I -> expected: 12 457s # %I -> actual: 12 457s # %I -> expected: 03 457s # %I -> actual: 03 457s # %j -> expected: 297 457s # %j -> actual: 297 457s # %k -> expected:  0 457s # %k -> actual:  0 457s # %k -> expected: 13 457s # %k -> actual: 13 457s # %l -> expected: 12 457s # %l -> actual: 12 457s # %I -> expected: 12 457s # %I -> actual: 12 457s # %l -> expected:  1 457s # %l -> actual:  1 457s # %l -> expected: 10 457s # %l -> actual: 10 457s # %m -> expected: 10 457s # %m -> actual: 10 457s # %M -> expected: 00 457s # %M -> actual: 00 457s # %p -> expected: AM 457s # %p -> actual: AM 457s # %p -> expected: PM 457s # %p -> actual: PM 457s # %P -> expected: am 457s # %P -> actual: am 457s # %P -> expected: pm 457s # %P -> actual: pm 457s # %r -> expected: 12:00:00 AM 457s # %r -> actual: 12:00:00 AM 457s # %r -> expected: 01:13:13 PM 457s # %r -> actual: 01:13:13 PM 457s # %R -> expected: 00:00 457s # %R -> actual: 00:00 457s # %R -> expected: 13:13 457s # %R -> actual: 13:13 457s # %S -> expected: 00 457s # %S -> actual: 00 457s # %t -> expected: 457s # %t -> actual: 457s # %u -> expected: 6 457s # %u -> actual: 6 457s # %x -> expected: 10/24/09 457s # %x -> actual: 10/24/09 457s # %X -> expected: 00:00:00 457s # %X -> actual: 00:00:00 457s # %X -> expected: 13:14:15 457s # %X -> actual: 13:14:15 457s # %y -> expected: 09 457s # %y -> actual: 09 457s # %Y -> expected: 2009 457s # %Y -> actual: 2009 457s # %% -> expected: % 457s # %% -> actual: % 457s # % -> expected: 457s # % -> actual: 457s # %9 -> expected: (null) 457s # %9 -> actual: (null) 457s # %Z -> expected: UTC 457s # %Z -> actual: UTC 457s ok 32 /GDateTime/printf 457s # %a -> expected: ÅÚ 457s # %a -> actual: ÅÚ 457s # %A -> expected: ÅÚÍËÆü 457s # %A -> actual: ÅÚÍËÆü 457s # %b -> expected: 10·î 457s # %b -> actual: 10·î 457s # %B -> expected: 10·î 457s # %B -> actual: 10·î 457s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 457s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 457s # %C -> expected: 20 457s # %C -> actual: 20 457s # %d -> expected: 24 457s # %d -> actual: 24 457s # %d -> expected: 01 457s # %d -> actual: 01 457s # %e -> expected: 24 457s # %e -> actual: 24 457s # %h -> expected: 10·î 457s # %h -> actual: 10·î 457s # %H -> expected: 00 457s # %H -> actual: 00 457s # %H -> expected: 15 457s # %H -> actual: 15 457s # %I -> expected: 12 457s # %I -> actual: 12 457s # %I -> expected: 12 457s # %I -> actual: 12 457s # %I -> expected: 03 457s # %I -> actual: 03 457s # %j -> expected: 297 457s # %j -> actual: 297 457s # %k -> expected: ?0 457s # %k -> actual: ?0 457s # %k -> expected: 13 457s # %k -> actual: 13 457s # %l -> expected: 12 457s # %l -> actual: 12 457s # %I -> expected: 12 457s # %I -> actual: 12 457s # %l -> expected: ?1 457s # %l -> actual: ?1 457s # %l -> expected: 10 457s # %l -> actual: 10 457s # %m -> expected: 10 457s # %m -> actual: 10 457s # %M -> expected: 00 457s # %M -> actual: 00 457s # %p -> expected: ¸áÁ° 457s # %p -> actual: ¸áÁ° 457s # %p -> expected: ¸á¸å 457s # %p -> actual: ¸á¸å 457s # %P -> expected: ¸áÁ° 457s # %P -> actual: ¸áÁ° 457s # %P -> expected: ¸á¸å 457s # %P -> actual: ¸á¸å 457s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 457s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 457s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 457s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 457s # %R -> expected: 00:00 457s # %R -> actual: 00:00 457s # %R -> expected: 13:13 457s # %R -> actual: 13:13 457s # %S -> expected: 00 457s # %S -> actual: 00 457s # %t -> expected: 457s # %t -> actual: 457s # %u -> expected: 6 457s # %u -> actual: 6 457s # %x -> expected: 2009ǯ10·î24Æü 457s # %x -> actual: 2009ǯ10·î24Æü 457s # %X -> expected: 00»þ00ʬ00Éà 457s # %X -> actual: 00»þ00ʬ00Éà 457s # %X -> expected: 13»þ14ʬ15Éà 457s # %X -> actual: 13»þ14ʬ15Éà 457s # %y -> expected: 09 457s # %y -> actual: 09 457s # %Y -> expected: 2009 457s # %Y -> actual: 2009 457s # %% -> expected: % 457s # %% -> actual: % 457s # % -> expected: 457s # % -> actual: 457s # %9 -> expected: (null) 457s # %9 -> actual: (null) 457s # %Ec -> expected: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 457s # %Ec -> actual: Ê¿À®21ǯ10·î24Æü 00»þ00ʬ00Éà 457s # %EC -> expected: Ê¿À® 457s # %EC -> actual: Ê¿À® 457s # %Ex -> expected: Ê¿À®21ǯ10·î24Æü 457s # %Ex -> actual: Ê¿À®21ǯ10·î24Æü 457s # %EX -> expected: 00»þ00ʬ00Éà 457s # %EX -> actual: 00»þ00ʬ00Éà 457s # %Ey -> expected: 21 457s # %Ey -> actual: 21 457s # %EY -> expected: Ê¿À®21ǯ 457s # %EY -> actual: Ê¿À®21ǯ 457s ok 33 /GDateTime/non_utf8_printf 457s # ???? -> expected: ???? 457s # ???? -> actual: ???? 457s # %H?%M -> expected: 23?15 457s # %H?%M -> actual: 23?15 457s # %H?%M -> expected: 23?15 457s # %H?%M -> actual: 23?15 457s ok 34 /GDateTime/format_unrepresentable 457s ok 35 /GDateTime/format_iso8601 458s ok 36 /GDateTime/strftime 458s # %d -> expected: 01 458s # %d -> actual: 01 458s # %_d -> expected: 1 458s # %_d -> actual: 1 458s # %-d -> expected: 1 458s # %-d -> actual: 1 458s # %0d -> expected: 01 458s # %0d -> actual: 01 458s # %d -> expected: 21 458s # %d -> actual: 21 458s # %_d -> expected: 21 458s # %_d -> actual: 21 458s # %-d -> expected: 21 458s # %-d -> actual: 21 458s # %0d -> expected: 21 458s # %0d -> actual: 21 458s # %e -> expected:  1 458s # %e -> actual:  1 458s # %_e -> expected: 1 458s # %_e -> actual: 1 458s # %-e -> expected: 1 458s # %-e -> actual: 1 458s # %0e -> expected: 01 458s # %0e -> actual: 01 458s # %e -> expected: 21 458s # %e -> actual: 21 458s # %_e -> expected: 21 458s # %_e -> actual: 21 458s # %-e -> expected: 21 458s # %-e -> actual: 21 458s # %0e -> expected: 21 458s # %0e -> actual: 21 458s # %a -> expected: Thu 458s # %a -> actual: Thu 458s # %^a -> expected: THU 458s # %^a -> actual: THU 458s # %#a -> expected: THU 458s # %#a -> actual: THU 458s # %A -> expected: Thursday 458s # %A -> actual: Thursday 458s # %^A -> expected: THURSDAY 458s # %^A -> actual: THURSDAY 458s # %#A -> expected: THURSDAY 458s # %#A -> actual: THURSDAY 458s # %b -> expected: Jan 458s # %b -> actual: Jan 458s # %^b -> expected: JAN 458s # %^b -> actual: JAN 458s # %#b -> expected: JAN 458s # %#b -> actual: JAN 458s # %B -> expected: January 458s # %B -> actual: January 458s # %^B -> expected: JANUARY 458s # %^B -> actual: JANUARY 458s # %#B -> expected: JANUARY 458s # %#B -> actual: JANUARY 458s # %h -> expected: Jan 458s # %h -> actual: Jan 458s # %^h -> expected: JAN 458s # %^h -> actual: JAN 458s # %#h -> expected: JAN 458s # %#h -> actual: JAN 458s # %Z -> expected: UTC 458s # %Z -> actual: UTC 458s # %^Z -> expected: UTC 458s # %^Z -> actual: UTC 458s # %#Z -> expected: utc 458s # %#Z -> actual: utc 458s # %H -> expected: 01 458s # %H -> actual: 01 458s # %_H -> expected: 1 458s # %_H -> actual: 1 458s # %-H -> expected: 1 458s # %-H -> actual: 1 458s # %0H -> expected: 01 458s # %0H -> actual: 01 458s # %H -> expected: 21 458s # %H -> actual: 21 458s # %_H -> expected: 21 458s # %_H -> actual: 21 458s # %-H -> expected: 21 458s # %-H -> actual: 21 458s # %0H -> expected: 21 458s # %0H -> actual: 21 458s # %I -> expected: 01 458s # %I -> actual: 01 458s # %_I -> expected: 1 458s # %_I -> actual: 1 458s # %-I -> expected: 1 458s # %-I -> actual: 1 458s # %0I -> expected: 01 458s # %0I -> actual: 01 458s # %I -> expected: 11 458s # %I -> actual: 11 458s # %_I -> expected: 11 458s # %_I -> actual: 11 458s # %-I -> expected: 11 458s # %-I -> actual: 11 458s # %0I -> expected: 11 458s # %0I -> actual: 11 458s # %k -> expected:  1 458s # %k -> actual:  1 458s # %_k -> expected: 1 458s # %_k -> actual: 1 458s # %-k -> expected: 1 458s # %-k -> actual: 1 458s # %0k -> expected: 01 458s # %0k -> actual: 01 458s # %l -> expected:  1 458s # %l -> actual:  1 458s # %_l -> expected: 1 458s # %_l -> actual: 1 458s # %-l -> expected: 1 458s # %-l -> actual: 1 458s # %0l -> expected: 01 458s # %0l -> actual: 01 458s # %l -> expected: 11 458s # %l -> actual: 11 458s # %_l -> expected: 11 458s # %_l -> actual: 11 458s # %-l -> expected: 11 458s # %-l -> actual: 11 458s # %0l -> expected: 11 458s # %0l -> actual: 11 458s # %p -> expected: AM 458s # %p -> actual: AM 458s # %^p -> expected: AM 458s # %^p -> actual: AM 458s # %#p -> expected: am 458s # %#p -> actual: am 458s # %P -> expected: am 458s # %P -> actual: am 458s # %^P -> expected: AM 458s # %^P -> actual: AM 458s # %#P -> expected: am 458s # %#P -> actual: am 458s # %OH -> expected: Û²Û³ 458s # %OH -> actual: Û²Û³ 458s # %OI -> expected: Û±Û± 458s # %OI -> actual: Û±Û± 458s # %OM -> expected: Û°Û° 458s # %OM -> actual: Û°Û° 458s # %Om -> expected: Û°Û· 458s # %Om -> actual: Û°Û· 458s # %0Om -> expected: Û°Û· 458s # %0Om -> actual: Û°Û· 458s # %-Om -> expected: Û· 458s # %-Om -> actual: Û· 458s # %_Om -> expected: Û· 458s # %_Om -> actual: Û· 458s # %c -> expected: thu 01 jan 2009 00:00:00 utc 458s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 458s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 458s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 458s # %C -> expected: 20 458s # %C -> actual: 20 458s # %EC -> expected: 20 458s # %EC -> actual: 20 458s # %x -> expected: 02/01/09 458s # %x -> actual: 02/01/09 458s # %Ex -> expected: 02/01/09 458s # %Ex -> actual: 02/01/09 458s # %X -> expected: 01:02:03 458s # %X -> actual: 01:02:03 458s # %EX -> expected: 01:02:03 458s # %EX -> actual: 01:02:03 458s # %y -> expected: 09 458s # %y -> actual: 09 458s # %Ey -> expected: 09 458s # %Ey -> actual: 09 458s # %Y -> expected: 2009 458s # %Y -> actual: 2009 458s # %EY -> expected: 2009 458s # %EY -> actual: 2009 458s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 458s # Bug Reference: http://bugzilla.gnome.org/749206 458s # %B -> expected: January 458s # %B -> actual: January 458s # %OB -> expected: February 458s # %OB -> actual: February 458s # %b -> expected: Mar 458s # %b -> actual: Mar 458s # %Ob -> expected: Apr 458s # %Ob -> actual: Apr 458s # %h -> expected: May 458s # %h -> actual: May 458s # %Oh -> expected: Jun 458s # %Oh -> actual: Jun 458s # %B -> expected: Juli 458s # %B -> actual: Juli 458s # %OB -> expected: August 458s # %OB -> actual: August 458s # %b -> expected: Sep 458s # %b -> actual: Sep 458s # %Ob -> expected: Okt 458s # %Ob -> actual: Okt 458s # %h -> expected: Nov 458s # %h -> actual: Nov 458s # %Oh -> expected: Dez 458s # %Oh -> actual: Dez 458s # %B -> expected: enero 458s # %B -> actual: enero 458s # %OB -> expected: febrero 458s # %OB -> actual: febrero 458s # %b -> expected: mar 458s # %b -> actual: mar 458s # %Ob -> expected: abr 458s # %Ob -> actual: abr 458s # %h -> expected: may 458s # %h -> actual: may 458s # %Oh -> expected: jun 458s # %Oh -> actual: jun 458s # %B -> expected: juillet 458s # %B -> actual: juillet 458s # %OB -> expected: août 458s # %OB -> actual: août 458s # %b -> expected: sept. 458s # %b -> actual: sept. 458s # %Ob -> expected: oct. 458s # %Ob -> actual: oct. 458s # %h -> expected: nov. 458s # %h -> actual: nov. 458s # %Oh -> expected: déc. 458s # %Oh -> actual: déc. 458s # %B -> expected: ΙανουαÏίου 458s # %B -> actual: ΙανουαÏίου 458s # %B -> expected: ΦεβÏουαÏίου 458s # %B -> actual: ΦεβÏουαÏίου 458s # %B -> expected: ΜαÏτίου 458s # %B -> actual: ΜαÏτίου 458s # %OB -> expected: ΑπÏίλιος 458s # %OB -> actual: ΑπÏίλιος 458s # %OB -> expected: Μάιος 458s # %OB -> actual: Μάιος 458s # %OB -> expected: ΙοÏνιος 458s # %OB -> actual: ΙοÏνιος 458s # %b -> expected: Ιουλ 458s # %b -> actual: Ιουλ 458s # %Ob -> expected: ΑÏγ 458s # %Ob -> actual: ΑÏγ 458s # %B -> expected: svibnja 458s # %B -> actual: svibnja 458s # %B -> expected: lipnja 458s # %B -> actual: lipnja 458s # %B -> expected: srpnja 458s # %B -> actual: srpnja 458s # %OB -> expected: Kolovoz 458s # %OB -> actual: kolovoz 458s # %OB -> expected: Rujan 458s # %OB -> actual: rujan 458s # %OB -> expected: Listopad 458s # %OB -> actual: listopad 458s # %b -> expected: Stu 458s # %b -> actual: stu 458s # %Ob -> expected: Pro 458s # %Ob -> actual: pro 458s # %B -> expected: sausio 458s # %B -> actual: sausio 458s # %B -> expected: vasario 458s # %B -> actual: vasario 458s # %B -> expected: kovo 458s # %B -> actual: kovo 458s # %OB -> expected: balandis 458s # %OB -> actual: balandis 458s # %OB -> expected: gegužė 458s # %OB -> actual: gegužė 458s # %OB -> expected: birželis 458s # %OB -> actual: birželis 458s # %b -> expected: liep. 458s # %b -> actual: liep. 458s # %Ob -> expected: rugp. 458s # %Ob -> actual: rugp. 458s # %B -> expected: maja 458s # %B -> actual: maja 458s # %B -> expected: czerwca 458s # %B -> actual: czerwca 458s # %B -> expected: lipca 458s # %B -> actual: lipca 458s # %OB -> expected: sierpieÅ„ 458s # %OB -> actual: sierpieÅ„ 458s # %OB -> expected: wrzesieÅ„ 458s # %OB -> actual: wrzesieÅ„ 458s # %OB -> expected: październik 458s # %OB -> actual: październik 458s # %b -> expected: lis 458s # %b -> actual: lis 458s # %Ob -> expected: gru 458s # %Ob -> actual: gru 458s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 458s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 458s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 458s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 458s # %B -> expected: марта 458s # %B -> actual: марта 458s # %OB -> expected: Ðпрель 458s # %OB -> actual: Ðпрель 458s # %OB -> expected: Май 458s # %OB -> actual: Май 458s # %OB -> expected: Июнь 458s # %OB -> actual: Июнь 458s # %b -> expected: июл 458s # %b -> actual: июл 458s # %Ob -> expected: авг 458s # %Ob -> actual: авг 458s # %b -> expected: Ð¼Ð°Ñ 458s # %b -> actual: Ð¼Ð°Ñ 458s # %Ob -> expected: май 458s # %Ob -> actual: май 458s ok 38 /GDateTime/month_names 458s ok 39 /GDateTime/to_local 458s ok 40 /GDateTime/to_unix 458s ok 41 /GDateTime/to_timeval 458s ok 42 /GDateTime/to_utc 458s ok 43 /GDateTime/now_utc 458s ok 44 /GDateTime/dst 458s # Bug Reference: http://bugzilla.gnome.org/642935 458s ok 45 /GDateTime/test_z 459s ok 46 /GDateTime/test-all-dates 459s # slow test /GDateTime/test-all-dates executed in 1.40 secs 459s ok 47 /GDateTime/unix_usec 459s # Start of new_from_unix tests 459s # Bug Reference: http://bugzilla.gnome.org/782089 459s ok 48 /GDateTime/new_from_unix/overflow 459s # End of new_from_unix tests 459s # Start of new_from_timeval tests 459s # Bug Reference: http://bugzilla.gnome.org/782089 459s # Maximum supported GTimeVal.tv_sec = 253402300799 459s ok 49 /GDateTime/new_from_timeval/overflow 459s # End of new_from_timeval tests 459s # Start of new_from_iso8601 tests 459s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 459s # Vector 0: 1990-11-01T10:21:17Z 459s # Vector 1: 19901101T102117Z 459s # Vector 2: 1970-01-01T00:00:17.12Z 459s # Vector 3: 1970-01-01T00:00:17.1234Z 459s # Vector 4: 1970-01-01T00:00:17.123456Z 459s # Vector 5: 1980-02-22T12:36:00+02:00 459s # Vector 6: 1990-12-31T15:59:60-08:00 459s # Vector 7: 459s # Vector 8: x 459s # Vector 9: 123x 459s # Vector 10: 2001-10+x 459s # Vector 11: 1980-02-22T 459s # Vector 12: 2001-10-08Tx 459s # Vector 13: 2001-10-08T10:11x 459s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 459s # Vector 15: 1980-02-22T10:36:00Zulu 459s # Vector 16: 2T0+819855292164632335 459s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 459s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 459s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 459s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 459s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 459s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 459s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 459s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 459s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 459s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 459s # Vector 27: 20180803T140805.446178377+0100 459s # Vector 28: 21474836480803T140805.446178377+0100 459s # Vector 29: 20181303T140805.446178377+0100 459s # Vector 30: 20180003T140805.446178377+0100 459s # Vector 31: 20180800T140805.446178377+0100 459s # Vector 32: 20180832T140805.446178377+0100 459s # Vector 33: 20180803T240805.446178377+0100 459s # Vector 34: 20180803T146005.446178377+0100 459s # Vector 35: 20180803T140863.446178377+0100 459s # Vector 36: 20180803T140805.446178377+10000 459s # Vector 37: -0005-01-01T00:00:00Z 459s # Vector 38: 2018-08-06 459s # Vector 39: 20180803T140805,446178377+0100 459s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 459s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 459s # Vector 42: 1990-11-01T10:21:17 459s # Vector 43: 1719W462 407777-07 459s # Vector 44: 4011090 260528Z 459s # Vector 45: 0000W011 228214-22 459s ok 50 /GDateTime/new_from_iso8601/2 459s # End of new_from_iso8601 tests 459s # Start of format_mixed tests 459s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 459s # %b -> expected: mar 459s # %b -> actual: Mar 459s # %B -> expected: march 459s # %B -> actual: March 459s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 459s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 459s # %b -> expected: mar 459s # %b -> actual: Mar 459s # %B -> expected: march 459s # %B -> actual: March 459s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 459s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 459s # %b -> expected: Mär 459s # %b -> actual: Mär 459s # %B -> expected: März 459s # %B -> actual: März 459s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 459s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 459s # %b -> expected: Mär 459s # %b -> actual: Mär 459s # %B -> expected: März 459s # %B -> actual: März 459s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 459s # End of format_mixed tests 459s # Start of strftime tests 459s # %r -> expected: (null) 459s # %r -> actual: (null) 459s ok 55 /GDateTime/strftime/error_handling 459s # End of strftime tests 459s # Start of eras tests 459s # %Ec -> expected: 令和05å¹´06月01æ—¥ 00時00分00秒 459s # %Ec -> actual: 令和05å¹´06月01æ—¥ 00時00分00秒 459s # %EC -> expected: 令和 459s # %EC -> actual: 令和 459s # %Ex -> expected: 令和05å¹´06月01æ—¥ 459s # %Ex -> actual: 令和05å¹´06月01æ—¥ 459s # %EX -> expected: 00時00分00秒 459s # %EX -> actual: 00時00分00秒 459s # %Ey -> expected: 05 459s # %Ey -> actual: 05 459s # %EY -> expected: 令和05å¹´ 459s # %EY -> actual: 令和05å¹´ 459s # %Ec -> expected: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 459s # %Ec -> actual: å¹³æˆ31å¹´04月30æ—¥ 00時00分00秒 459s # %EC -> expected: å¹³æˆ 459s # %EC -> actual: å¹³æˆ 459s # %Ex -> expected: å¹³æˆ31å¹´04月30æ—¥ 459s # %Ex -> actual: å¹³æˆ31å¹´04月30æ—¥ 459s # %EX -> expected: 00時00分00秒 459s # %EX -> actual: 00時00分00秒 459s # %Ey -> expected: 31 459s # %Ey -> actual: 31 459s # %EY -> expected: å¹³æˆ31å¹´ 459s # %EY -> actual: å¹³æˆ31å¹´ 459s # %Ec -> expected: 昭和元年12月25æ—¥ 00時00分00秒 459s # %Ec -> actual: 昭和元年12月25æ—¥ 00時00分00秒 459s # %EC -> expected: 昭和 459s # %EC -> actual: 昭和 459s # %Ex -> expected: 昭和元年12月25æ—¥ 459s # %Ex -> actual: 昭和元年12月25æ—¥ 459s # %EX -> expected: 00時00分00秒 459s # %EX -> actual: 00時00分00秒 459s # %Ey -> expected: 01 459s # %Ey -> actual: 01 459s # %EY -> expected: 昭和元年 459s # %EY -> actual: 昭和元年 459s ok 56 /GDateTime/eras/japan 459s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 459s # Vector 0: 459s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 459s # 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å¹´ 459s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 459s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 459s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 459s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 459s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 459s # Vector 8: + 459s # Vector 9: +: 459s # Vector 10: +:: 459s # Vector 11: +:200 459s # Vector 12: +:2nonsense 459s # Vector 13: +:2nonsense: 459s # Vector 14: +:2: 459s # Vector 15: +:2:: 459s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 459s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 459s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 459s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 459s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 459s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 459s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 459s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 459s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 459s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 459s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 459s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 459s # Vector 28: +:2:2020/01/01 459s # Vector 29: +:2:2020/01/01: 459s # Vector 30: +:2:2020/01/01:: 459s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 459s # Vector 32: +:2:2020/01/01:+* 459s # Vector 33: +:2:2020/01/01:+*: 459s # Vector 34: +:2:2020/01/01:+*:: 459s # Vector 35: +:2:2020/01/01:+*:令和 459s # Vector 36: +:2:2020/01/01:+*:令和: 459s # Vector 37: +:2:2020/01/01:+*:令和:; 459s ok 58 /GDateTime/eras/parsing 459s # End of eras tests 459s # End of GDateTime tests 459s # Start of GTimeZone tests 459s ok 59 /GTimeZone/find-interval 459s ok 60 /GTimeZone/adjust-time 459s ok 61 /GTimeZone/no-header 459s ok 62 /GTimeZone/no-header-identifier 459s ok 63 /GTimeZone/posix-parse 459s # Bug Reference: http://bugzilla.gnome.org/697715 459s ok 64 /GTimeZone/floating-point 459s # System time zone identifier: Etc/UTC 459s ok 65 /GTimeZone/identifier 459s # Vector 0: -158400 459s # Vector 1: -10000 459s # Vector 2: -3600 459s # Vector 3: -61 459s # Vector 4: -60 459s # Vector 5: -59 459s # Vector 6: 0 459s # Vector 7: 59 459s # Vector 8: 60 459s # Vector 9: 61 459s # Vector 10: 3600 459s # Vector 11: 10000 459s # Vector 12: 158400 459s ok 66 /GTimeZone/new-offset 459s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 459s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 459s ok 67 /GTimeZone/parse-rfc8536 459s # /GTimeZone/caching summary: GTimeZone instances are cached 459s ok 68 /GTimeZone/caching 459s # End of GTimeZone tests 459s ok - glib/gdatetime.test 459s # Running test: glib/custom-dispatch.test 459s TAP version 14 459s # random seed: R02S03e80afceb3dcaf663020a949f547dbe 459s 1..2 459s # Start of properties tests 459s # Start of custom-dispatch tests 459s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 459s ok 1 /properties/custom-dispatch/init 459s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 459s ok 2 /properties/custom-dispatch/set 459s # End of custom-dispatch tests 459s # End of properties tests 459s ok - glib/custom-dispatch.test 459s # Running test: glib/properties-refcount1.test 459s TAP version 14 459s # random seed: R02Sbaf21c0595073b38f5150b8b1d70601b 459s 1..1 459s # Start of gobject tests 459s # Start of refcount tests 459s # .d 459s # .c 459s # .f 459s # .e 459s # .b 459s # .d 459s # .c 459s # .f 459s # .f 460s # .b 460s # .e 460s # .d 460s # .c 460s # .f 460s # Executing: glib/properties-refcount1.test 460s # .d 460s # .b 460s # .e 460s # .f 460s # .c 460s # .d 460s # .b 460s # .e 460s # .f 460s # .c 460s # .d 460s # .f 460s # .e 460s # .b 460s # .c 460s # .d 460s # .f 460s # .e 460s # .b 460s # .d 460s # .c 460s # .f 460s # .e 460s # .d 461s # .b 461s # .d 461s # .c 461s # .e 461s # .f 461s # .d 461s # .b 461s # .e 461s # .c 461s # .f 461s # .d 461s # .b 461s # .e 461s # .c 461s # .f 461s # .d 461s # .e 461s # .b 461s # .c 461s # .f 461s # .d 461s # .e 461s # .b 461s # .f 461s # .c 461s # .d 461s # .e 461s # .f 461s # .b 461s # .c 461s # .d 461s # .f 461s # .e 461s # .c 461s # .d 461s # .b 461s # .f 462s # .e 462s # .c 462s # .d 462s # .b 462s # .f 462s # .e 462s # .c 462s # .d 462s # .f 462s # .b 462s # .e 462s # .c 462s # .d 462s # .f 462s # .b 462s # .c 462s # .e 462s # .d 462s # .f 462s # .b 462s # .e 462s # .d 462s # .f 462s # .c 462s ok 1 /gobject/refcount/properties-1 462s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 462s # End of refcount tests 462s # End of gobject tests 462s ok - glib/properties-refcount1.test 462s # Running test: glib/gdbus-server-auth.test 462s TAP version 14 462s # random seed: R02S0ac5417eb2f0d01a795e7491a9d44bfd 462s 1..9 462s # Start of gdbus tests 462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/.dirs/home 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/.dirs/cache 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/.dirs/system-config2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/.dirs/config 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/.dirs/system-data2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/.dirs/data 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/.dirs/state 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/.dirs/runtime 462s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_SL2IX2/gdbus-server-auth-AR2IX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 462s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_SL2IX2/gdbus-server-auth-AR2IX2/dbus-7B0mv1XF 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6941 462s ok 1 /gdbus/server-auth 462s # Start of server-auth tests 462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/abstract/.dirs/home 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/abstract/.dirs/cache 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/abstract/.dirs/system-config2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/abstract/.dirs/config 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/abstract/.dirs/system-data2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/abstract/.dirs/data 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/abstract/.dirs/state 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/abstract/.dirs/runtime 462s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_SL2IX2/gdbus-server-auth-DYEJX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 462s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_SL2IX2/gdbus-server-auth-DYEJX2/dbus-Gp5RlvBr 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 462s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 462s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6941 462s ok 2 /gdbus/server-auth/abstract 462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/tcp/.dirs/home 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/tcp/.dirs/cache 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/tcp/.dirs/system-config2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/tcp/.dirs/config 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/tcp/.dirs/system-data2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/tcp/.dirs/data 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/tcp/.dirs/state 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/tcp/.dirs/runtime 462s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 462s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/.dirs/home 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/.dirs/cache 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/.dirs/system-config2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/.dirs/config 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/.dirs/system-data2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/.dirs/data 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/.dirs/state 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/.dirs/runtime 462s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_SL2IX2/gdbus-server-auth-2LDIX2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 462s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_SL2IX2/gdbus-server-auth-2LDIX2/dbus-qtIF3pf0 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6941 462s ok 4 /gdbus/server-auth/anonymous 462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/.dirs/home 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/.dirs/cache 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/.dirs/system-config2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/.dirs/config 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/.dirs/system-data2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/.dirs/data 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/.dirs/state 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/.dirs/runtime 462s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_SL2IX2/gdbus-server-auth-QKQKX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 462s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_SL2IX2/gdbus-server-auth-QKQKX2/dbus-nNT4faSw 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6941 462s ok 5 /gdbus/server-auth/external 462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/.dirs/home 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/.dirs/cache 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/.dirs/system-config2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/.dirs/config 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/.dirs/system-data2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/.dirs/data 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/.dirs/state 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/.dirs/runtime 462s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_SL2IX2/gdbus-server-auth-WWOJX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 462s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 462s # Start of anonymous tests 462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/tcp/.dirs/home 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/tcp/.dirs/config 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/tcp/.dirs/data 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/tcp/.dirs/state 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 462s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 462s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 462s # End of anonymous tests 462s # Start of external tests 462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/require-same-user/.dirs/home 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/require-same-user/.dirs/cache 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/require-same-user/.dirs/config 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/require-same-user/.dirs/data 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/require-same-user/.dirs/state 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 462s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_SL2IX2/gdbus-server-auth-RHOJX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 462s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_SL2IX2/gdbus-server-auth-RHOJX2/dbus-bYdRgWjn 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 6941 462s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 462s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 462s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 462s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=6941,uid=1000,gid=1000 462s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 6941 462s ok 8 /gdbus/server-auth/external/require-same-user 462s # End of external tests 462s # Start of sha1 tests 462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/tcp/.dirs/home 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/tcp/.dirs/cache 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/tcp/.dirs/config 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/tcp/.dirs/data 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/tcp/.dirs/state 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_SL2IX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 462s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 462s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 462s # End of sha1 tests 462s # End of server-auth tests 462s # End of gdbus tests 462s ok - glib/gdbus-server-auth.test 462s # Running test: glib/gdbus-close-pending.test 462s TAP version 14 462s # random seed: R02S84c820eecb8bc22da2f4e25bcf8dbe08 462s 1..2 462s # Start of gdbus tests 462s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/close-pending/.dirs/home 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/close-pending/.dirs/cache 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_KNXJX2/gdbus/close-pending/.dirs/system-config2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/close-pending/.dirs/config 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_KNXJX2/gdbus/close-pending/.dirs/system-data2 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/close-pending/.dirs/data 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/close-pending/.dirs/state 462s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/close-pending/.dirs/runtime 463s ok 1 /gdbus/close-pending 463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/unref-pending/.dirs/home 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/unref-pending/.dirs/cache 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_KNXJX2/gdbus/unref-pending/.dirs/system-config2 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/unref-pending/.dirs/config 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_KNXJX2/gdbus/unref-pending/.dirs/system-data2 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/unref-pending/.dirs/data 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/unref-pending/.dirs/state 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_KNXJX2/gdbus/unref-pending/.dirs/runtime 463s ok 2 /gdbus/unref-pending 463s # End of gdbus tests 463s ok - glib/gdbus-close-pending.test 463s # Running test: glib/gdbus-proxy-well-known-name.test 463s TAP version 14 463s # random seed: R02S9e852133b83357878ec260925000f7b4 463s 1..1 463s # Start of gdbus tests 463s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_4HU3W2/gdbus/proxy-well-known-name/.dirs/home 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_4HU3W2/gdbus/proxy-well-known-name/.dirs/cache 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_4HU3W2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_4HU3W2/gdbus/proxy-well-known-name/.dirs/system-config2 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_4HU3W2/gdbus/proxy-well-known-name/.dirs/config 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_4HU3W2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_4HU3W2/gdbus/proxy-well-known-name/.dirs/system-data2 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_4HU3W2/gdbus/proxy-well-known-name/.dirs/data 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_4HU3W2/gdbus/proxy-well-known-name/.dirs/state 463s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_4HU3W2/gdbus/proxy-well-known-name/.dirs/runtime 463s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 463s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 463s ok 1 /gdbus/proxy-well-known-name 463s # End of gdbus tests 463s ok - glib/gdbus-proxy-well-known-name.test 463s # Running test: glib/buffered-output-stream.test 463s TAP version 14 463s # random seed: R02S51e6a413a957813bc55fbf6e5d2dcccb 463s 1..5 463s # Start of buffered-output-stream tests 463s ok 1 /buffered-output-stream/write 463s ok 2 /buffered-output-stream/grow 463s ok 3 /buffered-output-stream/seek 463s ok 4 /buffered-output-stream/truncate 463s # End of buffered-output-stream tests 463s # Start of filter-output-stream tests 463s ok 5 /filter-output-stream/close 463s # End of filter-output-stream tests 463s ok - glib/buffered-output-stream.test 463s # Running test: glib/hash.test 463s TAP version 14 463s # random seed: R02See47a66c013bbdbcbe410d3dea1e771f 463s 1..34 463s # Start of hash tests 463s ok 1 /hash/misc 463s ok 2 /hash/one 463s ok 3 /hash/honeyman 463s ok 4 /hash/direct 463s ok 5 /hash/direct2 463s ok 6 /hash/int 463s ok 7 /hash/int64 463s ok 8 /hash/double 463s ok 9 /hash/string 463s ok 10 /hash/set 463s ok 11 /hash/set-ref 463s ok 12 /hash/ref 463s ok 13 /hash/remove-all 463s ok 14 /hash/recursive-remove-all 463s ok 15 /hash/find 463s ok 16 /hash/foreach 463s ok 17 /hash/foreach-steal 463s ok 18 /hash/steal-extended 463s ok 19 /hash/steal-all-keys 463s ok 20 /hash/steal-all-values 463s ok 21 /hash/lookup-extended 463s ok 22 /hash/new-similar 463s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 463s ok 23 /hash/lookup-null-key 463s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 463s ok 24 /hash/destroy-modify 463s ok 25 /hash/consistency 463s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 463s ok 26 /hash/iter-replace 463s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 463s ok 27 /hash/set-insert-corruption 463s ok 28 /hash/set-to-strv 463s ok 29 /hash/get-keys-as-ptr-array 463s ok 30 /hash/get-values-as-ptr-array 463s ok 31 /hash/primes 463s # Start of int64 tests 463s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 463s ok 32 /hash/int64/collisions 463s # End of int64 tests 463s # Start of double tests 463s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 463s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 463s ok 33 /hash/double/collisions 463s # End of double tests 463s # Start of recursive-remove-all tests 463s # End of recursive-remove-all tests 463s # Start of steal-extended tests 463s ok 34 /hash/steal-extended/optional 463s # End of steal-extended tests 463s # End of hash tests 463s ok - glib/hash.test 463s # Running test: glib/cond.test 463s TAP version 14 463s # random seed: R02Sdb33c8a01cff3530d31936a608d3633c 463s 1..4 463s # Start of thread tests 463s ok 1 /thread/cond1 463s ok 2 /thread/cond2 463s # Start of cond tests 464s ok 3 /thread/cond/wait-until 464s # slow test /thread/cond/wait-until executed in 1.02 secs 464s # Start of wait-until tests 464s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 464s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 465s # Executing: glib/cond.test 465s ok 4 /thread/cond/wait-until/contended-and-interrupted 465s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 465s # End of wait-until tests 465s # End of cond tests 465s # End of thread tests 465s ok - glib/cond.test 465s # Running test: glib/buffered-input-stream.test 465s TAP version 14 465s # random seed: R02Sf77b85d0ec95fdf2798ae7a987571d65 465s 1..10 465s # Start of buffered-input-stream tests 465s ok 1 /buffered-input-stream/peek 465s ok 2 /buffered-input-stream/peek-buffer 465s ok 3 /buffered-input-stream/set-buffer-size 465s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 465s ok 4 /buffered-input-stream/read-byte 465s ok 5 /buffered-input-stream/read 465s ok 6 /buffered-input-stream/read-async 465s ok 7 /buffered-input-stream/skip 465s ok 8 /buffered-input-stream/skip-async 465s ok 9 /buffered-input-stream/seek 465s # End of buffered-input-stream tests 465s # Start of filter-input-stream tests 465s ok 10 /filter-input-stream/close 465s # End of filter-input-stream tests 465s ok - glib/buffered-input-stream.test 465s # Running test: glib/objects-refcount2.test 465s TAP version 14 465s # random seed: R02Sf07604e0e49fddd36ed760a3e1c99a33 465s 1..1 465s # Start of gobject tests 465s # Start of refcount tests 465s # init 0x1fa26738e740 465s # 465s # . 465s # . 465s # . 465s # . 465s # . 465s # . 465s # . 465s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 466s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 467s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 468s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 469s # . 470s # . 470s # . 470s # . 470s # Executing: glib/objects-refcount2.test 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 470s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 471s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 472s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 473s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 474s # . 475s # . 475s # . 475s # . 475s # . 475s # Executing: glib/objects-refcount2.test 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 475s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 476s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 477s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 478s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 479s # . 480s # . 480s # . 480s # . 480s # Executing: glib/objects-refcount2.test 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 480s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 481s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 482s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 483s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 484s # . 485s # . 485s # . 485s # . 485s # Executing: glib/objects-refcount2.test 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 485s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 486s # . 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 # . 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 # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 489s # . 490s # . 490s # . 490s # Executing: glib/objects-refcount2.test 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 490s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 491s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 492s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 493s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 494s # . 495s # . 495s # . 495s # . 495s # . 495s # Executing: glib/objects-refcount2.test 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 495s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 496s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 497s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 498s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 499s # . 500s # . 500s # . 500s # . 500s # Executing: glib/objects-refcount2.test 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 500s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 501s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 502s # . 503s # . 503s # . 503s # . 503s # . 503s # . 503s # . 503s # . 503s # . 503s # . 503s # . 503s # . 503s # . 503s # . 503s # dispose 0x1fa26738e740! 503s # 503s ok 1 /gobject/refcount/object-advanced 503s # slow test /gobject/refcount/object-advanced executed in 37.80 secs 503s # End of refcount tests 503s # End of gobject tests 503s ok - glib/objects-refcount2.test 503s # Running test: glib/mem-overflow.test 503s TAP version 14 503s # random seed: R02Sf28d67e37fff8d178957ff444012a1c4 503s 1..2 503s # Start of mem tests 503s ok 1 /mem/overflow 503s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 503s ok 2 /mem/empty-alloc 503s # Start of overflow tests 503s # Start of subprocess tests 503s # End of subprocess tests 503s # End of overflow tests 503s # Start of empty-alloc tests 503s # End of empty-alloc tests 503s # End of mem tests 503s ok - glib/mem-overflow.test 503s # Running test: glib/gsubprocess.test 503s TAP version 14 503s # random seed: R02Sf27ed54915f514d1fab8b71c49bb0341 503s 1..83 503s # Start of gsubprocess tests 503s ok 1 /gsubprocess/noop 503s ok 2 /gsubprocess/noop-all-to-null 503s ok 3 /gsubprocess/noop-no-wait 503s ok 4 /gsubprocess/noop-stdin-inherit 503s ok 5 /gsubprocess/search-path 503s ok 6 /gsubprocess/search-path-from-envp 505s # Executing: glib/gsubprocess.test 507s ok 7 /gsubprocess/signal 507s # slow test /gsubprocess/signal executed in 3.61 secs 507s ok 8 /gsubprocess/exit1 507s ok 9 /gsubprocess/echo1 507s ok 10 /gsubprocess/echo-merged 507s ok 11 /gsubprocess/cat-utf8 508s ok 12 /gsubprocess/cat-eof 508s # slow test /gsubprocess/cat-eof executed in 1.00 secs 510s # Executing: glib/gsubprocess.test 511s ok 13 /gsubprocess/multi1 511s # slow test /gsubprocess/multi1 executed in 3.01 secs 511s ok 14 /gsubprocess/communicate 514s ok 15 /gsubprocess/terminate 514s # slow test /gsubprocess/terminate executed in 2.98 secs 514s ok 16 /gsubprocess/env 514s ok 17 /gsubprocess/cwd 514s ok 18 /gsubprocess/launcher-close 514s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 514s ok 19 /gsubprocess/stdout-file 514s ok 20 /gsubprocess/stdout-fd 514s ok 21 /gsubprocess/child-setup 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s ok 22 /gsubprocess/launcher-environment 514s # Start of exit1 tests 514s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 514s ok 23 /gsubprocess/exit1/cancel 514s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 514s ok 24 /gsubprocess/exit1/cancel_in_cb 514s # End of exit1 tests 514s # Start of communicate tests 514s ok 25 /gsubprocess/communicate/cancelled 514s ok 26 /gsubprocess/communicate/async 514s ok 27 /gsubprocess/communicate/utf8 514s # hello world 514s ok 28 /gsubprocess/communicate/no-pipes 514s ok 29 /gsubprocess/communicate/separate-stderr 514s ok 30 /gsubprocess/communicate/stdout-only 514s # hello world 514s ok 31 /gsubprocess/communicate/stderr-only 514s ok 32 /gsubprocess/communicate/stdout-silence 514s ok 33 /gsubprocess/communicate/nothing 514s # Start of async tests 514s ok 34 /gsubprocess/communicate/async/cancelled 514s # hello world 514s ok 35 /gsubprocess/communicate/async/no-pipes 514s ok 36 /gsubprocess/communicate/async/separate-stderr 514s ok 37 /gsubprocess/communicate/async/stdout-only 514s # hello world 514s ok 38 /gsubprocess/communicate/async/stderr-only 514s ok 39 /gsubprocess/communicate/async/stdout-silence 514s # Start of cancelled tests 514s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 514s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 514s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 514s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 514s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 514s # End of cancelled tests 514s # End of async tests 514s # Start of utf8 tests 514s ok 45 /gsubprocess/communicate/utf8/cancelled 514s ok 46 /gsubprocess/communicate/utf8/async 514s # hello world 514s ok 47 /gsubprocess/communicate/utf8/no-pipes 514s ok 48 /gsubprocess/communicate/utf8/separate-stderr 514s ok 49 /gsubprocess/communicate/utf8/stdout-only 514s # hello world 514s ok 50 /gsubprocess/communicate/utf8/stderr-only 514s ok 51 /gsubprocess/communicate/utf8/stdout-silence 514s ok 52 /gsubprocess/communicate/utf8/invalid 514s # Start of async tests 514s ok 53 /gsubprocess/communicate/utf8/async/cancelled 514s # hello world 514s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 514s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 514s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 514s # hello world 514s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 514s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 514s ok 59 /gsubprocess/communicate/utf8/async/invalid 514s # Start of cancelled tests 514s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 514s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 514s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 514s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 514s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 514s # End of cancelled tests 514s # End of async tests 514s # Start of cancelled tests 514s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 514s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 514s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 514s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 514s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 514s # End of cancelled tests 514s # End of utf8 tests 514s # Start of cancelled tests 514s ok 70 /gsubprocess/communicate/cancelled/no-pipes 514s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 514s ok 72 /gsubprocess/communicate/cancelled/stdout-only 514s ok 73 /gsubprocess/communicate/cancelled/stderr-only 514s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 514s # End of cancelled tests 514s # End of communicate tests 514s # Start of env tests 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s ok 75 /gsubprocess/env/inherit 514s # End of env tests 514s # Start of pass-fd tests 514s ok 76 /gsubprocess/pass-fd/basic 514s ok 77 /gsubprocess/pass-fd/empty-child-setup 514s ok 78 /gsubprocess/pass-fd/inherit-fds 514s # End of pass-fd tests 514s # Start of fd-conflation tests 514s ok 79 /gsubprocess/fd-conflation/basic 514s ok 80 /gsubprocess/fd-conflation/empty-child-setup 514s ok 81 /gsubprocess/fd-conflation/inherit-fds 514s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 514s # End of fd-conflation tests 514s # Start of exit-status tests 514s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 514s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 514s ok 83 /gsubprocess/exit-status/trapped 514s # End of exit-status tests 514s # End of gsubprocess tests 514s ok - glib/gsubprocess.test 514s # Running test: glib/relation.test 514s TAP version 14 514s # random seed: R02Sa184d37800d773418da812d41e6a93e7 514s 1..1 514s # Start of glib tests 514s ok 1 /glib/relation 514s # End of glib tests 514s ok - glib/relation.test 514s # Running test: glib/autoptr-girepository.test 514s TAP version 14 514s # random seed: R02Sb8e9658d7c8e31070272d5ce8ebd64f7 514s 1..24 514s # Start of autoptr tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/repository/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/repository/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/repository/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/repository/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/repository/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/repository/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/repository/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/repository/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 1 /autoptr/repository 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/typelib/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/typelib/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/typelib/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/typelib/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/typelib/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/typelib/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/typelib/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/typelib/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 2 /autoptr/typelib 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/base-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/base-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/base-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/base-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/base-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/base-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/base-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/base-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 3 /autoptr/base-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/arg-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/arg-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/arg-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/arg-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/arg-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/arg-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/arg-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/arg-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 4 /autoptr/arg-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callable-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callable-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/callable-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callable-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/callable-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callable-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callable-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callable-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 5 /autoptr/callable-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callback-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callback-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/callback-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callback-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/callback-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callback-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callback-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/callback-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 6 /autoptr/callback-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/constant-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/constant-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/constant-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/constant-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/constant-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/constant-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/constant-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/constant-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 7 /autoptr/constant-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/enum-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/enum-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/enum-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/enum-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/enum-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/enum-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/enum-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/enum-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 8 /autoptr/enum-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/field-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/field-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/field-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/field-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/field-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/field-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/field-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/field-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 9 /autoptr/field-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/flags-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/flags-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/flags-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/flags-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/flags-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/flags-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/flags-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/flags-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 10 /autoptr/flags-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/function-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/function-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/function-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/function-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/function-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/function-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/function-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/function-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 11 /autoptr/function-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/interface-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/interface-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/interface-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/interface-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/interface-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/interface-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/interface-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/interface-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 12 /autoptr/interface-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/object-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/object-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/object-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/object-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/object-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/object-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/object-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/object-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 13 /autoptr/object-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/property-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/property-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/property-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/property-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/property-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/property-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/property-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/property-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 14 /autoptr/property-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/registered-type-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/registered-type-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/registered-type-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/registered-type-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/registered-type-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/registered-type-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/registered-type-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/registered-type-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 15 /autoptr/registered-type-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/signal-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/signal-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/signal-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/signal-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/signal-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/signal-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/signal-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/signal-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 16 /autoptr/signal-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/struct-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/struct-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/struct-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/struct-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/struct-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/struct-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/struct-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/struct-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 17 /autoptr/struct-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/type-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/type-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/type-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/type-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/type-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/type-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/type-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/type-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 18 /autoptr/type-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/union-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/union-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/union-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/union-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/union-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/union-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/union-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/union-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 19 /autoptr/union-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/value-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/value-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/value-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/value-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/value-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/value-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/value-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/value-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 20 /autoptr/value-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/vfunc-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/vfunc-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/vfunc-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/vfunc-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/autoptr/vfunc-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/vfunc-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/autoptr/vfunc-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/autoptr/vfunc-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 21 /autoptr/vfunc-info 514s # End of autoptr tests 514s # Start of auto tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/arg-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/arg-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/auto/arg-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/arg-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/auto/arg-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/arg-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/arg-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/auto/arg-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 22 /auto/arg-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/type-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/type-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/auto/type-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/type-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/auto/type-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/type-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/type-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/auto/type-info/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 23 /auto/type-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/function-invoker/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/function-invoker/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_O4DAX2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_O4DAX2/auto/function-invoker/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/function-invoker/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_O4DAX2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_O4DAX2/auto/function-invoker/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/function-invoker/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_O4DAX2/auto/function-invoker/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_O4DAX2/auto/function-invoker/.dirs/runtime 514s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 514s ok 24 /auto/function-invoker 514s # End of auto tests 514s ok - glib/autoptr-girepository.test 514s # Running test: glib/resolver-parsing.test 514s TAP version 14 514s # random seed: R02S782df3ba27c77ea31b122b2157950169 514s 1..21 514s # Start of gresolver tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/invalid-header/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/invalid-header/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/invalid-header/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/invalid-header/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/invalid-header/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/invalid-header/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/invalid-header/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/invalid-header/.dirs/runtime 514s ok 1 /gresolver/invalid-header 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/record-ownership/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/record-ownership/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/record-ownership/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/record-ownership/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/record-ownership/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/record-ownership/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/record-ownership/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/record-ownership/.dirs/runtime 514s ok 2 /gresolver/record-ownership 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/unknown-record-type/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/unknown-record-type/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/unknown-record-type/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/unknown-record-type/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/unknown-record-type/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/unknown-record-type/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/unknown-record-type/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/unknown-record-type/.dirs/runtime 514s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 514s ok 3 /gresolver/unknown-record-type 514s # Start of mx tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/valid/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/valid/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/mx/valid/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/valid/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/mx/valid/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/valid/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/valid/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/valid/.dirs/runtime 514s ok 4 /gresolver/mx/valid 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/.dirs/runtime 514s ok 5 /gresolver/mx/invalid 514s # Start of invalid tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short/.dirs/runtime 514s ok 6 /gresolver/mx/invalid/too-short 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short2/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short2/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short2/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short2/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short2/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short2/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short2/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/mx/invalid/too-short2/.dirs/runtime 514s ok 7 /gresolver/mx/invalid/too-short2 514s # End of invalid tests 514s # End of mx tests 514s # Start of ns tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/valid/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/valid/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/ns/valid/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/valid/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/ns/valid/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/valid/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/valid/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/valid/.dirs/runtime 514s ok 8 /gresolver/ns/valid 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/invalid/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/invalid/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/ns/invalid/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/invalid/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/ns/invalid/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/invalid/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/invalid/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/ns/invalid/.dirs/runtime 514s ok 9 /gresolver/ns/invalid 514s # End of ns tests 514s # Start of soa tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/valid/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/valid/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/soa/valid/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/valid/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/soa/valid/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/valid/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/valid/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/valid/.dirs/runtime 514s ok 10 /gresolver/soa/valid 514s # Start of invalid tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/mname/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/mname/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/mname/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/mname/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/mname/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/mname/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/mname/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/mname/.dirs/runtime 514s ok 11 /gresolver/soa/invalid/mname 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/rname/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/rname/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/rname/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/rname/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/rname/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/rname/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/rname/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/rname/.dirs/runtime 514s ok 12 /gresolver/soa/invalid/rname 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/too-short/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/too-short/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/too-short/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/too-short/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/too-short/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/too-short/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/too-short/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/soa/invalid/too-short/.dirs/runtime 514s ok 13 /gresolver/soa/invalid/too-short 514s # End of invalid tests 514s # End of soa tests 514s # Start of srv tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/valid/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/valid/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/srv/valid/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/valid/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/srv/valid/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/valid/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/valid/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/valid/.dirs/runtime 514s ok 14 /gresolver/srv/valid 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/.dirs/runtime 514s ok 15 /gresolver/srv/invalid 514s # Start of invalid tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short/.dirs/runtime 514s ok 16 /gresolver/srv/invalid/too-short 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short2/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short2/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short2/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short2/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short2/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short2/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short2/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/srv/invalid/too-short2/.dirs/runtime 514s ok 17 /gresolver/srv/invalid/too-short2 514s # End of invalid tests 514s # End of srv tests 514s # Start of txt tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/.dirs/runtime 514s ok 18 /gresolver/txt/valid 514s # Start of valid tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/multiple-strings/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/multiple-strings/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/multiple-strings/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/multiple-strings/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/multiple-strings/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/valid/multiple-strings/.dirs/runtime 514s ok 19 /gresolver/txt/valid/multiple-strings 514s # End of valid tests 514s # Start of invalid tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/empty/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/empty/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/empty/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/empty/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/empty/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/empty/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/empty/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/empty/.dirs/runtime 514s ok 20 /gresolver/txt/invalid/empty 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/overflow/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/overflow/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/overflow/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/overflow/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/overflow/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/overflow/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/overflow/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_ROX0W2/gresolver/txt/invalid/overflow/.dirs/runtime 514s ok 21 /gresolver/txt/invalid/overflow 514s # End of invalid tests 514s # End of txt tests 514s # End of gresolver tests 514s ok - glib/resolver-parsing.test 514s # Running test: glib/642026.test 514s TAP version 14 514s # random seed: R02Sfade522e990e3cf601767f0aac157d50 514s 1..1 514s # Start of glib tests 514s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 514s ok 1 /glib/642026 514s # End of glib tests 514s ok - glib/642026.test 514s # Running test: glib/gdbus-test-codegen.test 514s TAP version 14 514s # random seed: R02S92cbf695cd5f94edf22d7138cf64ff7c 514s 1..8 514s # Start of gdbus tests 514s # Start of codegen tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/annotations/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/annotations/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/annotations/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/annotations/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/annotations/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/annotations/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/annotations/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/annotations/.dirs/runtime 514s ok 1 /gdbus/codegen/annotations 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/interface_stability/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/interface_stability/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/interface_stability/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/interface_stability/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/interface_stability/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/interface_stability/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/interface_stability/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/interface_stability/.dirs/runtime 514s ok 2 /gdbus/codegen/interface_stability 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/object-manager/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/object-manager/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/object-manager/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/object-manager/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/object-manager/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/object-manager/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/object-manager/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/object-manager/.dirs/runtime 514s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 514s ok 3 /gdbus/codegen/object-manager 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/property-naming/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/property-naming/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/property-naming/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/property-naming/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/property-naming/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/property-naming/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/property-naming/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/property-naming/.dirs/runtime 514s ok 4 /gdbus/codegen/property-naming 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/autocleanups/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/autocleanups/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/autocleanups/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/autocleanups/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/autocleanups/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/autocleanups/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/autocleanups/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/autocleanups/.dirs/runtime 514s ok 5 /gdbus/codegen/autocleanups 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/deprecations/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/deprecations/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/deprecations/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/deprecations/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/deprecations/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/deprecations/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/deprecations/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/deprecations/.dirs/runtime 514s ok 6 /gdbus/codegen/deprecations 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/standalone-interface-info/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/standalone-interface-info/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/standalone-interface-info/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/standalone-interface-info/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/standalone-interface-info/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/standalone-interface-info/.dirs/runtime 514s ok 7 /gdbus/codegen/standalone-interface-info 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/unix-fd-list/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/unix-fd-list/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/unix-fd-list/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/unix-fd-list/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/unix-fd-list/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/unix-fd-list/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/unix-fd-list/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_5EI2W2/gdbus/codegen/unix-fd-list/.dirs/runtime 514s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 514s ok 8 /gdbus/codegen/unix-fd-list 514s # End of codegen tests 514s # End of gdbus tests 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok - glib/gdbus-test-codegen.test 514s # Running test: glib/gdbus-subscribe.test 514s TAP version 14 514s # random seed: R02S8a96cab150df6ceb40221a12a1aa6c1d 514s 1..24 514s # Start of gdbus tests 514s # Start of subscribe tests 514s # Start of conn tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/simple/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/simple/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/simple/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/simple/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/simple/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/simple/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/simple/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/simple/.dirs/runtime 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 514s # Step 0: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 1: adding subscription 514s # Sender: (any) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Waiting for AddMatch to be processed 514s # Step 2: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 2 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 1 /gdbus/subscribe/conn/simple 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 514s # Step 0: adding subscription 514s # Sender: (any) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: service 2 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 3: emitting signal 514s # Sender: service 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 4: emitting signal 514s # Sender: service 2 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 1 514s # Signal received from service 2 :1.2 514s # Signal received from service 2 :1.2 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 2 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 3 514s # Signal received from service 2 :1.2 514s # Signal received from service 2 :1.2 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 514s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 514s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 514s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/match_twice/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/match_twice/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/match_twice/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/match_twice/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/match_twice/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/match_twice/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/match_twice/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/match_twice/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 514s # Step 0: adding subscription 514s # Sender: service :1.1 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Waiting for AddMatch to be processed 514s # Step 1: adding subscription 514s # Sender: (any) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: (any) 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Waiting for AddMatch to be processed 514s # Step 2: adding subscription 514s # Sender: (any) 514s # Path: (any) 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Waiting for AddMatch to be processed 514s # Step 3: adding subscription 514s # Sender: service :1.1 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Waiting for AddMatch to be processed 514s # Step 4: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 3 /gdbus/subscribe/conn/match_twice 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 514s # Step 0: adding subscription 514s # Sender: service :1.1 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 3: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 3 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 514s # Step 0: adding subscription 514s # Sender: :0.this.had.better.not.exist 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /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 514s # Step 0: claiming bus name 514s # Name: org.gtk.Test.AlreadyOwned 514s # Owner: service 514s # Step 1: adding subscription 514s # Sender: org.gtk.Test.AlreadyOwned 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Waiting for AddMatch to be processed 514s # Step 2: adding subscription 514s # Sender: org.gtk.Test.OwnedLater 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Waiting for AddMatch to be processed 514s # Step 3: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 4: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 5: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 6: claiming bus name 514s # Name: org.gtk.Test.OwnedLater 514s # Owner: service 514s # Step 7: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 5 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 7 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 7 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 514s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 514s # Step 0: adding subscription 514s # Sender: org.freedesktop.DBus 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: NameOwnerChanged 514s # String argument 0: would I lie to you? 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: NameOwnerChanged 514s # Waiting for signal to reach message bus 514s # Step 3: claiming bus name 514s # Name: org.gtk.Test.OwnedLater 514s # Owner: service 514s # Signal received from message bus org.freedesktop.DBus 514s # Signal received from (unused) org.freedesktop.DBus via connection 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: NameOwnerChanged 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 514s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 514s # Step 0: claiming bus name 514s # Name: org.gtk.Test.AlreadyOwned 514s # Owner: service 514s # Step 1: adding subscription 514s # Sender: org.gtk.Test.AlreadyOwned 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Immediately unsubscribing 514s # Waiting for AddMatch to be processed 514s # Step 2: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 514s # End of conn tests 514s # Start of proxy tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/simple/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/simple/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/simple/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/simple/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/simple/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/simple/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/simple/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/simple/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 514s # Step 0: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 1: adding subscription 514s # Sender: (any) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Cannot subscribe via proxy: no bus name 514s # Waiting for AddMatch to be processed 514s # Step 2: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 9 /gdbus/subscribe/proxy/simple 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 514s # Step 0: adding subscription 514s # Sender: (any) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Cannot subscribe via proxy: no bus name 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: service 2 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 3: emitting signal 514s # Sender: service 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 4: emitting signal 514s # Sender: service 2 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/match_twice/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/match_twice/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/match_twice/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/match_twice/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/match_twice/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/match_twice/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 514s # Step 0: adding subscription 514s # Sender: service :1.1 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 1: adding subscription 514s # Sender: (any) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: (any) 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Cannot subscribe via proxy: no bus name 514s # Waiting for AddMatch to be processed 514s # Step 2: adding subscription 514s # Sender: (any) 514s # Path: (any) 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Cannot subscribe via proxy: no bus name 514s # Waiting for AddMatch to be processed 514s # Step 3: adding subscription 514s # Sender: service :1.1 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 4: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 11 /gdbus/subscribe/proxy/match_twice 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 514s # Step 0: adding subscription 514s # Sender: service :1.1 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 3: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 3 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 514s # Step 0: adding subscription 514s # Sender: :0.this.had.better.not.exist 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /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 514s # Step 0: claiming bus name 514s # Name: org.gtk.Test.AlreadyOwned 514s # Owner: service 514s # Step 1: adding subscription 514s # Sender: org.gtk.Test.AlreadyOwned 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 2: adding subscription 514s # Sender: org.gtk.Test.OwnedLater 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 3: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 4: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 5: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 6: claiming bus name 514s # Name: org.gtk.Test.OwnedLater 514s # Owner: service 514s # Step 7: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 5 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 7 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 7 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 514s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 514s # Step 0: adding subscription 514s # Sender: org.freedesktop.DBus 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: NameOwnerChanged 514s # String argument 0: would I lie to you? 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: NameOwnerChanged 514s # Waiting for signal to reach message bus 514s # Step 3: claiming bus name 514s # Name: org.gtk.Test.OwnedLater 514s # Owner: service 514s # Signal received from message bus org.freedesktop.DBus 514s # Signal received from (unused) org.freedesktop.DBus via proxy 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: NameOwnerChanged 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 514s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 514s # Step 0: claiming bus name 514s # Name: org.gtk.Test.AlreadyOwned 514s # Owner: service 514s # Step 1: adding subscription 514s # Sender: org.gtk.Test.AlreadyOwned 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 2: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 2 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 514s # End of proxy tests 514s # Start of parallel tests 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/simple/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/simple/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/simple/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/simple/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/simple/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/simple/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/simple/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/simple/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 514s # Step 0: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 1: adding subscription 514s # Sender: (any) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Cannot subscribe via proxy: no bus name 514s # Waiting for AddMatch to be processed 514s # Step 2: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 2 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 514s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 17 /gdbus/subscribe/parallel/simple 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 514s # Step 0: adding subscription 514s # Sender: (any) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Cannot subscribe via proxy: no bus name 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: service 2 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 3: emitting signal 514s # Sender: service 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 4: emitting signal 514s # Sender: service 2 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 1 514s # Signal received from service 2 :1.2 514s # Signal received from service 2 :1.2 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 2 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 3 514s # Signal received from service 2 :1.2 514s # Signal received from service 2 :1.2 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 514s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 514s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 514s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 514s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/match_twice/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/match_twice/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/match_twice/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/match_twice/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/match_twice/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/match_twice/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 514s # Step 0: adding subscription 514s # Sender: service :1.1 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 1: adding subscription 514s # Sender: (any) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: (any) 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Cannot subscribe via proxy: no bus name 514s # Waiting for AddMatch to be processed 514s # Step 2: adding subscription 514s # Sender: (any) 514s # Path: (any) 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Cannot subscribe via proxy: no bus name 514s # Waiting for AddMatch to be processed 514s # Step 3: adding subscription 514s # Sender: service :1.1 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 4: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 4 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 514s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 19 /gdbus/subscribe/parallel/match_twice 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 514s # Step 0: adding subscription 514s # Sender: service :1.1 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 3: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 3 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 3 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 514s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 514s # Step 0: adding subscription 514s # Sender: :0.this.had.better.not.exist 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /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 514s # Step 0: claiming bus name 514s # Name: org.gtk.Test.AlreadyOwned 514s # Owner: service 514s # Step 1: adding subscription 514s # Sender: org.gtk.Test.AlreadyOwned 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 2: adding subscription 514s # Sender: org.gtk.Test.OwnedLater 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 3: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 4: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 5: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Step 6: claiming bus name 514s # Name: org.gtk.Test.OwnedLater 514s # Owner: service 514s # Step 7: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 5 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 5 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 7 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 7 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via connection 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 7 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 7 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 514s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 514s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 514s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 514s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 514s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 514s # Step 0: adding subscription 514s # Sender: org.freedesktop.DBus 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 1: emitting signal 514s # Sender: attacker 514s # Destination: (broadcast) 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: NameOwnerChanged 514s # String argument 0: would I lie to you? 514s # Waiting for signal to reach message bus 514s # Step 2: emitting signal 514s # Sender: attacker 514s # Destination: subscriber :1.0 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: NameOwnerChanged 514s # Waiting for signal to reach message bus 514s # Step 3: claiming bus name 514s # Name: org.gtk.Test.OwnedLater 514s # Owner: service 514s # Signal received from message bus org.freedesktop.DBus 514s # Signal received from (unused) org.freedesktop.DBus via connection 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: NameOwnerChanged 514s # Signal received from message bus org.freedesktop.DBus 514s # Signal received from (unused) org.freedesktop.DBus via proxy 514s # Path: /org/freedesktop/DBus 514s # Interface: org.freedesktop.DBus 514s # Member: NameOwnerChanged 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 514s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 514s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 514s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 514s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_M423W2/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 514s # subscriber is :1.0 514s # service is :1.1 514s # service 2 is :1.2 514s # attacker is :1.3 514s # Waiting for AddMatch to be processed 514s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 514s # Step 0: claiming bus name 514s # Name: org.gtk.Test.AlreadyOwned 514s # Owner: service 514s # Step 1: adding subscription 514s # Sender: org.gtk.Test.AlreadyOwned 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: (any) 514s # String argument 0: (any) 514s # Flags: 0 514s # Subscribing via connection 514s # Immediately unsubscribing 514s # Subscribing via proxy 514s # Waiting for AddMatch to be processed 514s # Step 2: emitting signal 514s # Sender: service 514s # Destination: (broadcast) 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Waiting for signal to reach message bus 514s # Signal received from service :1.1 514s # Signal received from service :1.1 via proxy 514s # Path: /org/gtk/GDBus/ExampleInterface 514s # Interface: org.gtk.GDBus.ExampleInterface 514s # Member: Foo 514s # Argument 0: (not a string) 514s # Sent in step: 2 514s # Received Finished signal from subscriber :1.0 514s # Received Finished signal from service :1.1 514s # Received Finished signal from service 2 :1.2 514s # Received Finished signal from attacker :1.3 514s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 514s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 514s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 514s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 514s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 514s # End of parallel tests 514s # End of subscribe tests 514s # End of gdbus tests 514s ok - glib/gdbus-subscribe.test 514s # Running test: glib/unix.test 514s TAP version 14 514s # random seed: R02S02f7e991f6f187199e2f2ac127c151c3 514s 1..20 514s # Start of glib-unix tests 514s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 514s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 514s ok 1 /glib-unix/closefrom 514s ok 2 /glib-unix/pipe 514s # /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 514s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 514s ok 3 /glib-unix/pipe-stdio-overwrite 514s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 514s ok 4 /glib-unix/pipe-struct 514s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 514s ok 5 /glib-unix/pipe-struct-auto 514s ok 6 /glib-unix/error 514s ok 7 /glib-unix/nonblocking 515s # Executing: glib/unix.test 515s ok 8 /glib-unix/sighup 515s # slow test /glib-unix/sighup executed in 0.50 secs 515s ok 9 /glib-unix/sigterm 515s # slow test /glib-unix/sigterm executed in 0.50 secs 516s ok 10 /glib-unix/sighup_again 516s # slow test /glib-unix/sighup_again executed in 0.50 secs 516s ok 11 /glib-unix/sighup_add_remove 516s ok 12 /glib-unix/sighup_nested 518s ok 13 /glib-unix/callback_after_signal 518s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 518s ok 14 /glib-unix/child-wait 518s # Start of closefrom tests 518s # Start of subprocess tests 518s # End of subprocess tests 518s # End of closefrom tests 518s # Start of pipe tests 518s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 518s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 518s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 518s ok 15 /glib-unix/pipe/fd-cloexec 518s # End of pipe tests 518s # Start of sighup tests 519s ok 16 /glib-unix/sighup/alternate-stack 519s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 519s # End of sighup tests 519s # Start of sigterm tests 520s # Executing: glib/unix.test 520s ok 17 /glib-unix/sigterm/alternate-stack 520s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 520s # End of sigterm tests 520s # Start of sighup_again tests 521s ok 18 /glib-unix/sighup_again/alternate-stack 521s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 521s # End of sighup_again tests 521s # Start of get-passwd-entry tests 521s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 521s ok 19 /glib-unix/get-passwd-entry/root 521s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 521s ok 20 /glib-unix/get-passwd-entry/nonexistent 521s # End of get-passwd-entry tests 521s # End of glib-unix tests 521s ok - glib/unix.test 521s # Running test: glib/asyncqueue.test 521s TAP version 14 521s # random seed: R02S9c81ca1c1474e3779985fa2209057dab 521s 1..7 521s # Start of asyncqueue tests 521s ok 1 /asyncqueue/basics 521s ok 2 /asyncqueue/sort 521s ok 3 /asyncqueue/destroy 521s ok 4 /asyncqueue/threads 522s ok 5 /asyncqueue/timed 522s ok 6 /asyncqueue/remove 522s ok 7 /asyncqueue/push_front 522s # End of asyncqueue tests 522s ok - glib/asyncqueue.test 522s # Running test: glib/cache.test 522s TAP version 14 522s # random seed: R02S0f1bdf38cf71783349a8c156a2125a0f 522s 1..1 522s # Start of cache tests 522s ok 1 /cache/basic 522s # End of cache tests 522s ok - glib/cache.test 522s # Running test: glib/autoptr-gio.test 522s TAP version 14 522s # random seed: R02S9ba83da7f3a63b576b67c7d0cfe7abf9 522s 1..1 522s # Start of autoptr tests 522s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 522s ok 1 /autoptr/autoptr 522s # End of autoptr tests 522s ok - glib/autoptr-gio.test 522s # Running test: glib/pathbuf.test 522s TAP version 14 522s # random seed: R02S34cdd74f136351c349e0eefd02243d9e 522s 1..3 522s # Start of pathbuf tests 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/init/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/init/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_W1MIX2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_W1MIX2/pathbuf/init/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/init/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_W1MIX2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_W1MIX2/pathbuf/init/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/init/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/init/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_W1MIX2/pathbuf/init/.dirs/runtime 522s # Initializing empty path buf 522s # Initializing with empty path 522s # Initializing with full path 522s # Initializing with no path 522s # Allocating GPathBuf on the heap 522s ok 1 /pathbuf/init 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/push-pop/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/push-pop/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_W1MIX2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_W1MIX2/pathbuf/push-pop/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/push-pop/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_W1MIX2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_W1MIX2/pathbuf/push-pop/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/push-pop/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/push-pop/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_W1MIX2/pathbuf/push-pop/.dirs/runtime 522s # Pushing relative path component 522s # Pushing absolute path component 522s # Popping a path component 522s # Can't pop the last element of a path buffer 522s ok 2 /pathbuf/push-pop 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/filename-extension/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/filename-extension/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_W1MIX2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_W1MIX2/pathbuf/filename-extension/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/filename-extension/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_W1MIX2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_W1MIX2/pathbuf/filename-extension/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/filename-extension/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_W1MIX2/pathbuf/filename-extension/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_W1MIX2/pathbuf/filename-extension/.dirs/runtime 522s ok 3 /pathbuf/filename-extension 522s # End of pathbuf tests 522s ok - glib/pathbuf.test 522s # Running test: glib/value.test 522s TAP version 14 522s # random seed: R02S76de5d1d7f8e93224caae3065eabff63 522s 1..9 522s # Start of value tests 522s ok 1 /value/basic 522s ok 2 /value/collection 522s ok 3 /value/copying 522s ok 4 /value/enum-transformation 522s ok 5 /value/gtype 522s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 522s ok 6 /value/string 522s # Next: GObject object in GValue of GObject to GValue of GObject 522s # Next: GObject object in GValue of GObject to GValue of TestInterface 522s # Next: GObject object in GValue of GObject to GValue of TestObjectA 522s # Next: GObject object in GValue of GObject to GValue of TestObjectB 522s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 522s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 522s # Next: TestObjectA object in GValue of GObject to GValue of GObject 522s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 522s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 522s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 522s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 522s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 522s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 522s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 522s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 522s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 522s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 522s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 522s # Next: TestObjectB object in GValue of GObject to GValue of GObject 522s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 522s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 522s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 522s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 522s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 522s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 522s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 522s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 522s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 522s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 522s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 522s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 522s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 522s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 522s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 522s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 522s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 522s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 522s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 522s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 522s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 522s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 522s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 522s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 522s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 522s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 522s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 522s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 522s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 522s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 522s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 522s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 522s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 522s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 522s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 522s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 522s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 522s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 522s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 522s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 522s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 522s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 522s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 522s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 522s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 522s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 522s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 522s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 522s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 522s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 522s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 522s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 522s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 522s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 522s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 522s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 522s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 522s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 522s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 522s ok 7 /value/transform-object 522s # Start of array tests 522s ok 8 /value/array/basic 522s ok 9 /value/array/sort-with-data 522s # End of array tests 522s # End of value tests 522s ok - glib/value.test 522s # Running test: glib/power-profile-monitor-portal.test 522s TAP version 13 522s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 522s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 522s 1..2 522s ok - glib/power-profile-monitor-portal.test 522s # Running test: glib/defaultiface.test 522s TAP version 14 522s # random seed: R02S025713c7640495443054c5ac3bea069f 522s 1..2 522s # Start of gobject tests 522s ok 1 /gobject/static-iface 522s ok 2 /gobject/dynamic-iface 522s # End of gobject tests 522s ok - glib/defaultiface.test 522s # Running test: glib/string.test 522s TAP version 14 522s # random seed: R02Sb70c23f208e0b69c95d5a2216bc17554 522s 1..23 522s # Start of string tests 522s ok 1 /string/test-string-chunks 522s ok 2 /string/test-string-chunk-insert 522s ok 3 /string/test-string-new 522s ok 4 /string/test-string-printf 522s ok 5 /string/test-string-assign 522s ok 6 /string/test-string-append-c 522s ok 7 /string/test-string-append 522s ok 8 /string/test-string-append-vprintf 522s ok 9 /string/test-string-prepend-c 522s ok 10 /string/test-string-prepend 522s ok 11 /string/test-string-insert 522s ok 12 /string/test-string-insert-unichar 522s ok 13 /string/test-string-equal 522s ok 14 /string/test-string-truncate 522s ok 15 /string/test-string-overwrite 522s ok 16 /string/test-string-nul-handling 522s ok 17 /string/test-string-up-down 522s ok 18 /string/test-string-set-size 522s ok 19 /string/test-string-to-bytes 522s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 522s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 522s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 522s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 522s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 522s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 522s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 522s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 522s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 522s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 522s # 5: Replacing "o" with "" (limit 0) in "food for foals" 522s # -> 4 replacements, "fd fr fals" 522s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 522s # -> 3 replacements, "aaaaaaaaa" 522s # 7: Replacing "a" with "" (limit 0) in "aaa" 522s # -> 3 replacements, "" 522s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 522s # -> 1 replacements, "bba" 522s # 9: Replacing "" with "bar" (limit 0) in "foo" 522s # -> 4 replacements, "barfbarobarobar" 522s # 10: Replacing "" with "x" (limit 0) in "" 522s # -> 1 replacements, "x" 522s # 11: Replacing "" with "" (limit 0) in "" 522s # -> 1 replacements, "" 522s ok 20 /string/test-string-replace 522s ok 21 /string/test-string-steal 522s ok 22 /string/test-string-new-take 522s # Start of test-string-new-take tests 522s ok 23 /string/test-string-new-take/null 522s # End of test-string-new-take tests 522s # End of string tests 522s ok - glib/string.test 522s # Running test: glib/keyfile.test 522s TAP version 14 522s # random seed: R02Se46faa6d727dd87f67757f80221375e3 522s 1..36 522s # Start of keyfile tests 522s ok 1 /keyfile/line-ends 522s ok 2 /keyfile/whitespace 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 522s ok 3 /keyfile/comments 522s ok 4 /keyfile/listing 522s ok 5 /keyfile/string 522s ok 6 /keyfile/boolean 522s ok 7 /keyfile/number 522s ok 8 /keyfile/locale-string 522s ok 9 /keyfile/lists 522s ok 10 /keyfile/lists-set-get 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 522s ok 11 /keyfile/group-remove 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 522s ok 12 /keyfile/key-remove 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 522s ok 13 /keyfile/groups 522s ok 14 /keyfile/duplicate-keys 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 522s ok 15 /keyfile/duplicate-groups 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 522s ok 16 /keyfile/duplicate-groups2 522s ok 17 /keyfile/group-names 522s ok 18 /keyfile/key-names 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 522s ok 19 /keyfile/reload 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 522s ok 20 /keyfile/int64 522s ok 21 /keyfile/load 522s ok 22 /keyfile/save 522s ok 23 /keyfile/load-fail 522s ok 24 /keyfile/non-utf8 522s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 522s ok 25 /keyfile/page-boundary 522s ok 26 /keyfile/ref 522s ok 27 /keyfile/replace-value 522s ok 28 /keyfile/list-separator 522s ok 29 /keyfile/empty-string 522s ok 30 /keyfile/limbo 522s # Testing invalid encoding ?non-UTF-8? 522s # Testing invalid encoding ?UTF? 522s # Testing invalid encoding ?UTF-9? 522s ok 31 /keyfile/utf8 522s ok 32 /keyfile/roundtrip 522s ok 33 /keyfile/bytes 522s ok 34 /keyfile/get-locale 522s ok 35 /keyfile/free-when-not-last-ref 522s # Start of locale-string tests 522s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 522s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 522s ok 36 /keyfile/locale-string/multiple-loads 522s # End of locale-string tests 522s # End of keyfile tests 522s ok - glib/keyfile.test 522s # Running test: glib/stream-rw_all.test 522s TAP version 14 522s # random seed: R02S42fe454539b9a9f6f850a1277f0a76ec 522s 1..3 522s # Start of stream tests 522s # Start of read_all_async tests 522s ok 1 /stream/read_all_async/memory 522s # End of read_all_async tests 522s # Start of write_all_async tests 522s ok 2 /stream/write_all_async/memory 522s # End of write_all_async tests 522s # Start of read_write_all_async tests 522s ok 3 /stream/read_write_all_async/pipe 522s # End of read_write_all_async tests 522s # End of stream tests 522s ok - glib/stream-rw_all.test 522s # Running test: glib/gdbus-connection.test 522s TAP version 14 522s # random seed: R02S9800e10544d5fab2a9fd0314b58dc97b 522s 1..9 522s # Start of gdbus tests 522s # Start of connection tests 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/bus-failure/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/bus-failure/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/bus-failure/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/bus-failure/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/bus-failure/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/bus-failure/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/bus-failure/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/bus-failure/.dirs/runtime 522s ok 1 /gdbus/connection/bus-failure 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/basic/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/basic/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/basic/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/basic/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/basic/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/basic/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/basic/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/basic/.dirs/runtime 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s ok 2 /gdbus/connection/basic 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/life-cycle/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/life-cycle/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/life-cycle/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/life-cycle/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/life-cycle/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/life-cycle/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/life-cycle/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/life-cycle/.dirs/runtime 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s ok 3 /gdbus/connection/life-cycle 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/send/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/send/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/send/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/send/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/send/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/send/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/send/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/send/.dirs/runtime 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s ok 4 /gdbus/connection/send 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signals/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signals/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signals/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signals/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signals/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signals/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signals/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signals/.dirs/runtime 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s ok 5 /gdbus/connection/signals 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signal-match-rules/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signal-match-rules/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signal-match-rules/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signal-match-rules/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signal-match-rules/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signal-match-rules/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signal-match-rules/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/signal-match-rules/.dirs/runtime 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s ok 6 /gdbus/connection/signal-match-rules 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/filter/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/filter/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/filter/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/filter/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/filter/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/filter/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/filter/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/filter/.dirs/runtime 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s ok 7 /gdbus/connection/filter 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/serials/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/serials/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/serials/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/serials/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/serials/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/serials/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/serials/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/serials/.dirs/runtime 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s ok 8 /gdbus/connection/serials 522s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/cancel/.dirs/home 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/cancel/.dirs/cache 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/cancel/.dirs/system-config2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/cancel/.dirs/config 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_BVI0W2/gdbus/connection/cancel/.dirs/system-data2 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/cancel/.dirs/data 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/cancel/.dirs/state 522s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_BVI0W2/gdbus/connection/cancel/.dirs/runtime 522s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 522s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 522s ok 9 /gdbus/connection/cancel 522s # End of connection tests 522s # End of gdbus tests 522s ok - glib/gdbus-connection.test 522s # Running test: glib/option-argv0.test 522s TAP version 14 522s # random seed: R02S92b31ad0cb8fa9090942940f3ea7e424 522s 1..1 522s # Start of option tests 522s ok 1 /option/argv0 522s # End of option tests 522s ok - glib/option-argv0.test 522s # Running test: glib/hostutils.test 522s TAP version 14 522s # random seed: R02S2943e0a9523ed423280bd3cad91e5a73 522s 1..3 522s # Start of hostutils tests 522s ok 1 /hostutils/to_ascii 522s ok 2 /hostutils/to_unicode 522s ok 3 /hostutils/is_ip_addr 522s # End of hostutils tests 522s ok - glib/hostutils.test 522s # Running test: glib/fileattributematcher.test 522s TAP version 14 522s # random seed: R02Sa7a514a41d10ee2ccdf8dc140c9584c9 522s 1..3 522s # Start of fileattributematcher tests 522s ok 1 /fileattributematcher/exact 522s ok 2 /fileattributematcher/equality 522s ok 3 /fileattributematcher/subtract 522s # End of fileattributematcher tests 522s ok - glib/fileattributematcher.test 522s # Running test: glib/slist.test 522s TAP version 14 522s # random seed: R02Sc351b2f3bf34119159b3cc45acf84fda 522s 1..14 522s # Start of slist tests 522s ok 1 /slist/sort 522s ok 2 /slist/sort-with-data 522s ok 3 /slist/insert-sorted 522s ok 4 /slist/insert-sorted-with-data 522s ok 5 /slist/reverse 522s ok 6 /slist/nth 522s ok 7 /slist/remove 522s ok 8 /slist/remove-all 522s ok 9 /slist/insert 522s ok 10 /slist/position 522s ok 11 /slist/concat 522s ok 12 /slist/copy 522s # Start of sort tests 522s ok 13 /slist/sort/stable 522s # End of sort tests 522s # Start of copy tests 522s ok 14 /slist/copy/deep 522s # End of copy tests 522s # End of slist tests 522s ok - glib/slist.test 522s # Running test: glib/signals-refcount2.test 522s TAP version 14 522s # random seed: R02S8d88bcda87276cf82086f7ea6a9448cd 522s 1..1 522s # Start of gobject tests 522s # Start of refcount tests 522s # init 0x4f0be92f420 522s # 522s # init 0x4f0be92f5c0 522s # 525s # Executing: glib/signals-refcount2.test 527s # dispose 0x4f0be92f420! 527s # 527s # dispose 0x4f0be92f5c0! 527s # 527s ok 1 /gobject/refcount/signals 527s # slow test /gobject/refcount/signals executed in 5.00 secs 527s # End of refcount tests 527s # End of gobject tests 527s ok - glib/signals-refcount2.test 527s # Running test: glib/defaultvalue.test 527s TAP version 14 527s # random seed: R02Sb363561764328fbc663e30d843d0f107 527s 1..84 527s # Start of Default Values tests 527s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 527s ok 2 /Default Values/GAppLaunchContext 527s ok 3 /Default Values/GApplicationCommandLine 527s # skipping GApplication:is-remote 527s ok 4 /Default Values/GApplication 527s ok 5 /Default Values/GBinding # SKIP mandatory construct params 527s ok 6 /Default Values/GBindingGroup 527s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 527s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 527s ok 9 /Default Values/GBytesIcon 527s ok 10 /Default Values/GCancellable 527s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 527s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 527s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 527s ok 14 /Default Values/GCredentials 527s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 527s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 527s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 527s ok 18 /Default Values/GDBusAuthObserver 527s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 527s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 527s ok 21 /Default Values/GDBusMessage 527s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 527s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 527s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 527s ok 25 /Default Values/GDBusObjectProxy 527s ok 26 /Default Values/GDBusObjectSkeleton 527s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 527s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 527s ok 29 /Default Values/GEmblem 527s ok 30 /Default Values/GEmblemedIcon 527s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 527s ok 32 /Default Values/GFileInfo 527s ok 33 /Default Values/GFileInputStream 527s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 527s ok 35 /Default Values/GFileOutputStream 527s ok 36 /Default Values/GFilenameCompleter 527s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 527s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 527s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 527s ok 40 /Default Values/GInitiallyUnowned 527s ok 41 /Default Values/GIOModule 527s ok 42 /Default Values/GListStore 527s ok 43 /Default Values/GMemoryInputStream 527s ok 44 /Default Values/GMemoryOutputStream 527s ok 45 /Default Values/GMenu 527s ok 46 /Default Values/GMenuItem 527s ok 47 /Default Values/GMountOperation 527s ok 48 /Default Values/GNativeSocketAddress 527s ok 49 /Default Values/GNetworkAddress 527s ok 50 /Default Values/GNetworkService 527s ok 51 /Default Values/GNotification 527s ok 52 /Default Values/GObject 527s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 527s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 527s # skipping GProxyAddressEnumerator:proxy-resolver 527s ok 54 /Default Values/GProxyAddressEnumerator 527s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 527s ok 56 /Default Values/GSettings # SKIP mandatory construct params 527s ok 57 /Default Values/GSignalGroup 527s ok 58 /Default Values/GSimpleAction 527s ok 59 /Default Values/GSimpleActionGroup 527s ok 60 /Default Values/GSimpleAsyncResult 527s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 527s ok 62 /Default Values/GSimplePermission 527s ok 63 /Default Values/GSimpleProxyResolver 527s # skipping GSocketClient:proxy-resolver 527s ok 64 /Default Values/GSocketClient 527s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 527s ok 66 /Default Values/GSocket # SKIP initialization failed 527s ok 67 /Default Values/GSocketListener 527s ok 68 /Default Values/GSocketService 527s ok 69 /Default Values/GSubprocess # SKIP initialization failed 527s ok 70 /Default Values/GSubprocessLauncher 527s # GLib-GIO-DEBUG: GTask 0x193901fe5fb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 527s ok 71 /Default Values/GTask 527s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 527s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 527s ok 74 /Default Values/GTestDBus 527s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 527s ok 76 /Default Values/GThreadedSocketService 527s ok 77 /Default Values/GTlsInteraction 527s ok 78 /Default Values/GTlsPassword 527s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 527s ok 80 /Default Values/GUnixFDList 527s ok 81 /Default Values/GVfs 527s ok 82 /Default Values/GVolumeMonitor 527s ok 83 /Default Values/GZlibCompressor 527s ok 84 /Default Values/GZlibDecompressor 527s # End of Default Values tests 527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 527s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 527s ok - glib/defaultvalue.test 527s # Running test: glib/testing.test 527s TAP version 14 527s # random seed: R02S5f22e7e46aed86717f35689f1039566e 527s 1..1 527s # Start of assert tests 527s ok 1 /assert/finalize_object 527s # Start of finalize_object tests 527s # Start of subprocess tests 527s # End of subprocess tests 527s # End of finalize_object tests 527s # End of assert tests 527s ok - glib/testing.test 527s # Running test: glib/closure.test 527s TAP version 14 527s # random seed: R02Sac0d16f56feab98eb0475ee7a092f57b 527s 1..6 527s # Start of closure tests 527s ok 1 /closure/idle 527s ok 2 /closure/timeout 527s ok 3 /closure/iochannel 527s ok 4 /closure/child 527s ok 5 /closure/fd 527s ok 6 /closure/signal 527s # End of closure tests 527s ok - glib/closure.test 527s # Running test: glib/sort.test 527s TAP version 14 527s # random seed: R02S3c6465f269c26f60a2d1fac467477a12 527s 1..5 527s # Start of sort tests 527s ok 1 /sort/basic 527s ok 2 /sort/zero-elements 527s ok 3 /sort/stable 527s ok 4 /sort/big 527s ok 5 /sort/deprecated 527s # End of sort tests 527s ok - glib/sort.test 527s # Running test: glib/spawn-multithreaded.test 527s TAP version 14 527s # random seed: R02Sec75a357c6c3fa9dc3c2bc39b096f3be 527s 1..4 527s # Start of gthread tests 528s # Child 8331 (ttl 1) exited, status 0 529s # Child 8332 (ttl 2) exited, status 0 529s ok 1 /gthread/spawn-childs 529s # slow test /gthread/spawn-childs executed in 2.00 secs 529s # Created pid: 8337 (ttl 1) 529s # Created pid: 8336 (ttl 2) 530s # Executing: glib/spawn-multithreaded.test 530s # Child 8337 (ttl 1) exited, status 0 531s # Child 8336 (ttl 2) exited, status 0 531s ok 2 /gthread/spawn-childs-threads 531s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 531s ok 3 /gthread/spawn-sync 531s ok 4 /gthread/spawn-async 531s # End of gthread tests 531s ok - glib/spawn-multithreaded.test 531s # Running test: glib/testfilemonitor.test 531s TAP version 14 531s # random seed: R02Saa36d52b0adccf5322baf882e6d200d0 531s 1..8 531s # Start of monitor tests 531s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 531s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 531s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 531s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 531s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 531s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 531s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 531s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 531s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 531s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 531s # Start of file tests 531s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 531s # End of file tests 531s # End of monitor tests 531s ok - glib/testfilemonitor.test 531s # Running test: glib/references.test 531s TAP version 14 531s # random seed: R02S7eac899f563c5aa29dc6d212e2a8039d 531s 1..1 531s # Start of gobject tests 531s ok 1 /gobject/references 531s # End of gobject tests 531s ok - glib/references.test 531s # Running test: glib/convert.test 531s TAP version 14 531s # random seed: R02S011b07beb6218cd89d401425ce8858e4 531s 1..14 531s # Start of conversion tests 531s ok 1 /conversion/no-conv 531s ok 2 /conversion/iconv-state 531s ok 3 /conversion/illegal-sequence 531s ok 4 /conversion/byte-order 531s ok 5 /conversion/unicode 531s ok 6 /conversion/filename-utf8 531s ok 7 /conversion/filename-display 531s ok 8 /conversion/convert-embedded-nul 531s # Start of locale-to-utf8 tests 531s ok 9 /conversion/locale-to-utf8/embedded-nul 531s # Start of embedded-nul tests 531s # Start of subprocess tests 531s # End of subprocess tests 531s # End of embedded-nul tests 531s # End of locale-to-utf8 tests 531s # Start of locale-from-utf8 tests 531s ok 10 /conversion/locale-from-utf8/embedded-nul 531s # Start of embedded-nul tests 531s # Start of subprocess tests 531s # End of subprocess tests 531s # End of embedded-nul tests 531s # End of locale-from-utf8 tests 531s # Start of filename-to-utf8 tests 531s ok 11 /conversion/filename-to-utf8/embedded-nul 531s # Start of embedded-nul tests 531s # Start of subprocess tests 531s # End of subprocess tests 531s # End of embedded-nul tests 531s # End of filename-to-utf8 tests 531s # Start of filename-from-utf8 tests 531s ok 12 /conversion/filename-from-utf8/embedded-nul 531s # Start of embedded-nul tests 531s # Start of subprocess tests 531s # End of subprocess tests 531s # End of embedded-nul tests 531s # End of filename-from-utf8 tests 531s # Start of filename-from-uri tests 531s ok 13 /conversion/filename-from-uri/query-is-ignored 531s ok 14 /conversion/filename-from-uri/fragment-is-ignored 531s # End of filename-from-uri tests 531s # End of conversion tests 531s ok - glib/convert.test 531s # Running test: glib/power-profile-monitor.test 531s TAP version 14 531s # random seed: R02S82b8cbc6997eb50d667451c7756f2b17 531s 1..1 531s # Start of power-profile-monitor tests 531s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 531s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 531s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 531s ok 1 /power-profile-monitor/default 531s # End of power-profile-monitor tests 531s ok - glib/power-profile-monitor.test 531s # Running test: glib/signals-refcount4.test 531s TAP version 14 531s # random seed: R02S4bdd840e05962f9bb7c9b2ba87bf5936 531s 1..1 531s # Start of gobject tests 531s # Start of refcount tests 531s # init 0x91d905cf420 531s # 531s # init 0x91d905cf5c0 531s # 535s # Executing: glib/signals-refcount4.test 536s # dispose 0x91d905cf420! 536s # 536s # dispose 0x91d905cf5c0! 536s # 536s ok 1 /gobject/refcount/signals 536s # slow test /gobject/refcount/signals executed in 5.00 secs 536s # End of refcount tests 536s # End of gobject tests 536s ok - glib/signals-refcount4.test 536s # Running test: glib/performance.test 536s Running test simple-construction 540s # Executing: glib/performance.test 545s # Executing: glib/performance.test 545s simple-construction: Millions of constructed objects per second: 4.304 545s Running test simple-construction1 547s simple-construction1: Millions of constructed objects per second: 54.796 547s Running test complex-construction 550s # Executing: glib/performance.test 552s complex-construction: Millions of constructed objects per second: 2.539 552s Running test complex-construction1 555s # Executing: glib/performance.test 557s complex-construction1: Millions of constructed objects per second: 3.265 557s Running test complex-construction2 560s # Executing: glib/performance.test 563s complex-construction2: Millions of constructed objects per second: 3.532 563s Running test finalization 564s finalization: Millions of finalized objects per second: 0.789 564s Running test type-check 564s type-check: Million type checks per second: inf 564s Running test emit-unhandled 565s # Executing: glib/performance.test 565s emit-unhandled: Emissions per second: 1100133 565s Running test emit-unhandled-empty 566s emit-unhandled-empty: Emissions per second: 10115322 566s Running test emit-unhandled-generic 567s emit-unhandled-generic: Emissions per second: 1350182 567s Running test emit-unhandled-generic-empty 568s emit-unhandled-generic-empty: Emissions per second: 10093127 568s Running test emit-unhandled-args 570s emit-unhandled-args: Emissions per second: 1035135 570s Running test emit-handled 570s # Executing: glib/performance.test 571s emit-handled: Emissions per second: 813393 571s Running test emit-handled-empty 572s emit-handled-empty: Emissions per second: 842528 572s Running test emit-handled-generic 574s emit-handled-generic: Emissions per second: 825413 574s Running test emit-handled-generic-empty 574s emit-handled-generic-empty: Emissions per second: 1307096 574s Running test emit-handled-args 575s # Executing: glib/performance.test 575s emit-handled-args: Emissions per second: 770912 575s Running test notify-unhandled 576s notify-unhandled: Notify (unhandled) per second: 10921829 576s Running test notify-by-pspec-unhandled 577s notify-by-pspec-unhandled: Notify (unhandled) per second: 43480226 577s Running test notify-handled 578s notify-handled: Notify per second: 472190 578s Running test notify-by-pspec-handled 579s notify-by-pspec-handled: Notify per second: 490171 579s Running test property-set 580s # Executing: glib/performance.test 580s property-set: Property set per second: 5598397 580s Running test property-get 581s property-get: Property get per second: 4918468 581s Running test refcount 583s refcount: Million refs+unref per second: 6.17 583s Running test refcount-1 584s refcount-1: Million refs+unref per second: 13.87 584s Running test refcount-toggle 585s # Executing: glib/performance.test 586s refcount-toggle: Million refs+unref per second: 8.46 586s ok - glib/performance.test 586s # Running test: glib/utf8-validate.test 586s TAP version 14 586s # random seed: R02S62823f89561fef7ee58ef87cc566f878 586s 1..216 586s # Start of utf8 tests 586s # Vector 0 586s # Vector 1 586s # Vector 2 586s # Vector 3 586s # Vector 4 586s # Vector 5 586s # Vector 6 586s # Vector 7 586s # Vector 8 586s # Vector 9 586s # Vector 10 586s # Vector 11 586s # Vector 12 586s # Vector 13 586s # Vector 14 586s # Vector 15 586s # Vector 16 586s # Vector 17 586s # Vector 18 586s # Vector 19 586s # Vector 20 586s # Vector 21 586s # Vector 22 586s # Vector 23 586s # Vector 24 586s # Vector 25 586s # Vector 26 586s # Vector 27 586s ok 1 /utf8/get-char-validated 586s # Start of validate tests 586s ok 2 /utf8/validate/0 586s ok 3 /utf8/validate/1 586s ok 4 /utf8/validate/2 586s ok 5 /utf8/validate/3 586s ok 6 /utf8/validate/4 586s ok 7 /utf8/validate/5 586s ok 8 /utf8/validate/6 586s ok 9 /utf8/validate/7 586s ok 10 /utf8/validate/8 586s ok 11 /utf8/validate/9 586s ok 12 /utf8/validate/10 586s ok 13 /utf8/validate/11 586s ok 14 /utf8/validate/12 586s ok 15 /utf8/validate/13 586s ok 16 /utf8/validate/14 586s ok 17 /utf8/validate/15 586s ok 18 /utf8/validate/16 586s ok 19 /utf8/validate/17 586s ok 20 /utf8/validate/18 586s ok 21 /utf8/validate/19 586s ok 22 /utf8/validate/20 586s ok 23 /utf8/validate/21 586s ok 24 /utf8/validate/22 586s ok 25 /utf8/validate/23 586s ok 26 /utf8/validate/24 586s ok 27 /utf8/validate/25 586s ok 28 /utf8/validate/26 586s ok 29 /utf8/validate/27 586s ok 30 /utf8/validate/28 586s ok 31 /utf8/validate/29 586s ok 32 /utf8/validate/30 586s ok 33 /utf8/validate/31 586s ok 34 /utf8/validate/32 586s ok 35 /utf8/validate/33 586s ok 36 /utf8/validate/34 586s ok 37 /utf8/validate/35 586s ok 38 /utf8/validate/36 586s ok 39 /utf8/validate/37 586s ok 40 /utf8/validate/38 586s ok 41 /utf8/validate/39 586s ok 42 /utf8/validate/40 586s ok 43 /utf8/validate/41 586s ok 44 /utf8/validate/42 586s ok 45 /utf8/validate/43 586s ok 46 /utf8/validate/44 586s ok 47 /utf8/validate/45 586s ok 48 /utf8/validate/46 586s ok 49 /utf8/validate/47 586s ok 50 /utf8/validate/48 586s ok 51 /utf8/validate/49 586s ok 52 /utf8/validate/50 586s ok 53 /utf8/validate/51 586s ok 54 /utf8/validate/52 586s ok 55 /utf8/validate/53 586s ok 56 /utf8/validate/54 586s ok 57 /utf8/validate/55 586s ok 58 /utf8/validate/56 586s ok 59 /utf8/validate/57 586s ok 60 /utf8/validate/58 586s ok 61 /utf8/validate/59 586s ok 62 /utf8/validate/60 586s ok 63 /utf8/validate/61 586s ok 64 /utf8/validate/62 586s ok 65 /utf8/validate/63 586s ok 66 /utf8/validate/64 586s ok 67 /utf8/validate/65 586s ok 68 /utf8/validate/66 586s ok 69 /utf8/validate/67 586s ok 70 /utf8/validate/68 586s ok 71 /utf8/validate/69 586s ok 72 /utf8/validate/70 586s ok 73 /utf8/validate/71 586s ok 74 /utf8/validate/72 586s ok 75 /utf8/validate/73 586s ok 76 /utf8/validate/74 586s ok 77 /utf8/validate/75 586s ok 78 /utf8/validate/76 586s ok 79 /utf8/validate/77 586s ok 80 /utf8/validate/78 586s ok 81 /utf8/validate/79 586s ok 82 /utf8/validate/80 586s ok 83 /utf8/validate/81 586s ok 84 /utf8/validate/82 586s ok 85 /utf8/validate/83 586s ok 86 /utf8/validate/84 586s ok 87 /utf8/validate/85 586s ok 88 /utf8/validate/86 586s ok 89 /utf8/validate/87 586s ok 90 /utf8/validate/88 586s ok 91 /utf8/validate/89 586s ok 92 /utf8/validate/90 586s ok 93 /utf8/validate/91 586s ok 94 /utf8/validate/92 586s ok 95 /utf8/validate/93 586s ok 96 /utf8/validate/94 586s ok 97 /utf8/validate/95 586s ok 98 /utf8/validate/96 586s ok 99 /utf8/validate/97 586s ok 100 /utf8/validate/98 586s ok 101 /utf8/validate/99 586s ok 102 /utf8/validate/100 586s ok 103 /utf8/validate/101 586s ok 104 /utf8/validate/102 586s ok 105 /utf8/validate/103 586s ok 106 /utf8/validate/104 586s ok 107 /utf8/validate/105 586s ok 108 /utf8/validate/106 586s ok 109 /utf8/validate/107 586s ok 110 /utf8/validate/108 586s ok 111 /utf8/validate/109 586s ok 112 /utf8/validate/110 586s ok 113 /utf8/validate/111 586s ok 114 /utf8/validate/112 586s ok 115 /utf8/validate/113 586s ok 116 /utf8/validate/114 586s ok 117 /utf8/validate/115 586s ok 118 /utf8/validate/116 586s ok 119 /utf8/validate/117 586s ok 120 /utf8/validate/118 586s ok 121 /utf8/validate/119 586s ok 122 /utf8/validate/120 586s ok 123 /utf8/validate/121 586s ok 124 /utf8/validate/122 586s ok 125 /utf8/validate/123 586s ok 126 /utf8/validate/124 586s ok 127 /utf8/validate/125 586s ok 128 /utf8/validate/126 586s ok 129 /utf8/validate/127 586s ok 130 /utf8/validate/128 586s ok 131 /utf8/validate/129 586s ok 132 /utf8/validate/130 586s ok 133 /utf8/validate/131 586s ok 134 /utf8/validate/132 586s ok 135 /utf8/validate/133 586s ok 136 /utf8/validate/134 586s ok 137 /utf8/validate/135 586s ok 138 /utf8/validate/136 586s ok 139 /utf8/validate/137 586s ok 140 /utf8/validate/138 586s ok 141 /utf8/validate/139 586s ok 142 /utf8/validate/140 586s ok 143 /utf8/validate/141 586s ok 144 /utf8/validate/142 586s ok 145 /utf8/validate/143 586s ok 146 /utf8/validate/144 586s ok 147 /utf8/validate/145 586s ok 148 /utf8/validate/146 586s ok 149 /utf8/validate/147 586s ok 150 /utf8/validate/148 586s ok 151 /utf8/validate/149 586s ok 152 /utf8/validate/150 586s ok 153 /utf8/validate/151 586s ok 154 /utf8/validate/152 586s ok 155 /utf8/validate/153 586s ok 156 /utf8/validate/154 586s ok 157 /utf8/validate/155 586s ok 158 /utf8/validate/156 586s ok 159 /utf8/validate/157 586s ok 160 /utf8/validate/158 586s ok 161 /utf8/validate/159 586s ok 162 /utf8/validate/160 586s ok 163 /utf8/validate/161 586s ok 164 /utf8/validate/162 586s ok 165 /utf8/validate/163 586s ok 166 /utf8/validate/164 586s ok 167 /utf8/validate/165 586s ok 168 /utf8/validate/166 586s ok 169 /utf8/validate/167 586s ok 170 /utf8/validate/168 586s ok 171 /utf8/validate/169 586s ok 172 /utf8/validate/170 586s ok 173 /utf8/validate/171 586s ok 174 /utf8/validate/172 586s ok 175 /utf8/validate/173 586s ok 176 /utf8/validate/174 586s ok 177 /utf8/validate/175 586s ok 178 /utf8/validate/176 586s ok 179 /utf8/validate/177 586s ok 180 /utf8/validate/178 586s ok 181 /utf8/validate/179 586s ok 182 /utf8/validate/180 586s ok 183 /utf8/validate/181 586s ok 184 /utf8/validate/182 586s ok 185 /utf8/validate/183 586s ok 186 /utf8/validate/184 586s ok 187 /utf8/validate/185 586s ok 188 /utf8/validate/186 586s ok 189 /utf8/validate/187 586s ok 190 /utf8/validate/188 586s ok 191 /utf8/validate/189 586s ok 192 /utf8/validate/190 586s ok 193 /utf8/validate/191 586s ok 194 /utf8/validate/192 586s ok 195 /utf8/validate/193 586s ok 196 /utf8/validate/194 586s ok 197 /utf8/validate/195 586s ok 198 /utf8/validate/196 586s ok 199 /utf8/validate/197 586s ok 200 /utf8/validate/198 586s ok 201 /utf8/validate/199 586s ok 202 /utf8/validate/200 586s ok 203 /utf8/validate/201 586s ok 204 /utf8/validate/202 586s ok 205 /utf8/validate/203 586s ok 206 /utf8/validate/204 586s ok 207 /utf8/validate/205 586s ok 208 /utf8/validate/206 586s ok 209 /utf8/validate/207 586s ok 210 /utf8/validate/208 586s ok 211 /utf8/validate/209 586s ok 212 /utf8/validate/210 586s ok 213 /utf8/validate/211 586s ok 214 /utf8/validate/212 586s ok 215 /utf8/validate/213 586s ok 216 /utf8/validate/214 586s # End of validate tests 586s # End of utf8 tests 586s ok - glib/utf8-validate.test 586s # Running test: glib/mainloop.test 586s TAP version 14 586s # random seed: R02S03f7b0d4ea027b263aa65b616ef9e0a3 586s 1..45 586s # Start of maincontext tests 586s ok 1 /maincontext/basic 586s # Add same-priority sources: 22 586s # Find each source: 7 586s # Remove in random order: 30 586s ok 2 /maincontext/nsources_same_priority 586s # Add different-priority sources: 26 586s # Find each source: 7 586s # Remove in random order: 37 586s ok 3 /maincontext/nsources_different_priority 586s # Add sources from threads: 151 586s # Remove sources from threads: 81 586s ok 4 /maincontext/nsources_threadpool 586s ok 5 /maincontext/source_finalization 586s # /maincontext/idle-once summary: Test g_idle_add_once() works 586s ok 6 /maincontext/idle-once 586s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 586s ok 7 /maincontext/timeout-once 586s # Start of source_finalization_from_source tests 586s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 586s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 586s ok 8 /maincontext/source_finalization_from_source/0 586s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 586s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 586s ok 9 /maincontext/source_finalization_from_source/1 586s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 586s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 586s ok 10 /maincontext/source_finalization_from_source/2 586s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 586s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 586s ok 11 /maincontext/source_finalization_from_source/3 586s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 586s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 586s ok 12 /maincontext/source_finalization_from_source/4 586s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 586s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 586s ok 13 /maincontext/source_finalization_from_source/5 586s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 586s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 586s ok 14 /maincontext/source_finalization_from_source/6 586s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 586s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 586s ok 15 /maincontext/source_finalization_from_source/7 586s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 586s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 586s ok 16 /maincontext/source_finalization_from_source/8 586s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 586s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 586s ok 17 /maincontext/source_finalization_from_source/9 586s # End of source_finalization_from_source tests 586s # Start of source_finalization_from_dispatch tests 586s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 586s ok 18 /maincontext/source_finalization_from_dispatch/0 586s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 586s ok 19 /maincontext/source_finalization_from_dispatch/1 586s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 586s ok 20 /maincontext/source_finalization_from_dispatch/2 586s # End of source_finalization_from_dispatch tests 586s # End of maincontext tests 586s # Start of mainloop tests 586s ok 21 /mainloop/basic 586s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 586s ok 23 /mainloop/priorities 587s ok 24 /mainloop/invoke 587s # slow test /mainloop/invoke executed in 0.50 secs 588s ok 25 /mainloop/child_sources 588s # slow test /mainloop/child_sources executed in 1.22 secs 590s # Executing: glib/mainloop.test 590s ok 26 /mainloop/recursive_child_sources 590s # slow test /mainloop/recursive_child_sources executed in 2.21 secs 590s ok 27 /mainloop/recursive_loop_child_sources 590s ok 28 /mainloop/swapping_child_sources 590s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 590s ok 29 /mainloop/blocked_child_sources 591s ok 30 /mainloop/source_time 591s # slow test /mainloop/source_time executed in 1.00 secs 591s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 591s ok 31 /mainloop/overflow 592s ok 32 /mainloop/ready-time 592s # slow test /mainloop/ready-time executed in 0.50 secs 592s ok 33 /mainloop/wakeup 592s ok 34 /mainloop/remove-invalid 592s ok 35 /mainloop/unref-while-pending 593s ok 36 /mainloop/unix-fd 593s # slow test /mainloop/unix-fd executed in 1.41 secs 593s ok 37 /mainloop/unix-fd-source 593s ok 38 /mainloop/source-unix-fd-api 593s ok 39 /mainloop/wait 593s ok 40 /mainloop/unix-file-poll 593s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 593s ok 41 /mainloop/unix-fd-priority 593s ok 42 /mainloop/nfds 593s ok 43 /mainloop/steal-fd 593s # Start of ownerless-polling tests 593s ok 44 /mainloop/ownerless-polling/attach-first 593s ok 45 /mainloop/ownerless-polling/pop-first 593s # End of ownerless-polling tests 593s # End of mainloop tests 593s ok - glib/mainloop.test 593s # Running test: glib/sandbox.test 593s TAP version 14 593s # random seed: R02Saff6694ba272b8de5a35bac0b6c34511 593s 1..4 593s # Start of sandbox tests 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_3RABX2/sandbox/none/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_3RABX2/sandbox/none/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_3RABX2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_3RABX2/sandbox/none/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_3RABX2/sandbox/none/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_3RABX2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_3RABX2/sandbox/none/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_3RABX2/sandbox/none/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_3RABX2/sandbox/none/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_3RABX2/sandbox/none/.dirs/runtime 593s ok 1 /sandbox/none 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_3RABX2/sandbox/snap/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_3RABX2/sandbox/snap/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_3RABX2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_3RABX2/sandbox/snap/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_3RABX2/sandbox/snap/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_3RABX2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_3RABX2/sandbox/snap/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_3RABX2/sandbox/snap/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_3RABX2/sandbox/snap/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_3RABX2/sandbox/snap/.dirs/runtime 593s # Created snap.yaml in /tmp/test_sandbox_3RABX2/snap/current/meta/snap.yaml 593s ok 2 /sandbox/snap 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_3RABX2/sandbox/classic-snap/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_3RABX2/sandbox/classic-snap/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_3RABX2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_3RABX2/sandbox/classic-snap/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_3RABX2/sandbox/classic-snap/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_3RABX2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_3RABX2/sandbox/classic-snap/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_3RABX2/sandbox/classic-snap/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_3RABX2/sandbox/classic-snap/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_3RABX2/sandbox/classic-snap/.dirs/runtime 593s # Created snap.yaml in /tmp/test_sandbox_3RABX2/snap/current/meta/snap.yaml 593s ok 3 /sandbox/classic-snap 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_3RABX2/sandbox/flatpak/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_3RABX2/sandbox/flatpak/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_3RABX2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_3RABX2/sandbox/flatpak/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_3RABX2/sandbox/flatpak/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_3RABX2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_3RABX2/sandbox/flatpak/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_3RABX2/sandbox/flatpak/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_3RABX2/sandbox/flatpak/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_3RABX2/sandbox/flatpak/.dirs/runtime 593s # Creating .flatpak-info in /tmp/test_sandbox_3RABX2/sandbox/flatpak/.dirs/runtime/.flatpak-info 593s ok 4 /sandbox/flatpak 593s # End of sandbox tests 593s ok - glib/sandbox.test 593s # Running test: glib/gdbus-names.test 593s TAP version 14 593s # random seed: R02S9e769f13274fad04e6108cc26e1c7855 593s 1..10 593s # Start of gdbus tests 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/validate-names/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/validate-names/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_U0DBX2/gdbus/validate-names/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/validate-names/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_U0DBX2/gdbus/validate-names/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/validate-names/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/validate-names/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0DBX2/gdbus/validate-names/.dirs/runtime 593s ok 1 /gdbus/validate-names 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-own-name/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-own-name/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-own-name/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-own-name/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-own-name/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-own-name/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-own-name/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-own-name/.dirs/runtime 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 2 /gdbus/bus-own-name 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name/.dirs/runtime 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 3 /gdbus/bus-watch-name 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start/.dirs/runtime 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 4 /gdbus/bus-watch-name-auto-start 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 593s dbus-daemon[8444]: [session uid=1000 pid=8444] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=8435 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 593s # Acquired a message bus connection 593s dbus-daemon[8444]: [session uid=1000 pid=8444] Successfully activated service 'org.gtk.GDBus.FakeService' 593s # Acquired the name org.gtk.GDBus.FakeService 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures/.dirs/runtime 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 6 /gdbus/bus-watch-name-closures 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 7 /gdbus/bus-watch-name-closures-auto-start 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-different-context/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-different-context/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-different-context/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-different-context/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-different-context/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-different-context/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-different-context/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-watch-different-context/.dirs/runtime 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 8 /gdbus/bus-watch-different-context 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-unwatch-early/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-unwatch-early/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-unwatch-early/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-unwatch-early/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_U0DBX2/gdbus/bus-unwatch-early/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-unwatch-early/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-unwatch-early/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0DBX2/gdbus/bus-unwatch-early/.dirs/runtime 593s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 593s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 593s ok 9 /gdbus/bus-unwatch-early 593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/escape-object-path/.dirs/home 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/escape-object-path/.dirs/cache 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_U0DBX2/gdbus/escape-object-path/.dirs/system-config2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/escape-object-path/.dirs/config 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0DBX2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_U0DBX2/gdbus/escape-object-path/.dirs/system-data2 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/escape-object-path/.dirs/data 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0DBX2/gdbus/escape-object-path/.dirs/state 593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0DBX2/gdbus/escape-object-path/.dirs/runtime 593s ok 10 /gdbus/escape-object-path 593s # End of gdbus tests 593s ok - glib/gdbus-names.test 593s # Running test: glib/1bit-mutex.test 593s TAP version 14 593s # random seed: R02Sd53440586f4e0763b679538699b3d444 593s 1..2 593s # Start of glib tests 593s # Start of 1bit-mutex tests 595s # Executing: glib/1bit-mutex.test 598s ok 1 /glib/1bit-mutex/int 598s # slow test /glib/1bit-mutex/int executed in 4.78 secs 600s # Executing: glib/1bit-mutex.test 603s ok 2 /glib/1bit-mutex/pointer 603s # slow test /glib/1bit-mutex/pointer executed in 4.85 secs 603s # End of 1bit-mutex tests 603s # End of glib tests 603s ok - glib/1bit-mutex.test 603s # Running test: glib/unix-streams.test 603s TAP version 14 603s # random seed: R02S36d9a2703f563eeb4dcb8ee31d9a9e3e 603s 1..9 603s # Start of unix-streams tests 603s ok 1 /unix-streams/basic 604s ok 2 /unix-streams/pipe-io-test 604s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 604s ok 3 /unix-streams/nonblocking-io-test 604s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 604s ok 4 /unix-streams/read_write 604s ok 5 /unix-streams/read_writev 604s ok 6 /unix-streams/write-wouldblock 604s ok 7 /unix-streams/writev-wouldblock 604s ok 8 /unix-streams/write-async-wouldblock 604s ok 9 /unix-streams/writev-async-wouldblock 604s # End of unix-streams tests 604s ok - glib/unix-streams.test 604s # Running test: glib/portal-support-snap.test 604s TAP version 14 604s # random seed: R02S9b6bae698f2d6aae9f3c16b6eacf024b 604s 1..7 604s # Start of portal-support tests 604s # Start of snap tests 604s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/no-snapctl/.dirs/home 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/no-snapctl/.dirs/cache 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/no-snapctl/.dirs/system-config2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/no-snapctl/.dirs/config 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/no-snapctl/.dirs/system-data2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/no-snapctl/.dirs/data 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/no-snapctl/.dirs/state 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/no-snapctl/.dirs/runtime 604s # Created snap.yaml in /tmp/test_portal-support-snap_EDZHX2/meta/snap.yaml 604s Unable to clean up temporary directory /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/no-snapctl: No such file or directory 604s ok 1 /portal-support/snap/no-snapctl 604s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none/.dirs/home 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none/.dirs/cache 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none/.dirs/system-config2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none/.dirs/config 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none/.dirs/system-data2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none/.dirs/data 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none/.dirs/state 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none/.dirs/runtime 604s # Created snap.yaml in /tmp/test_portal-support-snap_EDZHX2/meta/snap.yaml 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none/.dirs/runtime/snapctl 604s Unable to clean up temporary directory /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/none: No such file or directory 604s ok 2 /portal-support/snap/none 604s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all/.dirs/home 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all/.dirs/cache 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all/.dirs/system-config2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all/.dirs/config 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all/.dirs/system-data2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all/.dirs/data 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all/.dirs/state 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all/.dirs/runtime 604s # Created snap.yaml in /tmp/test_portal-support-snap_EDZHX2/meta/snap.yaml 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all/.dirs/runtime/snapctl 604s Unable to clean up temporary directory /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/all: No such file or directory 604s ok 3 /portal-support/snap/all 604s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only/.dirs/home 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only/.dirs/cache 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only/.dirs/system-config2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only/.dirs/config 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only/.dirs/system-data2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only/.dirs/data 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only/.dirs/state 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only/.dirs/runtime 604s # Created snap.yaml in /tmp/test_portal-support-snap_EDZHX2/meta/snap.yaml 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 604s Unable to clean up temporary directory /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/desktop-only: No such file or directory 604s ok 4 /portal-support/snap/desktop-only 604s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only/.dirs/home 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only/.dirs/cache 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only/.dirs/system-config2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only/.dirs/config 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only/.dirs/system-data2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only/.dirs/data 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only/.dirs/state 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only/.dirs/runtime 604s # Created snap.yaml in /tmp/test_portal-support-snap_EDZHX2/meta/snap.yaml 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only/.dirs/runtime/snapctl 604s Unable to clean up temporary directory /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/network-only: No such file or directory 604s ok 5 /portal-support/snap/network-only 604s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only/.dirs/home 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only/.dirs/cache 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only/.dirs/system-config2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only/.dirs/config 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only/.dirs/system-data2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only/.dirs/data 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only/.dirs/state 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only/.dirs/runtime 604s # Created snap.yaml in /tmp/test_portal-support-snap_EDZHX2/meta/snap.yaml 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 604s Unable to clean up temporary directory /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/gsettings-only: No such file or directory 604s ok 6 /portal-support/snap/gsettings-only 604s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/home 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/cache 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/system-config2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/config 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/system-data2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/data 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/state 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/runtime 604s # Created snap.yaml in /tmp/test_portal-support-snap_EDZHX2/meta/snap.yaml 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 604s # Created snapctl in /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 604s Unable to clean up temporary directory /tmp/test_portal-support-snap_EDZHX2/portal-support/snap/updates-dynamically: No such file or directory 604s ok 7 /portal-support/snap/updates-dynamically 604s # End of snap tests 604s # End of portal-support tests 604s Unable to clean up temporary directory /tmp/test_portal-support-snap_EDZHX2: No such file or directory 604s ok - glib/portal-support-snap.test 604s # Running test: glib/permission.test 604s TAP version 14 604s # random seed: R02Saf3d55eb7ac48efa82a8599d45eb1f40 604s 1..1 604s # Start of permission tests 604s ok 1 /permission/simple 604s # End of permission tests 604s ok - glib/permission.test 604s # Running test: glib/object-info.test 604s TAP version 14 604s # random seed: R02S9b213faa11f96768529909c14a9e8338 604s 1..2 604s # Start of object-info tests 604s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_0SNIX2/object-info/find-method-using-interfaces/.dirs/home 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_0SNIX2/object-info/find-method-using-interfaces/.dirs/cache 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_0SNIX2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_0SNIX2/object-info/find-method-using-interfaces/.dirs/system-config2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_0SNIX2/object-info/find-method-using-interfaces/.dirs/config 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_0SNIX2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_0SNIX2/object-info/find-method-using-interfaces/.dirs/system-data2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_0SNIX2/object-info/find-method-using-interfaces/.dirs/data 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_0SNIX2/object-info/find-method-using-interfaces/.dirs/state 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_0SNIX2/object-info/find-method-using-interfaces/.dirs/runtime 604s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 604s ok 1 /object-info/find-method-using-interfaces 604s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_0SNIX2/object-info/find-vfunc-using-interfaces/.dirs/home 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_0SNIX2/object-info/find-vfunc-using-interfaces/.dirs/cache 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_0SNIX2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_0SNIX2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_0SNIX2/object-info/find-vfunc-using-interfaces/.dirs/config 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_0SNIX2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_0SNIX2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_0SNIX2/object-info/find-vfunc-using-interfaces/.dirs/data 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_0SNIX2/object-info/find-vfunc-using-interfaces/.dirs/state 604s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_0SNIX2/object-info/find-vfunc-using-interfaces/.dirs/runtime 604s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 604s ok 2 /object-info/find-vfunc-using-interfaces 604s # End of object-info tests 604s ok - glib/object-info.test 604s # Running test: glib/cxx-11.test 604s TAP version 14 604s # random seed: R02S39801ddaa418a45e6357bb9c5a5f8528 604s 1..2 604s # Start of gtask tests 604s # 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. 604s ok 1 /gtask/name 604s # Start of name tests 604s # 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. 604s ok 2 /gtask/name/macro-wrapper 604s # End of name tests 604s # End of gtask tests 604s ok - glib/cxx-11.test 604s # Running test: glib/cmph-bdz.test 604s TAP version 14 604s # random seed: R02S152aa40c7b1a409abbc06e9f7415b77e 604s 1..2 604s # Start of cmph-bdz tests 604s ok 1 /cmph-bdz/search 604s ok 2 /cmph-bdz/search-packed 604s # End of cmph-bdz tests 604s ok - glib/cmph-bdz.test 604s # Running test: glib/gio-tool.py.test 604s TAP version 13 604s ok 1 __main__.TestGioTool.test_help 604s # tmpdir: /tmp/tmp7bm9vhg_ 604s # gio: /usr/bin/gio 604s # Running: ['/usr/bin/gio', '--help'] 604s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 604s # Output: Usage: 604s # gio COMMAND [ARGS…] 604s # 604s # Commands: 604s # help Print help 604s # version Print version 604s # cat Concatenate files to standard output 604s # copy Copy one or more files 604s # info Show information about locations 604s # launch Launch an application from a desktop file 604s # list List the contents of locations 604s # mime Get or set the handler for a mimetype 604s # mkdir Create directories 604s # monitor Monitor files and directories for changes 604s # mount Mount or unmount the locations 604s # move Move one or more files 604s # open Open files with the default application 604s # rename Rename a file 604s # remove Delete one or more files 604s # save Read from standard input and save 604s # set Set a file attribute 604s # trash Move files or directories to the trash 604s # tree Lists the contents of locations in a tree 604s # 604s # Use “gio help COMMAND†to get detailed help. 604s # Running: ['/usr/bin/gio', 'help'] 604s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 604s # Output: Usage: 604s # gio COMMAND [ARGS…] 604s # 604s # Commands: 604s # help Print help 604s # version Print version 604s # cat Concatenate files to standard output 604s # copy Copy one or more files 604s # info Show information about locations 604s # launch Launch an application from a desktop file 604s # list List the contents of locations 604s # mime Get or set the handler for a mimetype 604s # mkdir Create directories 604s # monitor Monitor files and directories for changes 604s # mount Mount or unmount the locations 604s # move Move one or more files 604s # open Open files with the default application 604s # rename Rename a file 604s # remove Delete one or more files 604s # save Read from standard input and save 604s # set Set a file attribute 604s # trash Move files or directories to the trash 604s # tree Lists the contents of locations in a tree 604s # 604s # Use “gio help COMMAND†to get detailed help. 604s ok 2 __main__.TestGioTool.test_info_non_default_attributes 604s # tmpdir: /tmp/tmp10gavyg1 604s # gio: /usr/bin/gio 604s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp10gavyg1/tmpck0gypyh'] 604s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 604s # Output: uri: file:///tmp/tmp10gavyg1/tmpck0gypyh 604s # local path: /tmp/tmp10gavyg1/tmpck0gypyh 604s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 604s # attributes: 604s # standard::content-type: application/x-zerosize 604s ok 3 __main__.TestGioTool.test_no_args 604s # tmpdir: /tmp/tmptr8ingjt 604s # gio: /usr/bin/gio 604s # Running: ['/usr/bin/gio'] 604s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 604s 1..3 604s ok - glib/gio-tool.py.test 604s # Running test: glib/object.test 604s TAP version 14 604s # random seed: R02S601c83ee3dc27ff335aa38a9481acfe4 604s 1..2 604s # Start of object tests 604s # Start of constructor tests 604s ok 1 /object/constructor/singleton 604s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 604s # End of constructor tests 604s # End of object tests 604s ok - glib/object.test 604s # Running test: glib/timeout.test 604s TAP version 14 604s # random seed: R02S601e71dff64eff890268174e804a03e6 604s 1..5 604s # Start of timeout tests 604s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 605s # Executing: glib/timeout.test 606s ok 1 /timeout/seconds 606s # slow test /timeout/seconds executed in 2.10 secs 608s ok 2 /timeout/seconds-once 608s # slow test /timeout/seconds-once executed in 2.10 secs 608s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 610s # Executing: glib/timeout.test 611s ok 3 /timeout/weeks-overflow 611s # slow test /timeout/weeks-overflow executed in 2.10 secs 611s ok 4 /timeout/far-future-ready-time 615s # Executing: glib/timeout.test 620s # Executing: glib/timeout.test 621s ok 5 /timeout/rounding 621s # slow test /timeout/rounding executed in 10.15 secs 621s # End of timeout tests 621s ok - glib/timeout.test 621s # Running test: glib/properties-refcount2.test 621s TAP version 14 621s # random seed: R02S3fdc945e79a832cb70e7d616754506ad 621s 1..1 621s # Start of gobject tests 621s # Start of refcount tests 621s # init 0x1fd3e442e770 621s # 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 621s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 622s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 623s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # . 624s # dispose 0x1fd3e442e770! 624s # 624s ok 1 /gobject/refcount/properties-2 624s # slow test /gobject/refcount/properties-2 executed in 3.39 secs 624s # End of refcount tests 624s # End of gobject tests 624s ok - glib/properties-refcount2.test 624s # Running test: glib/async-close-output-stream.test 624s TAP version 14 624s # random seed: R02S65140f8e4b4a68bd90517be77ca140aa 624s 1..3 624s # Start of close-async tests 624s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 624s ok 1 /close-async/without-flush 624s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 624s ok 2 /close-async/with-flush 624s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 624s ok 3 /close-async/with-async-flush 624s # End of close-async tests 624s ok - glib/async-close-output-stream.test 624s # Running test: glib/vfs.test 624s TAP version 14 624s # random seed: R02S109bca26e8767f74264b20bd39670141 624s 1..3 624s # Start of gvfs tests 624s ok 1 /gvfs/local 624s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 624s ok 2 /gvfs/register-scheme 624s # Start of resource tests 624s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 624s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 624s ok 3 /gvfs/resource/malformed-escaping 624s # End of resource tests 624s # End of gvfs tests 624s ok - glib/vfs.test 624s # Running test: glib/qdata.test 624s TAP version 14 624s # random seed: R02S27fa2687bf7f7538c3f41731509601a8 624s 1..2 624s # Start of qdata tests 624s ok 1 /qdata/threaded 624s ok 2 /qdata/dup 624s # End of qdata tests 624s ok - glib/qdata.test 624s # Running test: glib/threadtests.test 624s TAP version 14 624s # random seed: R02S1158816a2528e56c29ccf32e44f05995 624s 1..5 624s # Start of GObject tests 624s ok 1 /GObject/threaded-object-init 625s # Executing: glib/threadtests.test 625s ok 2 /GObject/threaded-weak-ref 625s # slow test /GObject/threaded-weak-ref executed in 0.89 secs 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 625s # /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 626s ok 3 /GObject/threaded-toggle-notify 626s # slow test /GObject/threaded-toggle-notify executed in 0.70 secs 626s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 626s # Start of threaded-weak-ref tests 626s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 626s # /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. 626s ok 5 /GObject/threaded-weak-ref/on-finalization 626s # End of threaded-weak-ref tests 626s # End of GObject tests 626s ok - glib/threadtests.test 626s # Running test: glib/array-test.test 626s TAP version 14 626s # random seed: R02Sf941820e52e8c7887e122b73dc8f82b6 626s 1..113 626s # Start of array tests 626s ok 1 /array/ref-count 626s ok 2 /array/steal 626s ok 3 /array/clear-func 626s ok 4 /array/binary-search 626s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 626s ok 5 /array/copy-sized 626s ok 6 /array/overflow-append-vals 626s ok 7 /array/overflow-set-size 626s # Start of new tests 626s ok 8 /array/new/zero-terminated 626s ok 9 /array/new/take 626s ok 10 /array/new/take-zero-terminated 626s # Start of take tests 626s ok 11 /array/new/take/empty 626s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 626s # End of take tests 626s # End of new tests 626s # Start of set-size tests 626s ok 13 /array/set-size/non-zero-terminated-no-clear 626s ok 14 /array/set-size/non-zero-terminated-clear 626s ok 15 /array/set-size/zero-terminated-no-clear 626s ok 16 /array/set-size/zero-terminated-clear 626s # Start of sized tests 626s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 626s ok 18 /array/set-size/sized/non-zero-terminated-clear 626s ok 19 /array/set-size/sized/zero-terminated-no-clear 626s ok 20 /array/set-size/sized/zero-terminated-clear 626s # End of sized tests 626s # End of set-size tests 626s # Start of append-val tests 626s ok 21 /array/append-val/non-zero-terminated-no-clear 626s ok 22 /array/append-val/non-zero-terminated-clear 626s ok 23 /array/append-val/zero-terminated-no-clear 626s ok 24 /array/append-val/zero-terminated-clear 626s # End of append-val tests 626s # Start of prepend-val tests 626s ok 25 /array/prepend-val/non-zero-terminated-no-clear 626s ok 26 /array/prepend-val/non-zero-terminated-clear 626s ok 27 /array/prepend-val/zero-terminated-no-clear 626s ok 28 /array/prepend-val/zero-terminated-clear 626s # End of prepend-val tests 626s # Start of prepend-vals tests 626s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 626s ok 30 /array/prepend-vals/non-zero-terminated-clear 626s ok 31 /array/prepend-vals/zero-terminated-no-clear 626s ok 32 /array/prepend-vals/zero-terminated-clear 626s # End of prepend-vals tests 626s # Start of insert-vals tests 626s ok 33 /array/insert-vals/non-zero-terminated-no-clear 626s ok 34 /array/insert-vals/non-zero-terminated-clear 626s ok 35 /array/insert-vals/zero-terminated-no-clear 626s ok 36 /array/insert-vals/zero-terminated-clear 626s # End of insert-vals tests 626s # Start of remove-index tests 626s ok 37 /array/remove-index/non-zero-terminated-no-clear 626s ok 38 /array/remove-index/non-zero-terminated-clear 626s ok 39 /array/remove-index/zero-terminated-no-clear 626s ok 40 /array/remove-index/zero-terminated-clear 626s # End of remove-index tests 626s # Start of remove-index-fast tests 626s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 626s ok 42 /array/remove-index-fast/non-zero-terminated-clear 626s ok 43 /array/remove-index-fast/zero-terminated-no-clear 626s ok 44 /array/remove-index-fast/zero-terminated-clear 626s # End of remove-index-fast tests 626s # Start of remove-range tests 626s ok 45 /array/remove-range/non-zero-terminated-no-clear 626s ok 46 /array/remove-range/non-zero-terminated-clear 626s ok 47 /array/remove-range/zero-terminated-no-clear 626s ok 48 /array/remove-range/zero-terminated-clear 626s # End of remove-range tests 626s # Start of copy tests 626s ok 49 /array/copy/non-zero-terminated-no-clear 626s ok 50 /array/copy/non-zero-terminated-clear 626s ok 51 /array/copy/zero-terminated-no-clear 626s ok 52 /array/copy/zero-terminated-clear 626s # End of copy tests 626s # Start of sort tests 626s ok 53 /array/sort/non-zero-terminated-no-clear 626s ok 54 /array/sort/non-zero-terminated-clear 626s ok 55 /array/sort/zero-terminated-no-clear 626s ok 56 /array/sort/zero-terminated-clear 626s # End of sort tests 626s # Start of sort-with-data tests 626s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 626s ok 58 /array/sort-with-data/non-zero-terminated-clear 626s ok 59 /array/sort-with-data/zero-terminated-no-clear 626s ok 60 /array/sort-with-data/zero-terminated-clear 626s # End of sort-with-data tests 626s # End of array tests 626s # Start of pointerarray tests 626s ok 61 /pointerarray/add 626s ok 62 /pointerarray/insert 626s ok 63 /pointerarray/new-take 626s ok 64 /pointerarray/new-take-null-terminated 626s ok 65 /pointerarray/new-from-array 626s ok 66 /pointerarray/new-from-null-terminated-array 626s ok 67 /pointerarray/free-func 626s ok 68 /pointerarray/array_extend_and_steal 626s ok 69 /pointerarray/sort 626s ok 70 /pointerarray/sort-with-data 626s ok 71 /pointerarray/sort-values 626s ok 72 /pointerarray/sort-values-with-data 626s ok 73 /pointerarray/remove-range 626s ok 74 /pointerarray/steal 626s # Start of free tests 626s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 626s ok 75 /pointerarray/free/null-terminated 626s # End of free tests 626s # Start of new-take tests 626s ok 76 /pointerarray/new-take/empty 626s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 626s ok 78 /pointerarray/new-take/with-free-func 626s # End of new-take tests 626s # Start of new-take-null-terminated tests 626s ok 79 /pointerarray/new-take-null-terminated/empty 626s ok 80 /pointerarray/new-take-null-terminated/with-free-func 626s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 626s # End of new-take-null-terminated tests 626s # Start of new-from-array tests 626s ok 82 /pointerarray/new-from-array/empty 626s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 626s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 626s # End of new-from-array tests 626s # Start of new-from-null-terminated-array tests 626s ok 85 /pointerarray/new-from-null-terminated-array/empty 626s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 626s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 626s # End of new-from-null-terminated-array tests 626s # Start of ref-count tests 626s ok 88 /pointerarray/ref-count/not-null-terminated 626s ok 89 /pointerarray/ref-count/null-terminated 626s # End of ref-count tests 626s # Start of array_copy tests 626s # /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 626s ok 90 /pointerarray/array_copy/not-null-terminated 626s # /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 626s ok 91 /pointerarray/array_copy/null-terminated 626s # End of array_copy tests 626s # Start of array_extend tests 626s ok 92 /pointerarray/array_extend/not-null-terminated 626s ok 93 /pointerarray/array_extend/null-terminated 626s # End of array_extend tests 626s # Start of sort tests 626s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 626s ok 94 /pointerarray/sort/example 626s # End of sort tests 626s # Start of sort-with-data tests 626s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 626s ok 95 /pointerarray/sort-with-data/example 626s # End of sort-with-data tests 626s # Start of sort-values tests 626s ok 96 /pointerarray/sort-values/example 626s # End of sort-values tests 626s # Start of sort-values-with-data tests 626s ok 97 /pointerarray/sort-values-with-data/example 626s # End of sort-values-with-data tests 626s # Start of find tests 626s ok 98 /pointerarray/find/empty 626s ok 99 /pointerarray/find/non-empty 626s # End of find tests 626s # Start of steal_index tests 626s ok 100 /pointerarray/steal_index/not-null-terminated 626s ok 101 /pointerarray/steal_index/null-terminated 626s # End of steal_index tests 626s # End of pointerarray tests 626s # Start of bytearray tests 626s ok 102 /bytearray/steal 626s ok 103 /bytearray/append 626s ok 104 /bytearray/prepend 626s ok 105 /bytearray/remove 626s ok 106 /bytearray/remove-fast 626s ok 107 /bytearray/remove-range 626s ok 108 /bytearray/ref-count 626s ok 109 /bytearray/sort 626s ok 110 /bytearray/sort-with-data 626s ok 111 /bytearray/new-take 626s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 626s ok 113 /bytearray/free-to-bytes 626s # End of bytearray tests 626s ok - glib/array-test.test 626s # Running test: glib/strfuncs.test 626s TAP version 14 626s # random seed: R02S4f2deee45dedd70344ded84474dcec71 626s 1..50 626s # Start of strfuncs tests 626s ok 1 /strfuncs/ascii-strcasecmp 626s ok 2 /strfuncs/ascii_strdown 626s ok 3 /strfuncs/ascii_strdup 626s ok 4 /strfuncs/ascii_strtod 626s ok 5 /strfuncs/bounds-check 626s ok 6 /strfuncs/has-prefix 626s ok 7 /strfuncs/has-prefix-macro 626s ok 8 /strfuncs/has-suffix 626s ok 9 /strfuncs/has-suffix-macro 626s ok 10 /strfuncs/memdup 626s ok 11 /strfuncs/memdup2 626s ok 12 /strfuncs/set_str 626s ok 13 /strfuncs/stpcpy 626s ok 14 /strfuncs/str_match_string 626s ok 15 /strfuncs/str_tokenize_and_fold 626s ok 16 /strfuncs/strcanon 626s ok 17 /strfuncs/strchomp 626s ok 18 /strfuncs/strchug 626s ok 19 /strfuncs/strcompress-strescape 626s ok 20 /strfuncs/strconcat 626s ok 21 /strfuncs/strdelimit 626s ok 22 /strfuncs/strdup 626s ok 23 /strfuncs/strdup-printf 626s ok 24 /strfuncs/strdupv 626s ok 25 /strfuncs/strerror 626s ok 26 /strfuncs/strip-context 626s ok 27 /strfuncs/strjoin 626s ok 28 /strfuncs/strjoinv 626s ok 29 /strfuncs/strlcat 626s ok 30 /strfuncs/strlcpy 626s ok 31 /strfuncs/strncasecmp 626s ok 32 /strfuncs/strndup 626s ok 33 /strfuncs/strnfill 626s ok 34 /strfuncs/strreverse 626s ok 35 /strfuncs/strsignal 626s ok 36 /strfuncs/strsplit 626s ok 37 /strfuncs/strsplit-set 626s ok 38 /strfuncs/strstr 626s ok 39 /strfuncs/strtod 626s ok 40 /strfuncs/strtoull-strtoll 626s ok 41 /strfuncs/strup 626s ok 42 /strfuncs/strv-contains 626s ok 43 /strfuncs/strv-equal 626s ok 44 /strfuncs/strv-length 626s ok 45 /strfuncs/test-is-to-digit 626s ok 46 /strfuncs/transliteration 626s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 626s ok 47 /strfuncs/str-equal 626s # Start of ascii-string-to-num tests 626s ok 48 /strfuncs/ascii-string-to-num/pathological 626s ok 49 /strfuncs/ascii-string-to-num/usual 626s # End of ascii-string-to-num tests 626s # Start of strdup tests 626s ok 50 /strfuncs/strdup/inline 626s # End of strdup tests 626s # End of strfuncs tests 626s ok - glib/strfuncs.test 626s # Running test: glib/rwlock.test 626s TAP version 14 626s # random seed: R02S8d25a9daf6183806629cfd55150b96a1 626s 1..8 626s # Start of thread tests 626s ok 1 /thread/rwlock1 626s ok 2 /thread/rwlock2 626s ok 3 /thread/rwlock3 626s ok 4 /thread/rwlock4 626s ok 5 /thread/rwlock5 626s ok 6 /thread/rwlock6 630s # Executing: glib/rwlock.test 631s ok 7 /thread/rwlock7 631s # slow test /thread/rwlock7 executed in 5.00 secs 631s ok 8 /thread/rwlock8 631s # End of thread tests 631s ok - glib/rwlock.test 631s # Running test: glib/macros-c-99.test 631s TAP version 14 631s # random seed: R02Se6d4f01b41c33e51180c4f46c0adb9a5 631s 1..4 631s # Start of C tests 631s ok 1 /C/standard-99 631s # End of C tests 631s # Start of alignof tests 631s ok 2 /alignof/fallback 631s # End of alignof tests 631s # Start of assert tests 631s ok 3 /assert/static 631s # End of assert tests 631s # Start of struct tests 631s ok 4 /struct/sizeof_member 631s # End of struct tests 631s ok - glib/macros-c-99.test 631s # Running test: glib/gdbus-proxy.test 631s TAP version 14 631s # random seed: R02S1a896cd8997930f100e1458e28487443 631s 1..5 631s # Start of gdbus tests 631s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/.dirs/home 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/.dirs/cache 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/.dirs/system-config2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/.dirs/config 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/.dirs/system-data2 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/.dirs/data 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/.dirs/state 631s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/.dirs/runtime 631s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 633s ok 1 /gdbus/proxy 633s # slow test /gdbus/proxy executed in 1.74 secs 633s # Start of proxy tests 633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-properties/.dirs/home 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-properties/.dirs/cache 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-properties/.dirs/system-config2 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-properties/.dirs/config 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-properties/.dirs/system-data2 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-properties/.dirs/data 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-properties/.dirs/state 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-properties/.dirs/runtime 633s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 633s ok 2 /gdbus/proxy/no-properties 633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/wellknown-noauto/.dirs/home 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/wellknown-noauto/.dirs/cache 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/wellknown-noauto/.dirs/config 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/wellknown-noauto/.dirs/data 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/wellknown-noauto/.dirs/state 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/wellknown-noauto/.dirs/runtime 633s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 633s ok 3 /gdbus/proxy/wellknown-noauto 633s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/async/.dirs/home 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/async/.dirs/cache 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/async/.dirs/system-config2 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/async/.dirs/config 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/async/.dirs/system-data2 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/async/.dirs/data 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/async/.dirs/state 633s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/async/.dirs/runtime 633s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 635s # Executing: glib/gdbus-proxy.test 635s ok 4 /gdbus/proxy/async 635s # slow test /gdbus/proxy/async executed in 1.74 secs 635s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-match-rule/.dirs/home 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-match-rule/.dirs/cache 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-match-rule/.dirs/system-config2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-match-rule/.dirs/config 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-match-rule/.dirs/system-data2 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-match-rule/.dirs/data 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-match-rule/.dirs/state 635s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_LIPIX2/gdbus/proxy/no-match-rule/.dirs/runtime 635s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 635s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 635s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 636s ok 5 /gdbus/proxy/no-match-rule 636s # slow test /gdbus/proxy/no-match-rule executed in 1.73 secs 636s # End of proxy tests 636s # End of gdbus tests 636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 636s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 636s ok - glib/gdbus-proxy.test 636s # Running test: glib/thumbnail-verification.test 636s TAP version 14 636s # random seed: R02S1f14a9ef2eeca3f85452b8cd429e972b 636s 1..1 636s # Start of png-thumbs tests 636s ok 1 /png-thumbs/validity 636s # End of png-thumbs tests 636s ok - glib/thumbnail-verification.test 636s # Running test: glib/spawn-singlethread.test 636s TAP version 14 636s # random seed: R02S64765c93b075055e619d952c9ced9f6c 636s 1..9 636s # Start of gthread tests 636s ok 1 /gthread/spawn-single-sync 636s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 636s ok 2 /gthread/spawn-stderr-socket 636s ok 3 /gthread/spawn-single-async 636s # thread 1 636s # thread 1 636s ok 4 /gthread/spawn-single-async-with-fds 636s ok 5 /gthread/spawn-async-with-invalid-fds 636s ok 6 /gthread/spawn-script 636s ok 7 /gthread/spawn-posix-spawn 636s # Start of spawn tests 636s ok 8 /gthread/spawn/nonexistent 636s # FD map: 636s # • 5 → 15 636s # • 6 → 16 636s # • 7 → 17 636s # • 8 → 18 636s # • 9 → 19 636s # • 10 → 20 636s # • 11 → 21 636s # • 12 → 22 636s # • 13 → 23 636s # • 3 → 13 636s ok 9 /gthread/spawn/fd-assignment-clash 636s # End of spawn tests 636s # End of gthread tests 636s ok - glib/spawn-singlethread.test 636s # Running test: glib/network-monitor-race.test 636s TAP version 14 636s # random seed: R02S14a7992925fb427597bc5944fae2c3a5 636s 1..1 636s # Start of network-monitor tests 636s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 639s ok 1 /network-monitor/create-in-thread 639s # slow test /network-monitor/create-in-thread executed in 2.20 secs 639s # End of network-monitor tests 639s ok - glib/network-monitor-race.test 639s # Running test: glib/gdbus-message.test 639s TAP version 14 639s # random seed: R02S3e7482e64cb9f31e46b242658fc6257a 639s 1..3 639s # Start of gdbus tests 639s # Start of message tests 639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/lock/.dirs/home 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/lock/.dirs/cache 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_63Z6W2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_63Z6W2/gdbus/message/lock/.dirs/system-config2 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/lock/.dirs/config 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_63Z6W2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_63Z6W2/gdbus/message/lock/.dirs/system-data2 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/lock/.dirs/data 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/lock/.dirs/state 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_63Z6W2/gdbus/message/lock/.dirs/runtime 639s ok 1 /gdbus/message/lock 639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/copy/.dirs/home 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/copy/.dirs/cache 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_63Z6W2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_63Z6W2/gdbus/message/copy/.dirs/system-config2 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/copy/.dirs/config 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_63Z6W2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_63Z6W2/gdbus/message/copy/.dirs/system-data2 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/copy/.dirs/data 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/copy/.dirs/state 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_63Z6W2/gdbus/message/copy/.dirs/runtime 639s ok 2 /gdbus/message/copy 639s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/bytes-needed/.dirs/home 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/bytes-needed/.dirs/cache 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_63Z6W2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_63Z6W2/gdbus/message/bytes-needed/.dirs/system-config2 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/bytes-needed/.dirs/config 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_63Z6W2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_63Z6W2/gdbus/message/bytes-needed/.dirs/system-data2 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/bytes-needed/.dirs/data 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_63Z6W2/gdbus/message/bytes-needed/.dirs/state 639s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_63Z6W2/gdbus/message/bytes-needed/.dirs/runtime 639s # Vector: 0 639s # Vector: 1 639s # Vector: 2 639s # Vector: 3 639s # Vector: 4 639s # Vector: 5 639s ok 3 /gdbus/message/bytes-needed 639s # End of message tests 639s # End of gdbus tests 639s ok - glib/gdbus-message.test 639s # Running test: glib/mkenums.py.test 639s TAP version 13 639s ok 1 __main__.TestMkenums.test_available_in 639s # tmpdir: /tmp/tmprog1s_1b 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmprog1s_1b/tmpuhnri9ce.h: 639s # typedef enum { 639s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 639s # } GDBusServerFlags; 639s # 639s # /tmp/tmprog1s_1b/tmpc06bg63l.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprog1s_1b/tmpc06bg63l.template', '/tmp/tmprog1s_1b/tmpuhnri9ce.h'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-production 639s # filename: /tmp/tmprog1s_1b/tmpuhnri9ce.h 639s # basename: tmpuhnri9ce.h 639s # enumeration-production 639s # EnumName: GDBusServerFlags 639s # enum_name: g_dbus_server_flags 639s # ENUMNAME: G_DBUS_SERVER_FLAGS 639s # ENUMSHORT: DBUS_SERVER_FLAGS 639s # ENUMPREFIX: G 639s # enumsince: 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # value-header 639s # EnumName: GDBusServerFlags 639s # enum_name: g_dbus_server_flags 639s # ENUMNAME: G_DBUS_SERVER_FLAGS 639s # ENUMSHORT: DBUS_SERVER_FLAGS 639s # ENUMPREFIX: G 639s # enumsince: 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # value-production 639s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 639s # valuenick: user 639s # valuenum: 4 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # value-tail 639s # EnumName: GDBusServerFlags 639s # enum_name: g_dbus_server_flags 639s # ENUMNAME: G_DBUS_SERVER_FLAGS 639s # ENUMSHORT: DBUS_SERVER_FLAGS 639s # ENUMPREFIX: G 639s # enumsince: 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 639s ok 2 __main__.TestMkenums.test_comma_in_enum_value 639s # tmpdir: /tmp/tmpo2a4k7u3 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmpo2a4k7u3/tmpoky5yhvw.h: 639s # typedef enum { 639s # ENUM_VALUE_WITH_COMMA = ',', 639s # } TestCommaEnum; 639s # 639s # /tmp/tmpo2a4k7u3/tmpg81xv0dv.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpo2a4k7u3/tmpg81xv0dv.template', '/tmp/tmpo2a4k7u3/tmpoky5yhvw.h'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-production 639s # filename: /tmp/tmpo2a4k7u3/tmpoky5yhvw.h 639s # basename: tmpoky5yhvw.h 639s # enumeration-production 639s # EnumName: TestCommaEnum 639s # enum_name: test_comma_enum 639s # ENUMNAME: TEST_COMMA_ENUM 639s # ENUMSHORT: COMMA_ENUM 639s # ENUMPREFIX: TEST 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-header 639s # EnumName: TestCommaEnum 639s # enum_name: test_comma_enum 639s # ENUMNAME: TEST_COMMA_ENUM 639s # ENUMSHORT: COMMA_ENUM 639s # ENUMPREFIX: TEST 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-production 639s # VALUENAME: ENUM_VALUE_WITH_COMMA 639s # valuenick: comma 639s # valuenum: 44 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-tail 639s # EnumName: TestCommaEnum 639s # enum_name: test_comma_enum 639s # ENUMNAME: TEST_COMMA_ENUM 639s # ENUMSHORT: COMMA_ENUM 639s # ENUMPREFIX: TEST 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 639s ok 3 __main__.TestMkenums.test_deprecated_in 639s # tmpdir: /tmp/tmpbwdw7tvj 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmpbwdw7tvj/tmp26th7g9c.h: 639s # typedef enum { 639s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 639s # } GDBusServerFlags; 639s # 639s # /tmp/tmpbwdw7tvj/tmpxdyffmsl.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbwdw7tvj/tmpxdyffmsl.template', '/tmp/tmpbwdw7tvj/tmp26th7g9c.h'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-production 639s # filename: /tmp/tmpbwdw7tvj/tmp26th7g9c.h 639s # basename: tmp26th7g9c.h 639s # enumeration-production 639s # EnumName: GDBusServerFlags 639s # enum_name: g_dbus_server_flags 639s # ENUMNAME: G_DBUS_SERVER_FLAGS 639s # ENUMSHORT: DBUS_SERVER_FLAGS 639s # ENUMPREFIX: G 639s # enumsince: 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # value-header 639s # EnumName: GDBusServerFlags 639s # enum_name: g_dbus_server_flags 639s # ENUMNAME: G_DBUS_SERVER_FLAGS 639s # ENUMSHORT: DBUS_SERVER_FLAGS 639s # ENUMPREFIX: G 639s # enumsince: 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # value-production 639s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 639s # valuenick: user 639s # valuenum: 4 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # value-tail 639s # EnumName: GDBusServerFlags 639s # enum_name: g_dbus_server_flags 639s # ENUMNAME: G_DBUS_SERVER_FLAGS 639s # ENUMSHORT: DBUS_SERVER_FLAGS 639s # ENUMPREFIX: G 639s # enumsince: 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 639s ok 4 __main__.TestMkenums.test_deprecated_in_for 639s # tmpdir: /tmp/tmp1d2mlc87 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmp1d2mlc87/tmpif_1vq5d.h: 639s # typedef enum { 639s # 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) 639s # } GDBusServerFlags; 639s # 639s # /tmp/tmp1d2mlc87/tmpg7sbn_42.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1d2mlc87/tmpg7sbn_42.template', '/tmp/tmp1d2mlc87/tmpif_1vq5d.h'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-production 639s # filename: /tmp/tmp1d2mlc87/tmpif_1vq5d.h 639s # basename: tmpif_1vq5d.h 639s # enumeration-production 639s # EnumName: GDBusServerFlags 639s # enum_name: g_dbus_server_flags 639s # ENUMNAME: G_DBUS_SERVER_FLAGS 639s # ENUMSHORT: DBUS_SERVER_FLAGS 639s # ENUMPREFIX: G 639s # enumsince: 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # value-header 639s # EnumName: GDBusServerFlags 639s # enum_name: g_dbus_server_flags 639s # ENUMNAME: G_DBUS_SERVER_FLAGS 639s # ENUMSHORT: DBUS_SERVER_FLAGS 639s # ENUMPREFIX: G 639s # enumsince: 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # value-production 639s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 639s # valuenick: user 639s # valuenum: 4 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # value-tail 639s # EnumName: GDBusServerFlags 639s # enum_name: g_dbus_server_flags 639s # ENUMNAME: G_DBUS_SERVER_FLAGS 639s # ENUMSHORT: DBUS_SERVER_FLAGS 639s # ENUMPREFIX: G 639s # enumsince: 639s # type: flags 639s # Type: Flags 639s # TYPE: FLAGS 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 639s ok 5 __main__.TestMkenums.test_empty_header 639s # tmpdir: /tmp/tmpwi6vobui 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmpwi6vobui/tmpi9v7qfkz.h: 639s # /tmp/tmpwi6vobui/tmpe5ob9eac.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwi6vobui/tmpe5ob9eac.template', '/tmp/tmpwi6vobui/tmpi9v7qfkz.h'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 639s ok 6 __main__.TestMkenums.test_empty_template 639s # tmpdir: /tmp/tmpvofnjny0 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmpvofnjny0/tmp4fc82vnd.template: 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvofnjny0/tmp4fc82vnd.template'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # 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. */ 639s # 639s # 639s # /* Generated data ends here */ 639s ok 7 __main__.TestMkenums.test_enum_name 639s # tmpdir: /tmp/tmpkt2iwxvu 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmpkt2iwxvu/tmp7tjgw2fh.h: 639s # typedef enum _SomeEnumIdentifier { 639s # ENUM_VALUE 639s # } SomeEnumIdentifier; 639s # 639s # /tmp/tmpkt2iwxvu/tmpjncl2jy5.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkt2iwxvu/tmpjncl2jy5.template', '/tmp/tmpkt2iwxvu/tmp7tjgw2fh.h'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-production 639s # filename: /tmp/tmpkt2iwxvu/tmp7tjgw2fh.h 639s # basename: tmp7tjgw2fh.h 639s # enumeration-production 639s # EnumName: SomeEnumIdentifier 639s # enum_name: some_enum_identifier 639s # ENUMNAME: SOME_ENUM_IDENTIFIER 639s # ENUMSHORT: ENUM_IDENTIFIER 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-header 639s # EnumName: SomeEnumIdentifier 639s # enum_name: some_enum_identifier 639s # ENUMNAME: SOME_ENUM_IDENTIFIER 639s # ENUMSHORT: ENUM_IDENTIFIER 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-production 639s # VALUENAME: ENUM_VALUE 639s # valuenick: value 639s # valuenum: 0 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-tail 639s # EnumName: SomeEnumIdentifier 639s # enum_name: some_enum_identifier 639s # ENUMNAME: SOME_ENUM_IDENTIFIER 639s # ENUMSHORT: ENUM_IDENTIFIER 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 639s ok 8 __main__.TestMkenums.test_enum_private_public 639s # tmpdir: /tmp/tmp09wem50c 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmp09wem50c/tmp_jrc_f70.h: 639s # typedef enum { 639s # ENUM_VALUE_PUBLIC1, 639s # /*< private >*/ 639s # ENUM_VALUE_PRIVATE, 639s # } SomeEnumA 639s # 639s # /tmp/tmp09wem50c/tmpdbfgw3nz.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp09wem50c/tmpdbfgw3nz.template', '/tmp/tmp09wem50c/tmp_jrc_f70.h'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-production 639s # filename: /tmp/tmp09wem50c/tmp_jrc_f70.h 639s # basename: tmp_jrc_f70.h 639s # enumeration-production 639s # EnumName: SomeEnumA 639s # enum_name: some_enum_a 639s # ENUMNAME: SOME_ENUM_A 639s # ENUMSHORT: ENUM_A 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-header 639s # EnumName: SomeEnumA 639s # enum_name: some_enum_a 639s # ENUMNAME: SOME_ENUM_A 639s # ENUMSHORT: ENUM_A 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-production 639s # VALUENAME: ENUM_VALUE_PUBLIC1 639s # valuenick: public1 639s # valuenum: 0 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-tail 639s # EnumName: SomeEnumA 639s # enum_name: some_enum_a 639s # ENUMNAME: SOME_ENUM_A 639s # ENUMSHORT: ENUM_A 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 639s # /tmp/tmp09wem50c/tmpc8sny4ha.h: 639s # typedef enum { 639s # /*< private >*/ 639s # ENUM_VALUE_PRIVATE, 639s # /*< public >*/ 639s # ENUM_VALUE_PUBLIC2, 639s # } SomeEnumB; 639s # 639s # /tmp/tmp09wem50c/tmp5bxwzpvo.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp09wem50c/tmp5bxwzpvo.template', '/tmp/tmp09wem50c/tmpc8sny4ha.h'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-production 639s # filename: /tmp/tmp09wem50c/tmpc8sny4ha.h 639s # basename: tmpc8sny4ha.h 639s # enumeration-production 639s # EnumName: SomeEnumB 639s # enum_name: some_enum_b 639s # ENUMNAME: SOME_ENUM_B 639s # ENUMSHORT: ENUM_B 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-header 639s # EnumName: SomeEnumB 639s # enum_name: some_enum_b 639s # ENUMNAME: SOME_ENUM_B 639s # ENUMSHORT: ENUM_B 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-production 639s # VALUENAME: ENUM_VALUE_PUBLIC2 639s # valuenick: public2 639s # valuenum: 1 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-tail 639s # EnumName: SomeEnumB 639s # enum_name: some_enum_b 639s # ENUMNAME: SOME_ENUM_B 639s # ENUMSHORT: ENUM_B 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 639s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 639s # tmpdir: /tmp/tmpucn_yxhw 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmpucn_yxhw/tmpv1g34mil.h: 639s # typedef enum { 639s # /*< private >*/ 639s # ENUM_VALUE_PRIVATE = 5, 639s # /*< public >*/ 639s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 639s # } TestSymbolicEnum; 639s # 639s # /tmp/tmpucn_yxhw/tmpxdmeq7z0.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpucn_yxhw/tmpxdmeq7z0.template', '/tmp/tmpucn_yxhw/tmpv1g34mil.h'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-production 639s # filename: /tmp/tmpucn_yxhw/tmpv1g34mil.h 639s # basename: tmpv1g34mil.h 639s # enumeration-production 639s # EnumName: TestSymbolicEnum 639s # enum_name: test_symbolic_enum 639s # ENUMNAME: TEST_SYMBOLIC_ENUM 639s # ENUMSHORT: SYMBOLIC_ENUM 639s # ENUMPREFIX: TEST 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-header 639s # EnumName: TestSymbolicEnum 639s # enum_name: test_symbolic_enum 639s # ENUMNAME: TEST_SYMBOLIC_ENUM 639s # ENUMSHORT: SYMBOLIC_ENUM 639s # ENUMPREFIX: TEST 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-production 639s # VALUENAME: ENUM_VALUE_PUBLIC 639s # valuenick: public 639s # valuenum: 7 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-tail 639s # EnumName: TestSymbolicEnum 639s # enum_name: test_symbolic_enum 639s # ENUMNAME: TEST_SYMBOLIC_ENUM 639s # ENUMSHORT: SYMBOLIC_ENUM 639s # ENUMPREFIX: TEST 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 639s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 639s # tmpdir: /tmp/tmpyr_hzdil 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmpyr_hzdil/tmpyozxjnoo.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-tail ***/ 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyr_hzdil/tmpyozxjnoo.template'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # filename: @filename@ 639s # basename: @basename@ 639s # file-tail 639s # filename: @filename@ 639s # basename: @basename@ 639s # 639s # comment 639s # comment: Generated data ends here 639s ok 11 __main__.TestMkenums.test_help 639s # tmpdir: /tmp/tmpgmtd_1rb 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # Running: ['/usr/bin/glib-mkenums', '--help'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 639s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 639s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 639s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 639s # [--comments COMMENT_TMPL] [--template TEMPLATE] 639s # [--output OUTPUT] [--version] 639s # [args ...] 639s # 639s # positional arguments: 639s # args One or more input files, or a single argument 639s # @rspfile_path pointing to a file that contains the 639s # actual arguments 639s # 639s # options: 639s # -h, --help show this help message and exit 639s # --identifier-prefix IDPREFIX 639s # Identifier prefix 639s # --symbol-prefix SYMPREFIX 639s # Symbol prefix 639s # --fhead FHEAD Output file header 639s # --ftail FTAIL Output file footer 639s # --fprod FPROD Put out TEXT every time a new input file is being 639s # processed. 639s # --eprod EPROD Per enum text, produced prior to value iterations 639s # --vhead VHEAD Value header, produced before iterating over enum 639s # values 639s # --vprod VPROD Value text, produced for each enum value. 639s # --vtail VTAIL Value tail, produced after iterating over enum values 639s # --comments COMMENT_TMPL 639s # Comment structure 639s # --template TEMPLATE Template file 639s # --output OUTPUT 639s # --version, -v Print version information 639s # 639s # Production text substitutions: 639s # @EnumName@ PrefixTheXEnum 639s # @enum_name@ prefix_the_xenum 639s # @ENUMNAME@ PREFIX_THE_XENUM 639s # @ENUMSHORT@ THE_XENUM 639s # @ENUMPREFIX@ PREFIX 639s # @enumsince@ the user-provided since value given 639s # @VALUENAME@ PREFIX_THE_XVALUE 639s # @valuenick@ the-xvalue 639s # @valuenum@ the integer value (limited support, Since: 2.26) 639s # @type@ either enum or flags 639s # @Type@ either Enum or Flags 639s # @TYPE@ either ENUM or FLAGS 639s # @filename@ name of current input file 639s # @basename@ base name of the current input file (Since: 2.22) 639s ok 12 __main__.TestMkenums.test_no_args 639s # tmpdir: /tmp/tmpv6fr24fg 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # Running: ['/usr/bin/glib-mkenums'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # 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. */ 639s # 639s # 639s # /* Generated data ends here */ 639s ok 13 __main__.TestMkenums.test_no_headers 639s # tmpdir: /tmp/tmpgng_h5vm 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmpgng_h5vm/tmpzf72z_4k.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgng_h5vm/tmpzf72z_4k.template'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 639s ok 14 __main__.TestMkenums.test_no_nick 639s # tmpdir: /tmp/tmp3wzxn9h2 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmp3wzxn9h2/tmp031ndrk_.h: 639s # typedef enum { 639s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 639s # } GeglSamplerType; 639s # 639s # /tmp/tmp3wzxn9h2/tmpibfrukeq.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3wzxn9h2/tmpibfrukeq.template', '/tmp/tmp3wzxn9h2/tmp031ndrk_.h'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-production 639s # filename: /tmp/tmp3wzxn9h2/tmp031ndrk_.h 639s # basename: tmp031ndrk_.h 639s # enumeration-production 639s # EnumName: GeglSamplerType 639s # enum_name: gegl_sampler_type 639s # ENUMNAME: GEGL_SAMPLER_TYPE 639s # ENUMSHORT: SAMPLER_TYPE 639s # ENUMPREFIX: GEGL 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-header 639s # EnumName: GeglSamplerType 639s # enum_name: gegl_sampler_type 639s # ENUMNAME: GEGL_SAMPLER_TYPE 639s # ENUMSHORT: SAMPLER_TYPE 639s # ENUMPREFIX: GEGL 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-production 639s # VALUENAME: GEGL_SAMPLER_NEAREST 639s # valuenick: nearest 639s # valuenum: 0 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-tail 639s # EnumName: GeglSamplerType 639s # enum_name: gegl_sampler_type 639s # ENUMNAME: GEGL_SAMPLER_TYPE 639s # ENUMSHORT: SAMPLER_TYPE 639s # ENUMPREFIX: GEGL 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 639s ok 15 __main__.TestMkenums.test_non_utf8_encoding 639s # tmpdir: /tmp/tmpwekcsl3h 639s # rspfile: False, mkenums: /usr/bin/glib-mkenums 639s # /tmp/tmpwekcsl3h/tmpaavuq0n3.h: 639s # /* Copyright © La Peña */ 639s # typedef enum { 639s # ENUM_VALUE 639s # } SomeEnumIdentifier; 639s # 639s # /tmp/tmpwekcsl3h/tmpmd0osq_6.template: 639s # /*** BEGIN file-header ***/ 639s # file-header 639s # /*** END file-header ***/ 639s # 639s # /*** BEGIN file-production ***/ 639s # file-production 639s # filename: @filename@ 639s # basename: @basename@ 639s # /*** END file-production ***/ 639s # 639s # /*** BEGIN enumeration-production ***/ 639s # enumeration-production 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END enumeration-production ***/ 639s # 639s # /*** BEGIN value-header ***/ 639s # value-header 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-header ***/ 639s # 639s # /*** BEGIN value-production ***/ 639s # value-production 639s # VALUENAME: @VALUENAME@ 639s # valuenick: @valuenick@ 639s # valuenum: @valuenum@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-production ***/ 639s # 639s # /*** BEGIN value-tail ***/ 639s # value-tail 639s # EnumName: @EnumName@ 639s # enum_name: @enum_name@ 639s # ENUMNAME: @ENUMNAME@ 639s # ENUMSHORT: @ENUMSHORT@ 639s # ENUMPREFIX: @ENUMPREFIX@ 639s # enumsince: @enumsince@ 639s # type: @type@ 639s # Type: @Type@ 639s # TYPE: @TYPE@ 639s # /*** END value-tail ***/ 639s # 639s # /*** BEGIN comment ***/ 639s # comment 639s # comment: @comment@ 639s # /*** END comment ***/ 639s # 639s # /*** BEGIN file-tail ***/ 639s # file-tail 639s # /*** END file-tail ***/ 639s # 639s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwekcsl3h/tmpmd0osq_6.template', '/tmp/tmpwekcsl3h/tmpaavuq0n3.h'] 639s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 639s # Output: comment 639s # 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. 639s # 639s # 639s # file-header 639s # file-production 639s # filename: /tmp/tmpwekcsl3h/tmpaavuq0n3.h 639s # basename: tmpaavuq0n3.h 639s # enumeration-production 639s # EnumName: SomeEnumIdentifier 639s # enum_name: some_enum_identifier 639s # ENUMNAME: SOME_ENUM_IDENTIFIER 639s # ENUMSHORT: ENUM_IDENTIFIER 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-header 639s # EnumName: SomeEnumIdentifier 639s # enum_name: some_enum_identifier 639s # ENUMNAME: SOME_ENUM_IDENTIFIER 639s # ENUMSHORT: ENUM_IDENTIFIER 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-production 639s # VALUENAME: ENUM_VALUE 639s # valuenick: value 639s # valuenum: 0 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # value-tail 639s # EnumName: SomeEnumIdentifier 639s # enum_name: some_enum_identifier 639s # ENUMNAME: SOME_ENUM_IDENTIFIER 639s # ENUMSHORT: ENUM_IDENTIFIER 639s # ENUMPREFIX: SOME 639s # enumsince: 639s # type: enum 639s # Type: Enum 639s # TYPE: ENUM 639s # file-tail 639s # 639s # comment 639s # comment: Generated data ends here 640s ok 16 __main__.TestMkenums.test_reproducible 640s # tmpdir: /tmp/tmpn8lty84t 640s # rspfile: False, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpn8lty84t/tmpemll8dny.template: template 640s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn8lty84t/tmpemll8dny.template', '/tmp/tmpn8lty84t/tmp3ewad58r1.h', '/tmp/tmpn8lty84t/tmp6a4tut212.h'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # 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. */ 640s # 640s # 640s # /* Generated data ends here */ 640s # /tmp/tmpn8lty84t/tmpd_jm8o_x.template: template 640s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn8lty84t/tmpd_jm8o_x.template', '/tmp/tmpn8lty84t/tmp6a4tut212.h', '/tmp/tmpn8lty84t/tmp3ewad58r1.h'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # 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. */ 640s # 640s # 640s # /* Generated data ends here */ 640s ok 17 __main__.TestMkenums.test_since 640s # tmpdir: /tmp/tmpx69gnpzr 640s # rspfile: False, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpx69gnpzr/tmps1pqyuqd.h: 640s # typedef enum { /*< since=1.0 >*/ 640s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 640s # } QmiWmsMessageProtocol; 640s # 640s # /tmp/tmpx69gnpzr/tmp4i1vqwsc.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx69gnpzr/tmp4i1vqwsc.template', '/tmp/tmpx69gnpzr/tmps1pqyuqd.h'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmpx69gnpzr/tmps1pqyuqd.h 640s # basename: tmps1pqyuqd.h 640s # enumeration-production 640s # EnumName: QmiWmsMessageProtocol 640s # enum_name: qmi_wms_message_protocol 640s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 640s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 640s # ENUMPREFIX: QMI 640s # enumsince: 1.0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-header 640s # EnumName: QmiWmsMessageProtocol 640s # enum_name: qmi_wms_message_protocol 640s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 640s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 640s # ENUMPREFIX: QMI 640s # enumsince: 1.0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-production 640s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 640s # valuenick: cdma 640s # valuenum: 0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-tail 640s # EnumName: QmiWmsMessageProtocol 640s # enum_name: qmi_wms_message_protocol 640s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 640s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 640s # ENUMPREFIX: QMI 640s # enumsince: 1.0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 18 __main__.TestMkenums.test_with_double_quotes 640s # tmpdir: /tmp/tmp_01fgytw 640s # rspfile: False, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmp_01fgytw/tmpkd0fojys.h: 640s # typedef enum { 640s # FOO_VALUE /*< nick="eek, a comma" >*/ 640s # } Foo; 640s # 640s # /tmp/tmp_01fgytw/tmp022ocxdd.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_01fgytw/tmp022ocxdd.template', '/tmp/tmp_01fgytw/tmpkd0fojys.h'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmp_01fgytw/tmpkd0fojys.h 640s # basename: tmpkd0fojys.h 640s # enumeration-production 640s # EnumName: Foo 640s # enum_name: foo_ 640s # ENUMNAME: FOO_ 640s # ENUMSHORT: 640s # ENUMPREFIX: FOO 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-header 640s # EnumName: Foo 640s # enum_name: foo_ 640s # ENUMNAME: FOO_ 640s # ENUMSHORT: 640s # ENUMPREFIX: FOO 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-production 640s # VALUENAME: FOO_VALUE 640s # valuenick: eek, a comma 640s # valuenum: 0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-tail 640s # EnumName: Foo 640s # enum_name: foo_ 640s # ENUMNAME: FOO_ 640s # ENUMSHORT: 640s # ENUMPREFIX: FOO 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s # Executing: glib/mkenums.py.test 640s ok 19 __main__.TestRspMkenums.test_available_in 640s # tmpdir: /tmp/tmpvxmu9f6c 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpvxmu9f6c/tmpcjdtf5le.h: 640s # typedef enum { 640s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 640s # } GDBusServerFlags; 640s # 640s # /tmp/tmpvxmu9f6c/tmp7rjtyvl_.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmpvxmu9f6c/tmp7rjtyvl_.template /tmp/tmpvxmu9f6c/tmpcjdtf5le.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvxmu9f6c/tmpn8_yqu80'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmpvxmu9f6c/tmpcjdtf5le.h 640s # basename: tmpcjdtf5le.h 640s # enumeration-production 640s # EnumName: GDBusServerFlags 640s # enum_name: g_dbus_server_flags 640s # ENUMNAME: G_DBUS_SERVER_FLAGS 640s # ENUMSHORT: DBUS_SERVER_FLAGS 640s # ENUMPREFIX: G 640s # enumsince: 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # value-header 640s # EnumName: GDBusServerFlags 640s # enum_name: g_dbus_server_flags 640s # ENUMNAME: G_DBUS_SERVER_FLAGS 640s # ENUMSHORT: DBUS_SERVER_FLAGS 640s # ENUMPREFIX: G 640s # enumsince: 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # value-production 640s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 640s # valuenick: user 640s # valuenum: 4 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # value-tail 640s # EnumName: GDBusServerFlags 640s # enum_name: g_dbus_server_flags 640s # ENUMNAME: G_DBUS_SERVER_FLAGS 640s # ENUMSHORT: DBUS_SERVER_FLAGS 640s # ENUMPREFIX: G 640s # enumsince: 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 640s # tmpdir: /tmp/tmpna6zp9ls 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpna6zp9ls/tmpy_y2dx7c.h: 640s # typedef enum { 640s # ENUM_VALUE_WITH_COMMA = ',', 640s # } TestCommaEnum; 640s # 640s # /tmp/tmpna6zp9ls/tmpkb7iilrd.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmpna6zp9ls/tmpkb7iilrd.template /tmp/tmpna6zp9ls/tmpy_y2dx7c.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpna6zp9ls/tmp_ctfq392'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmpna6zp9ls/tmpy_y2dx7c.h 640s # basename: tmpy_y2dx7c.h 640s # enumeration-production 640s # EnumName: TestCommaEnum 640s # enum_name: test_comma_enum 640s # ENUMNAME: TEST_COMMA_ENUM 640s # ENUMSHORT: COMMA_ENUM 640s # ENUMPREFIX: TEST 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-header 640s # EnumName: TestCommaEnum 640s # enum_name: test_comma_enum 640s # ENUMNAME: TEST_COMMA_ENUM 640s # ENUMSHORT: COMMA_ENUM 640s # ENUMPREFIX: TEST 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-production 640s # VALUENAME: ENUM_VALUE_WITH_COMMA 640s # valuenick: comma 640s # valuenum: 44 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-tail 640s # EnumName: TestCommaEnum 640s # enum_name: test_comma_enum 640s # ENUMNAME: TEST_COMMA_ENUM 640s # ENUMSHORT: COMMA_ENUM 640s # ENUMPREFIX: TEST 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 21 __main__.TestRspMkenums.test_deprecated_in 640s # tmpdir: /tmp/tmp9kecw7et 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmp9kecw7et/tmp2wfc1u8w.h: 640s # typedef enum { 640s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 640s # } GDBusServerFlags; 640s # 640s # /tmp/tmp9kecw7et/tmp6e7q_552.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmp9kecw7et/tmp6e7q_552.template /tmp/tmp9kecw7et/tmp2wfc1u8w.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp9kecw7et/tmp8a4z29eo'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmp9kecw7et/tmp2wfc1u8w.h 640s # basename: tmp2wfc1u8w.h 640s # enumeration-production 640s # EnumName: GDBusServerFlags 640s # enum_name: g_dbus_server_flags 640s # ENUMNAME: G_DBUS_SERVER_FLAGS 640s # ENUMSHORT: DBUS_SERVER_FLAGS 640s # ENUMPREFIX: G 640s # enumsince: 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # value-header 640s # EnumName: GDBusServerFlags 640s # enum_name: g_dbus_server_flags 640s # ENUMNAME: G_DBUS_SERVER_FLAGS 640s # ENUMSHORT: DBUS_SERVER_FLAGS 640s # ENUMPREFIX: G 640s # enumsince: 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # value-production 640s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 640s # valuenick: user 640s # valuenum: 4 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # value-tail 640s # EnumName: GDBusServerFlags 640s # enum_name: g_dbus_server_flags 640s # ENUMNAME: G_DBUS_SERVER_FLAGS 640s # ENUMSHORT: DBUS_SERVER_FLAGS 640s # ENUMPREFIX: G 640s # enumsince: 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 640s # tmpdir: /tmp/tmpk699ledn 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpk699ledn/tmpj8mfjci7.h: 640s # typedef enum { 640s # 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) 640s # } GDBusServerFlags; 640s # 640s # /tmp/tmpk699ledn/tmpzt5o2zpp.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmpk699ledn/tmpzt5o2zpp.template /tmp/tmpk699ledn/tmpj8mfjci7.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpk699ledn/tmp0ux_y87i'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmpk699ledn/tmpj8mfjci7.h 640s # basename: tmpj8mfjci7.h 640s # enumeration-production 640s # EnumName: GDBusServerFlags 640s # enum_name: g_dbus_server_flags 640s # ENUMNAME: G_DBUS_SERVER_FLAGS 640s # ENUMSHORT: DBUS_SERVER_FLAGS 640s # ENUMPREFIX: G 640s # enumsince: 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # value-header 640s # EnumName: GDBusServerFlags 640s # enum_name: g_dbus_server_flags 640s # ENUMNAME: G_DBUS_SERVER_FLAGS 640s # ENUMSHORT: DBUS_SERVER_FLAGS 640s # ENUMPREFIX: G 640s # enumsince: 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # value-production 640s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 640s # valuenick: user 640s # valuenum: 4 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # value-tail 640s # EnumName: GDBusServerFlags 640s # enum_name: g_dbus_server_flags 640s # ENUMNAME: G_DBUS_SERVER_FLAGS 640s # ENUMSHORT: DBUS_SERVER_FLAGS 640s # ENUMPREFIX: G 640s # enumsince: 640s # type: flags 640s # Type: Flags 640s # TYPE: FLAGS 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 23 __main__.TestRspMkenums.test_empty_header 640s # tmpdir: /tmp/tmpy0tt3ggm 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpy0tt3ggm/tmpged88m4r.h: 640s # /tmp/tmpy0tt3ggm/tmp982p626s.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmpy0tt3ggm/tmp982p626s.template /tmp/tmpy0tt3ggm/tmpged88m4r.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpy0tt3ggm/tmpo_wxzdd0'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 24 __main__.TestRspMkenums.test_empty_template 640s # tmpdir: /tmp/tmp__8admq_ 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmp__8admq_/tmpfc028aup.template: 640s # Response file contains: --template /tmp/tmp__8admq_/tmpfc028aup.template 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp__8admq_/tmp24aots0w'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # 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. */ 640s # 640s # 640s # /* Generated data ends here */ 640s ok 25 __main__.TestRspMkenums.test_enum_name 640s # tmpdir: /tmp/tmp8zus7k3u 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmp8zus7k3u/tmpfvvp8f0s.h: 640s # typedef enum _SomeEnumIdentifier { 640s # ENUM_VALUE 640s # } SomeEnumIdentifier; 640s # 640s # /tmp/tmp8zus7k3u/tmpr1r0b5hg.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmp8zus7k3u/tmpr1r0b5hg.template /tmp/tmp8zus7k3u/tmpfvvp8f0s.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8zus7k3u/tmp72fvgo5e'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmp8zus7k3u/tmpfvvp8f0s.h 640s # basename: tmpfvvp8f0s.h 640s # enumeration-production 640s # EnumName: SomeEnumIdentifier 640s # enum_name: some_enum_identifier 640s # ENUMNAME: SOME_ENUM_IDENTIFIER 640s # ENUMSHORT: ENUM_IDENTIFIER 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-header 640s # EnumName: SomeEnumIdentifier 640s # enum_name: some_enum_identifier 640s # ENUMNAME: SOME_ENUM_IDENTIFIER 640s # ENUMSHORT: ENUM_IDENTIFIER 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-production 640s # VALUENAME: ENUM_VALUE 640s # valuenick: value 640s # valuenum: 0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-tail 640s # EnumName: SomeEnumIdentifier 640s # enum_name: some_enum_identifier 640s # ENUMNAME: SOME_ENUM_IDENTIFIER 640s # ENUMSHORT: ENUM_IDENTIFIER 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 26 __main__.TestRspMkenums.test_enum_private_public 640s # tmpdir: /tmp/tmpo42gzr31 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpo42gzr31/tmpup68mz3a.h: 640s # typedef enum { 640s # ENUM_VALUE_PUBLIC1, 640s # /*< private >*/ 640s # ENUM_VALUE_PRIVATE, 640s # } SomeEnumA 640s # 640s # /tmp/tmpo42gzr31/tmp03cxajyr.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmpo42gzr31/tmp03cxajyr.template /tmp/tmpo42gzr31/tmpup68mz3a.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpo42gzr31/tmpmydh93bq'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmpo42gzr31/tmpup68mz3a.h 640s # basename: tmpup68mz3a.h 640s # enumeration-production 640s # EnumName: SomeEnumA 640s # enum_name: some_enum_a 640s # ENUMNAME: SOME_ENUM_A 640s # ENUMSHORT: ENUM_A 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-header 640s # EnumName: SomeEnumA 640s # enum_name: some_enum_a 640s # ENUMNAME: SOME_ENUM_A 640s # ENUMSHORT: ENUM_A 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-production 640s # VALUENAME: ENUM_VALUE_PUBLIC1 640s # valuenick: public1 640s # valuenum: 0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-tail 640s # EnumName: SomeEnumA 640s # enum_name: some_enum_a 640s # ENUMNAME: SOME_ENUM_A 640s # ENUMSHORT: ENUM_A 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s # /tmp/tmpo42gzr31/tmpnzxl0pj0.h: 640s # typedef enum { 640s # /*< private >*/ 640s # ENUM_VALUE_PRIVATE, 640s # /*< public >*/ 640s # ENUM_VALUE_PUBLIC2, 640s # } SomeEnumB; 640s # 640s # /tmp/tmpo42gzr31/tmppqm3ea3u.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmpo42gzr31/tmppqm3ea3u.template /tmp/tmpo42gzr31/tmpnzxl0pj0.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpo42gzr31/tmp_p7ccxnb'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmpo42gzr31/tmpnzxl0pj0.h 640s # basename: tmpnzxl0pj0.h 640s # enumeration-production 640s # EnumName: SomeEnumB 640s # enum_name: some_enum_b 640s # ENUMNAME: SOME_ENUM_B 640s # ENUMSHORT: ENUM_B 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-header 640s # EnumName: SomeEnumB 640s # enum_name: some_enum_b 640s # ENUMNAME: SOME_ENUM_B 640s # ENUMSHORT: ENUM_B 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-production 640s # VALUENAME: ENUM_VALUE_PUBLIC2 640s # valuenick: public2 640s # valuenum: 1 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-tail 640s # EnumName: SomeEnumB 640s # enum_name: some_enum_b 640s # ENUMNAME: SOME_ENUM_B 640s # ENUMSHORT: ENUM_B 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 640s # tmpdir: /tmp/tmpwp4h9oy8 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpwp4h9oy8/tmpjuou7pyd.h: 640s # typedef enum { 640s # /*< private >*/ 640s # ENUM_VALUE_PRIVATE = 5, 640s # /*< public >*/ 640s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 640s # } TestSymbolicEnum; 640s # 640s # /tmp/tmpwp4h9oy8/tmpvv6e6ozg.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmpwp4h9oy8/tmpvv6e6ozg.template /tmp/tmpwp4h9oy8/tmpjuou7pyd.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwp4h9oy8/tmplpgm4sa_'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmpwp4h9oy8/tmpjuou7pyd.h 640s # basename: tmpjuou7pyd.h 640s # enumeration-production 640s # EnumName: TestSymbolicEnum 640s # enum_name: test_symbolic_enum 640s # ENUMNAME: TEST_SYMBOLIC_ENUM 640s # ENUMSHORT: SYMBOLIC_ENUM 640s # ENUMPREFIX: TEST 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-header 640s # EnumName: TestSymbolicEnum 640s # enum_name: test_symbolic_enum 640s # ENUMNAME: TEST_SYMBOLIC_ENUM 640s # ENUMSHORT: SYMBOLIC_ENUM 640s # ENUMPREFIX: TEST 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-production 640s # VALUENAME: ENUM_VALUE_PUBLIC 640s # valuenick: public 640s # valuenum: 7 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-tail 640s # EnumName: TestSymbolicEnum 640s # enum_name: test_symbolic_enum 640s # ENUMNAME: TEST_SYMBOLIC_ENUM 640s # ENUMSHORT: SYMBOLIC_ENUM 640s # ENUMPREFIX: TEST 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 640s # tmpdir: /tmp/tmphm410gd2 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmphm410gd2/tmpglt24jz4.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-tail ***/ 640s # Response file contains: --template /tmp/tmphm410gd2/tmpglt24jz4.template 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphm410gd2/tmp0hvunqj8'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # filename: @filename@ 640s # basename: @basename@ 640s # file-tail 640s # filename: @filename@ 640s # basename: @basename@ 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 29 __main__.TestRspMkenums.test_help 640s # tmpdir: /tmp/tmpuyevs0y9 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # Response file contains: --help 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpuyevs0y9/tmp31tx4f0z'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 640s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 640s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 640s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 640s # [--comments COMMENT_TMPL] [--template TEMPLATE] 640s # [--output OUTPUT] [--version] 640s # [args ...] 640s # 640s # positional arguments: 640s # args One or more input files, or a single argument 640s # @rspfile_path pointing to a file that contains the 640s # actual arguments 640s # 640s # options: 640s # -h, --help show this help message and exit 640s # --identifier-prefix IDPREFIX 640s # Identifier prefix 640s # --symbol-prefix SYMPREFIX 640s # Symbol prefix 640s # --fhead FHEAD Output file header 640s # --ftail FTAIL Output file footer 640s # --fprod FPROD Put out TEXT every time a new input file is being 640s # processed. 640s # --eprod EPROD Per enum text, produced prior to value iterations 640s # --vhead VHEAD Value header, produced before iterating over enum 640s # values 640s # --vprod VPROD Value text, produced for each enum value. 640s # --vtail VTAIL Value tail, produced after iterating over enum values 640s # --comments COMMENT_TMPL 640s # Comment structure 640s # --template TEMPLATE Template file 640s # --output OUTPUT 640s # --version, -v Print version information 640s # 640s # Production text substitutions: 640s # @EnumName@ PrefixTheXEnum 640s # @enum_name@ prefix_the_xenum 640s # @ENUMNAME@ PREFIX_THE_XENUM 640s # @ENUMSHORT@ THE_XENUM 640s # @ENUMPREFIX@ PREFIX 640s # @enumsince@ the user-provided since value given 640s # @VALUENAME@ PREFIX_THE_XVALUE 640s # @valuenick@ the-xvalue 640s # @valuenum@ the integer value (limited support, Since: 2.26) 640s # @type@ either enum or flags 640s # @Type@ either Enum or Flags 640s # @TYPE@ either ENUM or FLAGS 640s # @filename@ name of current input file 640s # @basename@ base name of the current input file (Since: 2.22) 640s ok 30 __main__.TestRspMkenums.test_no_args 640s # tmpdir: /tmp/tmp76xya6i3 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # Response file contains: 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp76xya6i3/tmpqftyiw0p'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # 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. */ 640s # 640s # 640s # /* Generated data ends here */ 640s ok 31 __main__.TestRspMkenums.test_no_headers 640s # tmpdir: /tmp/tmpr05vwtx0 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpr05vwtx0/tmpz2eh4dgq.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmpr05vwtx0/tmpz2eh4dgq.template 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpr05vwtx0/tmpcpjkukhy'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 32 __main__.TestRspMkenums.test_no_nick 640s # tmpdir: /tmp/tmpchjvyl8w 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpchjvyl8w/tmpiqp0hc78.h: 640s # typedef enum { 640s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 640s # } GeglSamplerType; 640s # 640s # /tmp/tmpchjvyl8w/tmpin7rzoam.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmpchjvyl8w/tmpin7rzoam.template /tmp/tmpchjvyl8w/tmpiqp0hc78.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpchjvyl8w/tmpghcf26qa'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmpchjvyl8w/tmpiqp0hc78.h 640s # basename: tmpiqp0hc78.h 640s # enumeration-production 640s # EnumName: GeglSamplerType 640s # enum_name: gegl_sampler_type 640s # ENUMNAME: GEGL_SAMPLER_TYPE 640s # ENUMSHORT: SAMPLER_TYPE 640s # ENUMPREFIX: GEGL 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-header 640s # EnumName: GeglSamplerType 640s # enum_name: gegl_sampler_type 640s # ENUMNAME: GEGL_SAMPLER_TYPE 640s # ENUMSHORT: SAMPLER_TYPE 640s # ENUMPREFIX: GEGL 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-production 640s # VALUENAME: GEGL_SAMPLER_NEAREST 640s # valuenick: nearest 640s # valuenum: 0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-tail 640s # EnumName: GeglSamplerType 640s # enum_name: gegl_sampler_type 640s # ENUMNAME: GEGL_SAMPLER_TYPE 640s # ENUMSHORT: SAMPLER_TYPE 640s # ENUMPREFIX: GEGL 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 640s # tmpdir: /tmp/tmp_9hv_lrk 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmp_9hv_lrk/tmpk9fm4dst.h: 640s # /* Copyright © La Peña */ 640s # typedef enum { 640s # ENUM_VALUE 640s # } SomeEnumIdentifier; 640s # 640s # /tmp/tmp_9hv_lrk/tmps4swysz9.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmp_9hv_lrk/tmps4swysz9.template /tmp/tmp_9hv_lrk/tmpk9fm4dst.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_9hv_lrk/tmp8piwar0v'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmp_9hv_lrk/tmpk9fm4dst.h 640s # basename: tmpk9fm4dst.h 640s # enumeration-production 640s # EnumName: SomeEnumIdentifier 640s # enum_name: some_enum_identifier 640s # ENUMNAME: SOME_ENUM_IDENTIFIER 640s # ENUMSHORT: ENUM_IDENTIFIER 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-header 640s # EnumName: SomeEnumIdentifier 640s # enum_name: some_enum_identifier 640s # ENUMNAME: SOME_ENUM_IDENTIFIER 640s # ENUMSHORT: ENUM_IDENTIFIER 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-production 640s # VALUENAME: ENUM_VALUE 640s # valuenick: value 640s # valuenum: 0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-tail 640s # EnumName: SomeEnumIdentifier 640s # enum_name: some_enum_identifier 640s # ENUMNAME: SOME_ENUM_IDENTIFIER 640s # ENUMSHORT: ENUM_IDENTIFIER 640s # ENUMPREFIX: SOME 640s # enumsince: 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 640s ok 34 __main__.TestRspMkenums.test_reproducible 640s # tmpdir: /tmp/tmpi1_gnokb 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpi1_gnokb/tmp2rtf5809.template: template 640s # Response file contains: --template /tmp/tmpi1_gnokb/tmp2rtf5809.template /tmp/tmpi1_gnokb/tmp2fawzefl1.h /tmp/tmpi1_gnokb/tmp2ksa0sk42.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi1_gnokb/tmpaeini86m'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # 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. */ 640s # 640s # 640s # /* Generated data ends here */ 640s # /tmp/tmpi1_gnokb/tmpx6fzjsfu.template: template 640s # Response file contains: --template /tmp/tmpi1_gnokb/tmpx6fzjsfu.template /tmp/tmpi1_gnokb/tmp2ksa0sk42.h /tmp/tmpi1_gnokb/tmp2fawzefl1.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi1_gnokb/tmpthkh7x72'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # 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. */ 640s # 640s # 640s # /* Generated data ends here */ 640s ok 35 __main__.TestRspMkenums.test_since 640s # tmpdir: /tmp/tmpx3socyzu 640s # rspfile: True, mkenums: /usr/bin/glib-mkenums 640s # /tmp/tmpx3socyzu/tmpmpv9pays.h: 640s # typedef enum { /*< since=1.0 >*/ 640s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 640s # } QmiWmsMessageProtocol; 640s # 640s # /tmp/tmpx3socyzu/tmpz0fnckb9.template: 640s # /*** BEGIN file-header ***/ 640s # file-header 640s # /*** END file-header ***/ 640s # 640s # /*** BEGIN file-production ***/ 640s # file-production 640s # filename: @filename@ 640s # basename: @basename@ 640s # /*** END file-production ***/ 640s # 640s # /*** BEGIN enumeration-production ***/ 640s # enumeration-production 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END enumeration-production ***/ 640s # 640s # /*** BEGIN value-header ***/ 640s # value-header 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-header ***/ 640s # 640s # /*** BEGIN value-production ***/ 640s # value-production 640s # VALUENAME: @VALUENAME@ 640s # valuenick: @valuenick@ 640s # valuenum: @valuenum@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-production ***/ 640s # 640s # /*** BEGIN value-tail ***/ 640s # value-tail 640s # EnumName: @EnumName@ 640s # enum_name: @enum_name@ 640s # ENUMNAME: @ENUMNAME@ 640s # ENUMSHORT: @ENUMSHORT@ 640s # ENUMPREFIX: @ENUMPREFIX@ 640s # enumsince: @enumsince@ 640s # type: @type@ 640s # Type: @Type@ 640s # TYPE: @TYPE@ 640s # /*** END value-tail ***/ 640s # 640s # /*** BEGIN comment ***/ 640s # comment 640s # comment: @comment@ 640s # /*** END comment ***/ 640s # 640s # /*** BEGIN file-tail ***/ 640s # file-tail 640s # /*** END file-tail ***/ 640s # 640s # Response file contains: --template /tmp/tmpx3socyzu/tmpz0fnckb9.template /tmp/tmpx3socyzu/tmpmpv9pays.h 640s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpx3socyzu/tmpnl5rm4os'] 640s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 640s # Output: comment 640s # 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. 640s # 640s # 640s # file-header 640s # file-production 640s # filename: /tmp/tmpx3socyzu/tmpmpv9pays.h 640s # basename: tmpmpv9pays.h 640s # enumeration-production 640s # EnumName: QmiWmsMessageProtocol 640s # enum_name: qmi_wms_message_protocol 640s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 640s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 640s # ENUMPREFIX: QMI 640s # enumsince: 1.0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-header 640s # EnumName: QmiWmsMessageProtocol 640s # enum_name: qmi_wms_message_protocol 640s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 640s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 640s # ENUMPREFIX: QMI 640s # enumsince: 1.0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-production 640s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 640s # valuenick: cdma 640s # valuenum: 0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # value-tail 640s # EnumName: QmiWmsMessageProtocol 640s # enum_name: qmi_wms_message_protocol 640s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 640s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 640s # ENUMPREFIX: QMI 640s # enumsince: 1.0 640s # type: enum 640s # Type: Enum 640s # TYPE: ENUM 640s # file-tail 640s # 640s # comment 640s # comment: Generated data ends here 641s ok 36 __main__.TestRspMkenums.test_with_double_quotes 641s # tmpdir: /tmp/tmpj0jcyjjf 641s # rspfile: True, mkenums: /usr/bin/glib-mkenums 641s # /tmp/tmpj0jcyjjf/tmpp__ymmp8.h: 641s # typedef enum { 641s # FOO_VALUE /*< nick="eek, a comma" >*/ 641s # } Foo; 641s # 641s # /tmp/tmpj0jcyjjf/tmpmgqpj80g.template: 641s # /*** BEGIN file-header ***/ 641s # file-header 641s # /*** END file-header ***/ 641s # 641s # /*** BEGIN file-production ***/ 641s # file-production 641s # filename: @filename@ 641s # basename: @basename@ 641s # /*** END file-production ***/ 641s # 641s # /*** BEGIN enumeration-production ***/ 641s # enumeration-production 641s # EnumName: @EnumName@ 641s # enum_name: @enum_name@ 641s # ENUMNAME: @ENUMNAME@ 641s # ENUMSHORT: @ENUMSHORT@ 641s # ENUMPREFIX: @ENUMPREFIX@ 641s # enumsince: @enumsince@ 641s # type: @type@ 641s # Type: @Type@ 641s # TYPE: @TYPE@ 641s # /*** END enumeration-production ***/ 641s # 641s # /*** BEGIN value-header ***/ 641s # value-header 641s # EnumName: @EnumName@ 641s # enum_name: @enum_name@ 641s # ENUMNAME: @ENUMNAME@ 641s # ENUMSHORT: @ENUMSHORT@ 641s # ENUMPREFIX: @ENUMPREFIX@ 641s # enumsince: @enumsince@ 641s # type: @type@ 641s # Type: @Type@ 641s # TYPE: @TYPE@ 641s # /*** END value-header ***/ 641s # 641s # /*** BEGIN value-production ***/ 641s # value-production 641s # VALUENAME: @VALUENAME@ 641s # valuenick: @valuenick@ 641s # valuenum: @valuenum@ 641s # type: @type@ 641s # Type: @Type@ 641s # TYPE: @TYPE@ 641s # /*** END value-production ***/ 641s # 641s # /*** BEGIN value-tail ***/ 641s # value-tail 641s # EnumName: @EnumName@ 641s # enum_name: @enum_name@ 641s # ENUMNAME: @ENUMNAME@ 641s # ENUMSHORT: @ENUMSHORT@ 641s # ENUMPREFIX: @ENUMPREFIX@ 641s # enumsince: @enumsince@ 641s # type: @type@ 641s # Type: @Type@ 641s # TYPE: @TYPE@ 641s # /*** END value-tail ***/ 641s # 641s # /*** BEGIN comment ***/ 641s # comment 641s # comment: @comment@ 641s # /*** END comment ***/ 641s # 641s # /*** BEGIN file-tail ***/ 641s # file-tail 641s # /*** END file-tail ***/ 641s # 641s # Response file contains: --template /tmp/tmpj0jcyjjf/tmpmgqpj80g.template /tmp/tmpj0jcyjjf/tmpp__ymmp8.h 641s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpj0jcyjjf/tmpcenou86z'] 641s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 641s # Output: comment 641s # 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. 641s # 641s # 641s # file-header 641s # file-production 641s # filename: /tmp/tmpj0jcyjjf/tmpp__ymmp8.h 641s # basename: tmpp__ymmp8.h 641s # enumeration-production 641s # EnumName: Foo 641s # enum_name: foo_ 641s # ENUMNAME: FOO_ 641s # ENUMSHORT: 641s # ENUMPREFIX: FOO 641s # enumsince: 641s # type: enum 641s # Type: Enum 641s # TYPE: ENUM 641s # value-header 641s # EnumName: Foo 641s # enum_name: foo_ 641s # ENUMNAME: FOO_ 641s # ENUMSHORT: 641s # ENUMPREFIX: FOO 641s # enumsince: 641s # type: enum 641s # Type: Enum 641s # TYPE: ENUM 641s # value-production 641s # VALUENAME: FOO_VALUE 641s # valuenick: eek, a comma 641s # valuenum: 0 641s # type: enum 641s # Type: Enum 641s # TYPE: ENUM 641s # value-tail 641s # EnumName: Foo 641s # enum_name: foo_ 641s # ENUMNAME: FOO_ 641s # ENUMSHORT: 641s # ENUMPREFIX: FOO 641s # enumsince: 641s # type: enum 641s # Type: Enum 641s # TYPE: ENUM 641s # file-tail 641s # 641s # comment 641s # comment: Generated data ends here 641s 1..36 641s ok - glib/mkenums.py.test 641s # Running test: glib/notify-init2.test 641s TAP version 14 641s # random seed: R02Sd149fb94007e94005e4123653f74ab5b 641s 1..1 641s # Start of properties tests 641s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 641s ok 1 /properties/notify-in-init2 641s # End of properties tests 641s ok - glib/notify-init2.test 641s # Running test: glib/dynamictests.test 641s TAP version 14 641s # random seed: R02S2cf2b5f3bc11974cdd9b63150c9c0907 641s 1..2 641s # Start of GObject tests 641s ok 1 /GObject/threaded-dynamic-ref-unref-init 641s ok 2 /GObject/dynamic-interface-properties 641s # End of GObject tests 641s ok - glib/dynamictests.test 641s # Running test: glib/gdbus-peer.test 641s TAP version 14 641s # random seed: R02S15aa8f767fd0b230c880393009018f8b 641s 1..12 641s # Start of gdbus tests 641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/.dirs/home 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/.dirs/cache 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/.dirs/system-config2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/.dirs/config 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/.dirs/system-data2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/.dirs/data 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/.dirs/state 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/.dirs/runtime 641s # Testing with unix:dir address 641s # Testing with unix:tmpdir address 641s # Testing with unix:path address 641s ok 1 /gdbus/peer-to-peer 641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/delayed-message-processing/.dirs/home 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/delayed-message-processing/.dirs/cache 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/delayed-message-processing/.dirs/system-config2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/delayed-message-processing/.dirs/config 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/delayed-message-processing/.dirs/system-data2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/delayed-message-processing/.dirs/data 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/delayed-message-processing/.dirs/state 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/delayed-message-processing/.dirs/runtime 641s # Testing with unix:dir address 641s ok 2 /gdbus/delayed-message-processing 641s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/nonce-tcp/.dirs/home 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/nonce-tcp/.dirs/cache 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/nonce-tcp/.dirs/system-config2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/nonce-tcp/.dirs/config 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/nonce-tcp/.dirs/system-data2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/nonce-tcp/.dirs/data 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/nonce-tcp/.dirs/state 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/nonce-tcp/.dirs/runtime 641s ok 3 /gdbus/nonce-tcp 641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/tcp-anonymous/.dirs/home 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/tcp-anonymous/.dirs/cache 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/tcp-anonymous/.dirs/system-config2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/tcp-anonymous/.dirs/config 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/tcp-anonymous/.dirs/system-data2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/tcp-anonymous/.dirs/data 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/tcp-anonymous/.dirs/state 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/tcp-anonymous/.dirs/runtime 641s ok 4 /gdbus/tcp-anonymous 641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/credentials/.dirs/home 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/credentials/.dirs/cache 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/credentials/.dirs/system-config2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/credentials/.dirs/config 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/credentials/.dirs/system-data2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/credentials/.dirs/data 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/credentials/.dirs/state 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/credentials/.dirs/runtime 641s ok 5 /gdbus/credentials 641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/codegen-peer-to-peer/.dirs/home 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/codegen-peer-to-peer/.dirs/cache 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/codegen-peer-to-peer/.dirs/system-config2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/codegen-peer-to-peer/.dirs/config 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/codegen-peer-to-peer/.dirs/system-data2 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/codegen-peer-to-peer/.dirs/data 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/codegen-peer-to-peer/.dirs/state 641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/codegen-peer-to-peer/.dirs/runtime 641s # Testing with unix:dir address 641s # Machine ID: a9b1034182184575a5cb02b5b013faba 642s ok 6 /gdbus/codegen-peer-to-peer 642s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 642s # Start of peer-to-peer tests 642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/signals/.dirs/home 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/signals/.dirs/cache 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/signals/.dirs/system-config2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/signals/.dirs/config 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/signals/.dirs/system-data2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/signals/.dirs/data 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/signals/.dirs/state 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/signals/.dirs/runtime 642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 642s # Testing with unix:dir address 642s ok 7 /gdbus/peer-to-peer/signals 642s # Start of invalid tests 642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/server/.dirs/home 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/server/.dirs/cache 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/server/.dirs/config 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/server/.dirs/data 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/server/.dirs/state 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 642s ok 8 /gdbus/peer-to-peer/invalid/server 642s # Start of conn tests 642s # Start of stream tests 642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 642s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 642s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 642s # End of stream tests 642s # Start of addr tests 642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 642s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_4RUAX2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 642s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 642s # End of addr tests 642s # End of conn tests 642s # End of invalid tests 642s # End of peer-to-peer tests 642s # End of gdbus tests 642s ok - glib/gdbus-peer.test 642s # Running test: glib/reference.test 642s TAP version 14 642s # random seed: R02S373aa07b33d1fc172649c16d0be67d12 642s 1..29 642s # Start of type tests 642s ok 1 /type/fundamentals 642s ok 2 /type/qdata 642s ok 3 /type/query 642s ok 4 /type/class-private 642s # End of type tests 642s # Start of object tests 642s ok 5 /object/clear 642s ok 6 /object/clear-function 642s ok 7 /object/set 642s ok 8 /object/set-function 642s ok 9 /object/value 642s ok 10 /object/initially-unowned 642s ok 11 /object/weak-pointer 642s ok 12 /object/weak-ref 642s ok 13 /object/toggle-ref 642s ok 14 /object/qdata 642s ok 15 /object/qdata2 642s # Start of set tests 642s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 642s ok 16 /object/set/derived-type 642s # End of set tests 642s # Start of weak-pointer tests 642s ok 17 /object/weak-pointer/clear 642s ok 18 /object/weak-pointer/clear-function 642s ok 19 /object/weak-pointer/set 642s ok 20 /object/weak-pointer/set-function 642s # End of weak-pointer tests 642s # Start of weak-ref tests 642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 642s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 642s ok 21 /object/weak-ref/on-dispose 642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 642s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 642s ok 22 /object/weak-ref/on-run-dispose 642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 642s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 642s ok 23 /object/weak-ref/on-toggle-notify 642s ok 24 /object/weak-ref/in-toggle-notify 642s ok 25 /object/weak-ref/many 642s # Start of concurrent tests 642s ok 26 /object/weak-ref/concurrent/0 642s ok 27 /object/weak-ref/concurrent/1 642s # End of concurrent tests 642s # End of weak-ref tests 642s # Start of toggle-ref tests 642s ok 28 /object/toggle-ref/ref-on-dispose 642s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 642s # End of toggle-ref tests 642s # End of object tests 642s ok - glib/reference.test 642s # Running test: glib/deprecated-properties.test 642s TAP version 14 642s # random seed: R02S2984290ce164b0181a198197e8757095 642s 1..3 642s # Start of deprecated-properties tests 642s ok 1 /deprecated-properties/construct 642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 642s ok 2 /deprecated-properties/default-construct 642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 642s ok 3 /deprecated-properties/set 642s # End of deprecated-properties tests 642s ok - glib/deprecated-properties.test 642s # Running test: glib/mutex.test 642s TAP version 14 642s # random seed: R02S99435068beeca137fbe335efdaaa7f3e 642s 1..17 642s # Start of thread tests 642s ok 1 /thread/mutex1 642s ok 2 /thread/mutex2 642s ok 3 /thread/mutex3 642s ok 4 /thread/mutex4 645s # Executing: glib/mutex.test 647s ok 5 /thread/mutex5 647s # slow test /thread/mutex5 executed in 4.61 secs 647s # Start of mutex tests 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s # /thread/mutex/errno summary: Validates that errno is not touched upon return 647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 647s ok 6 /thread/mutex/errno 647s # Start of perf tests 647s # max perf: 1.000000 mips 647s ok 7 /thread/mutex/perf/uncontended 647s # Start of contended tests 647s # max perf: 2.000000 mips 647s ok 8 /thread/mutex/perf/contended/1 647s # max perf: inf mips 647s ok 9 /thread/mutex/perf/contended/2 647s # max perf: 4.000000 mips 647s ok 10 /thread/mutex/perf/contended/3 647s # max perf: 5.000000 mips 647s ok 11 /thread/mutex/perf/contended/4 647s # max perf: 2.000000 mips 647s ok 12 /thread/mutex/perf/contended/5 647s # max perf: 3.500000 mips 647s ok 13 /thread/mutex/perf/contended/6 647s # max perf: 1.333333 mips 647s ok 14 /thread/mutex/perf/contended/7 647s # max perf: 9.000000 mips 647s ok 15 /thread/mutex/perf/contended/8 647s # max perf: 5.000000 mips 647s ok 16 /thread/mutex/perf/contended/9 647s # max perf: 2.750000 mips 647s ok 17 /thread/mutex/perf/contended/10 647s # End of contended tests 647s # End of perf tests 647s # End of mutex tests 647s # End of thread tests 647s ok - glib/mutex.test 647s # Running test: glib/gdbus-introspection.test 647s TAP version 14 647s # random seed: R02Saa193312a18a8c7e71de480f3845a3a4 647s 1..4 647s # Start of gdbus tests 647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-parser/.dirs/home 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-parser/.dirs/cache 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-parser/.dirs/system-config2 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-parser/.dirs/config 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-parser/.dirs/system-data2 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-parser/.dirs/data 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-parser/.dirs/state 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-parser/.dirs/runtime 647s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 647s ok 1 /gdbus/introspection-parser 647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-generate/.dirs/home 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-generate/.dirs/cache 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-generate/.dirs/system-config2 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-generate/.dirs/config 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-generate/.dirs/system-data2 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-generate/.dirs/data 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-generate/.dirs/state 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-generate/.dirs/runtime 647s ok 2 /gdbus/introspection-generate 647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-default-direction/.dirs/home 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-default-direction/.dirs/cache 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-default-direction/.dirs/system-config2 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-default-direction/.dirs/config 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-default-direction/.dirs/system-data2 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-default-direction/.dirs/data 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-default-direction/.dirs/state 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-default-direction/.dirs/runtime 647s ok 3 /gdbus/introspection-default-direction 647s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-extra-data/.dirs/home 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-extra-data/.dirs/cache 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-extra-data/.dirs/system-config2 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-extra-data/.dirs/config 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-extra-data/.dirs/system-data2 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-extra-data/.dirs/data 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-extra-data/.dirs/state 647s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_V9OCX2/gdbus/introspection-extra-data/.dirs/runtime 647s ok 4 /gdbus/introspection-extra-data 647s # End of gdbus tests 647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 647s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 647s ok - glib/gdbus-introspection.test 647s # Running test: glib/module-test-plugin.test 647s TAP version 14 647s # random seed: R02Se3d8669cf3a44b29fe94ba362f7489c1 647s 1..3 647s # Start of module tests 647s ok 1 /module/basics 647s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 647s ok 2 /module/invalid-libtool-archive 647s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 647s ok 3 /module/local-binding 647s # End of module tests 647s ok - glib/module-test-plugin.test 647s # Running test: glib/tls-bindings.test 647s TAP version 14 647s # random seed: R02S0cde9ee0744d6617bbb6086636c99609 647s 1..2 647s # Start of tls-connection tests 647s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 647s ok 1 /tls-connection/get-tls-channel-binding 647s ok 2 /tls-connection/get-dtls-channel-binding 647s # End of tls-connection tests 647s ok - glib/tls-bindings.test 647s # Running test: glib/param.test 647s TAP version 14 647s # random seed: R02S71b75cf3b0c1694797b1b804a45ea308 647s 1..32 647s # Start of param tests 647s ok 1 /param/value 647s ok 2 /param/strings 647s ok 3 /param/qdata 647s ok 4 /param/validate 647s ok 5 /param/convert 647s ok 6 /param/implement # SKIP Skipping slow /param/implement test 647s ok 7 /param/default 647s ok 8 /param/is-valid-name 647s # Start of invalid-name tests 647s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 648s ok 9 /param/invalid-name/colon 648s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 648s ok 10 /param/invalid-name/first-char 648s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 648s ok 11 /param/invalid-name/empty 648s # End of invalid-name tests 648s # Start of implement tests 648s # Start of subprocess tests 648s # End of subprocess tests 648s # End of implement tests 648s # End of param tests 648s # Start of value tests 648s ok 12 /value/transform 648s # End of value tests 648s # Start of paramspec tests 648s ok 13 /paramspec/char 648s ok 14 /paramspec/uchar 648s ok 15 /paramspec/int 648s ok 16 /paramspec/uint 648s ok 17 /paramspec/long 648s ok 18 /paramspec/ulong 648s ok 19 /paramspec/int64 648s ok 20 /paramspec/uint64 648s ok 21 /paramspec/float 648s ok 22 /paramspec/double 648s ok 23 /paramspec/unichar 648s ok 24 /paramspec/param 648s ok 25 /paramspec/null-param 648s ok 26 /paramspec/string 648s ok 27 /paramspec/override 648s ok 28 /paramspec/gtype 648s ok 29 /paramspec/variant 648s ok 30 /paramspec/custom 648s ok 31 /paramspec/pool 648s # Start of variant tests 648s ok 32 /paramspec/variant/cmp 648s # End of variant tests 648s # End of paramspec tests 648s ok - glib/param.test 648s # Running test: glib/inet-address.test 648s TAP version 14 648s # random seed: R02Sb61ad8f4b79051ee60c607cba1176f6f 648s 1..11 648s # Start of inet-address tests 648s ok 1 /inet-address/parse 648s ok 2 /inet-address/any 648s ok 3 /inet-address/loopback 648s ok 4 /inet-address/bytes 648s ok 5 /inet-address/property 648s # End of inet-address tests 648s # Start of socket-address tests 648s ok 6 /socket-address/basic 648s ok 7 /socket-address/to-string 648s # End of socket-address tests 648s # Start of address-mask tests 648s ok 8 /address-mask/parse 648s ok 9 /address-mask/property 648s ok 10 /address-mask/equal 648s ok 11 /address-mask/match 648s # End of address-mask tests 648s ok - glib/inet-address.test 648s # Running test: glib/g-file-info.test 648s TAP version 14 648s # random seed: R02S5107852a2e81ded1c162dc6cfb0e07de 648s 1..6 648s # Start of g-file-info tests 648s ok 1 /g-file-info/test_g_file_info 648s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 648s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 648s ok 2 /g-file-info/xattrs 648s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 648s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 648s ok 3 /g-file-info/set-modified-date-time-precision 648s # Start of test_g_file_info tests 648s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 648s ok 4 /g-file-info/test_g_file_info/modification-time 648s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 648s ok 5 /g-file-info/test_g_file_info/access-time 648s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 648s ok 6 /g-file-info/test_g_file_info/creation-time 648s # End of test_g_file_info tests 648s # End of g-file-info tests 648s ok - glib/g-file-info.test 648s # Running test: glib/null-settings-backend.test 648s TAP version 14 648s # random seed: R02S9d83cb27c8f625b1cd575bcbeb68ddc5 648s 1..1 648s # Start of null-settings-backend tests 648s ok 1 /null-settings-backend/extension-point-registered 648s # End of null-settings-backend tests 648s ok - glib/null-settings-backend.test 648s # Running test: glib/macros-c-89.test 648s TAP version 14 648s # random seed: R02Sb8da06794e3434ba9b2a93345162cea6 648s 1..4 648s # Start of C tests 648s ok 1 /C/standard-89 648s # End of C tests 648s # Start of alignof tests 648s ok 2 /alignof/fallback 648s # End of alignof tests 648s # Start of assert tests 648s ok 3 /assert/static 648s # End of assert tests 648s # Start of struct tests 648s ok 4 /struct/sizeof_member 648s # End of struct tests 648s ok - glib/macros-c-89.test 648s # Running test: glib/unix-fd.test 648s TAP version 14 648s # random seed: R02S94d65527bf962c2a3be6020923fcd476 648s 1..2 648s # Start of unix-fd tests 648s ok 1 /unix-fd/fd-list 648s ok 2 /unix-fd/scm 648s # End of unix-fd tests 648s ok - glib/unix-fd.test 648s # Running test: glib/gthash.test 648s TAP version 14 648s # random seed: R02Sbeb2c401b6c89ea362255ac6e14bba5b 648s 1..1 648s # Start of gthash tests 648s ok 1 /gthash/build-retrieve 648s # End of gthash tests 648s ok - glib/gthash.test 648s # Running test: glib/macros-c-11.test 648s TAP version 14 648s # random seed: R02S78d020f413b23a91b9b0d1ae86875557 648s 1..4 648s # Start of C tests 648s ok 1 /C/standard-11 648s # End of C tests 648s # Start of alignof tests 648s ok 2 /alignof/fallback 648s # End of alignof tests 648s # Start of assert tests 648s ok 3 /assert/static 648s # End of assert tests 648s # Start of struct tests 648s ok 4 /struct/sizeof_member 648s # End of struct tests 648s ok - glib/macros-c-11.test 648s # Running test: glib/scannerapi.test 648s TAP version 14 648s # random seed: R02S5c2158f3ca934a32594a3fd306d2905c 648s 1..4 648s # Start of scanner tests 648s ok 1 /scanner/warn 648s ok 2 /scanner/error 648s ok 3 /scanner/symbols 648s ok 4 /scanner/tokens 648s # End of scanner tests 648s ok - glib/scannerapi.test 648s # Running test: glib/overflow-fallback.test 648s TAP version 14 648s # random seed: R02S66688414c7848f373e9fd2f59196e1d0 648s 1..6 648s # Start of glib tests 648s # Start of checked-math tests 648s ok 1 /glib/checked-math/guint-add 648s ok 2 /glib/checked-math/guint-mul 648s ok 3 /glib/checked-math/guint64-add 648s ok 4 /glib/checked-math/guint64-mul 648s ok 5 /glib/checked-math/gsize-add 648s ok 6 /glib/checked-math/gsize-mul 648s # End of checked-math tests 648s # End of glib tests 648s ok - glib/overflow-fallback.test 648s # Running test: glib/cxx-20.test 648s TAP version 14 648s # random seed: R02Sa2803e490e6f0573f76711bd1cc8ab20 648s 1..2 648s # Start of gtask tests 648s # 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. 648s ok 1 /gtask/name 648s # Start of name tests 648s # 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. 648s ok 2 /gtask/name/macro-wrapper 648s # End of name tests 648s # End of gtask tests 648s ok - glib/cxx-20.test 648s # Running test: glib/g-file.test 648s TAP version 14 648s # random seed: R02S0bc6198bb1596370dacd9132cc68295e 648s 1..8 648s # Start of g-file tests 648s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 648s ok 1 /g-file/test_g_file_new_null 648s ok 2 /g-file/test_g_file_new_for_path 648s ok 3 /g-file/test_g_file_new_for_uri 648s ok 4 /g-file/test_g_file_dup 648s ok 5 /g-file/test_g_file_get_parse_name_utf8 648s file:///tmp/test-tmp-glib_g-file.test-DZE7W2 648s file:///tmp 648s file:///tmp 648s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 648s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 648s ok 6 /g-file/test_g_file_new_for_commandline_arg 648s /dir1 /dir1/dir2/dir3/ 648s /dir1/ /dir1/dir2/dir3/ 648s /dir1 /dir1/dir2/dir3 648s /dir1/ /dir1/dir2/dir3 648s /tmp/ /something/ 648s /dir1/dir2 /dir1/ 648s //dir1/new //dir1/new/dir2/dir3 648s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 648s file:///dir1 file:///dir1/dir2/dir3/ 648s file:///dir1/ file:///dir1/dir2/dir3/ 648s file:///dir1 file:///dir1/dir2/dir3 648s file:///dir1/ file:///dir1/dir2/dir3 648s file:///tmp/ file:///something/ 648s file:///dir1/dir2 file:///dir1/ 648s file:////dir1/new file:////dir1/new/dir2/dir3 648s 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 648s ok 7 /g-file/test_g_file_has_prefix 648s ok 8 /g-file/test_g_file_get_parent_child 648s # End of g-file tests 648s ok - glib/g-file.test 648s # Running test: glib/once.test 648s TAP version 14 648s # random seed: R02S8c05f5f8403f0f23396caac03ee20aab 648s 1..5 648s # Start of once tests 648s # /once/single-threaded summary: Test g_once() usage from a single thread 648s ok 1 /once/single-threaded 648s # /once/multi-threaded summary: Test g_once() usage from multiple threads 648s ok 2 /once/multi-threaded 648s # End of once tests 648s # Start of once-init tests 648s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 648s ok 3 /once-init/single-threaded 648s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 648s ok 4 /once-init/multi-threaded 648s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 648s ok 5 /once-init/string 648s # End of once-init tests 648s ok - glib/once.test 648s # Running test: glib/utf8-pointer.test 648s TAP version 14 648s # random seed: R02S3d72dc1418b26a7280e596123c1ff42a 648s 1..3 648s # Start of utf8 tests 649s ok 1 /utf8/offsets 649s # slow test /utf8/offsets executed in 0.81 secs 649s ok 2 /utf8/lengths 649s ok 3 /utf8/find 649s # End of utf8 tests 649s ok - glib/utf8-pointer.test 649s # Running test: glib/readwrite.test 649s TAP version 14 649s # random seed: R02S42aec02f380ef0450d619310213056fe 649s 1..3 649s # Start of readwrite tests 649s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 649s ok 1 /readwrite/test_g_file_open_readwrite 649s ok 2 /readwrite/test_g_file_create_readwrite 649s ok 3 /readwrite/test_g_file_replace_readwrite 649s # End of readwrite tests 649s ok - glib/readwrite.test 649s # Running test: glib/642026-ec.test 649s TAP version 14 649s # random seed: R02S8430f59e9a87ac42dca5e655becccc93 649s 1..1 649s # Start of glib tests 649s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 649s ok 1 /glib/642026 649s # End of glib tests 649s ok - glib/642026-ec.test 649s # Running test: glib/cxx-2b.test 649s TAP version 14 649s # random seed: R02S22b33b8c6996d4fc451a5cd5b1fb3085 649s 1..2 649s # Start of gtask tests 649s # 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. 649s ok 1 /gtask/name 649s # Start of name tests 649s # 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. 649s ok 2 /gtask/name/macro-wrapper 649s # End of name tests 649s # End of gtask tests 649s ok - glib/cxx-2b.test 649s # Running test: glib/socket-listener.test 649s TAP version 14 649s # random seed: R02S55c87a20f12a268aac7fbef50f5fe7b2 649s 1..1 649s # Start of socket-listener tests 649s ok 1 /socket-listener/event-signal 649s # End of socket-listener tests 649s ok - glib/socket-listener.test 649s # Running test: glib/markup-parse.test 649s TAP version 14 649s # random seed: R02Sf289fefff95e33bf2f189598ad926ab5 649s 1..71 649s # Start of markup tests 649s # Start of parse tests 649s ok 1 /markup/parse/fail-34.gmarkup 649s ok 2 /markup/parse/valid-1.gmarkup 649s ok 3 /markup/parse/fail-19.gmarkup 649s ok 4 /markup/parse/valid-9.gmarkup 649s ok 5 /markup/parse/fail-52.gmarkup 649s ok 6 /markup/parse/fail-42.gmarkup 649s ok 7 /markup/parse/fail-24.gmarkup 649s ok 8 /markup/parse/fail-10.gmarkup 649s ok 9 /markup/parse/valid-14.gmarkup 649s ok 10 /markup/parse/fail-47.gmarkup 649s ok 11 /markup/parse/valid-6.gmarkup 649s ok 12 /markup/parse/valid-15.gmarkup 649s ok 13 /markup/parse/valid-7.gmarkup 649s ok 14 /markup/parse/fail-25.gmarkup 649s ok 15 /markup/parse/fail-5.gmarkup 649s ok 16 /markup/parse/fail-23.gmarkup 649s ok 17 /markup/parse/fail-26.gmarkup 649s ok 18 /markup/parse/valid-4.gmarkup 649s ok 19 /markup/parse/fail-46.gmarkup 649s ok 20 /markup/parse/fail-44.gmarkup 649s ok 21 /markup/parse/fail-11.gmarkup 649s ok 22 /markup/parse/fail-50.gmarkup 649s ok 23 /markup/parse/fail-37.gmarkup 649s ok 24 /markup/parse/fail-51.gmarkup 649s ok 25 /markup/parse/valid-3.gmarkup 649s ok 26 /markup/parse/valid-13.gmarkup 649s ok 27 /markup/parse/valid-5.gmarkup 649s ok 28 /markup/parse/fail-15.gmarkup 649s ok 29 /markup/parse/fail-27.gmarkup 649s ok 30 /markup/parse/fail-48.gmarkup 649s ok 31 /markup/parse/fail-22.gmarkup 649s ok 32 /markup/parse/fail-41.gmarkup 649s ok 33 /markup/parse/valid-2.gmarkup 649s ok 34 /markup/parse/fail-17.gmarkup 649s ok 35 /markup/parse/fail-4.gmarkup 649s ok 36 /markup/parse/fail-7.gmarkup 649s ok 37 /markup/parse/valid-8.gmarkup 649s ok 38 /markup/parse/valid-17.gmarkup 649s ok 39 /markup/parse/fail-32.gmarkup 649s ok 40 /markup/parse/fail-54.gmarkup 649s ok 41 /markup/parse/fail-2.gmarkup 649s ok 42 /markup/parse/fail-6.gmarkup 649s ok 43 /markup/parse/fail-21.gmarkup 649s ok 44 /markup/parse/fail-12.gmarkup 649s ok 45 /markup/parse/fail-28.gmarkup 649s ok 46 /markup/parse/fail-8.gmarkup 649s ok 47 /markup/parse/valid-11.gmarkup 649s ok 48 /markup/parse/valid-12.gmarkup 649s ok 49 /markup/parse/fail-1.gmarkup 649s ok 50 /markup/parse/valid-16.gmarkup 649s ok 51 /markup/parse/fail-18.gmarkup 649s ok 52 /markup/parse/fail-14.gmarkup 649s ok 53 /markup/parse/fail-35.gmarkup 649s ok 54 /markup/parse/fail-40.gmarkup 649s ok 55 /markup/parse/fail-3.gmarkup 649s ok 56 /markup/parse/fail-31.gmarkup 649s ok 57 /markup/parse/fail-53.gmarkup 649s ok 58 /markup/parse/fail-38.gmarkup 649s ok 59 /markup/parse/fail-20.gmarkup 649s ok 60 /markup/parse/fail-29.gmarkup 649s ok 61 /markup/parse/fail-16.gmarkup 649s ok 62 /markup/parse/fail-13.gmarkup 649s ok 63 /markup/parse/fail-9.gmarkup 649s ok 64 /markup/parse/fail-36.gmarkup 649s ok 65 /markup/parse/fail-30.gmarkup 649s ok 66 /markup/parse/fail-45.gmarkup 649s ok 67 /markup/parse/fail-49.gmarkup 649s ok 68 /markup/parse/fail-43.gmarkup 649s ok 69 /markup/parse/fail-33.gmarkup 649s ok 70 /markup/parse/fail-39.gmarkup 649s ok 71 /markup/parse/valid-10.gmarkup 649s # End of parse tests 649s # End of markup tests 649s ok - glib/markup-parse.test 649s # Running test: glib/union-info.test 649s TAP version 14 649s # random seed: R02Sb13f03f48609a827bb1f37e9f3470d5d 649s 1..2 649s # Start of union-info tests 649s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_HGQ5W2/union-info/basic/.dirs/home 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_HGQ5W2/union-info/basic/.dirs/cache 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_HGQ5W2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_HGQ5W2/union-info/basic/.dirs/system-config2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_HGQ5W2/union-info/basic/.dirs/config 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_HGQ5W2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_HGQ5W2/union-info/basic/.dirs/system-data2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_HGQ5W2/union-info/basic/.dirs/data 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_HGQ5W2/union-info/basic/.dirs/state 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_HGQ5W2/union-info/basic/.dirs/runtime 649s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 649s # /union-info/basic summary: Test basic properties of GIUnionInfo 649s ok 1 /union-info/basic 649s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_HGQ5W2/union-info/methods/.dirs/home 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_HGQ5W2/union-info/methods/.dirs/cache 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_HGQ5W2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_HGQ5W2/union-info/methods/.dirs/system-config2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_HGQ5W2/union-info/methods/.dirs/config 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_HGQ5W2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_HGQ5W2/union-info/methods/.dirs/system-data2 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_HGQ5W2/union-info/methods/.dirs/data 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_HGQ5W2/union-info/methods/.dirs/state 649s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_HGQ5W2/union-info/methods/.dirs/runtime 649s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 649s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 649s ok 2 /union-info/methods 649s # End of union-info tests 649s ok - glib/union-info.test 649s # Running test: glib/sleepy-stream.test 649s TAP version 14 649s # random seed: R02S46bfec1f428a2e4588b3a8425ec89ba4 649s 1..2 649s # Start of filter-stream tests 649s ok 1 /filter-stream/input 649s ok 2 /filter-stream/async 649s # End of filter-stream tests 649s ok - glib/sleepy-stream.test 649s # Running test: glib/tls-database.test 649s TAP version 14 649s # random seed: R02Sc38a58ef7563bce6f62745281eb958b7 649s 1..1 649s # Start of tls-backend tests 649s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 649s ok 1 /tls-backend/set-default-database 649s # End of tls-backend tests 649s ok - glib/tls-database.test 649s # Running test: glib/closure-refcount.test 649s TAP version 14 649s # random seed: R02Se7fd68bb4d45fae294da581150c714c5 649s 1..1 649s # Start of closure tests 649s # Init 0xeb573bef1d0 649s # Yielding from main thread 649s # Yielding from main thread 649s # Yielding from main thread 649s # Yielding from main thread 649s # Yielding from thread2 649s # Yielding from main thread 649s # Yielding from thread1 649s # Yielding from main thread 649s # Yielding from main thread 649s # Yielding from main thread 649s # Yielding from main thread 649s # Yielding from main thread 649s # Yielding from thread2 649s # Yielding from main thread 649s # Yielding from main thread 649s # Yielding from main thread 649s # Yielding from thread1 649s # Yielding from main thread 649s # Yielding from main thread 650s # Yielding from thread2 650s # Yielding from main thread 650s # Executing: glib/closure-refcount.test 650s # Yielding from main thread 650s # Yielding from thread1 650s # Yielding from main thread 650s # Yielding from main thread 650s # Yielding from main thread 650s # Yielding from thread2 650s # Yielding from main thread 650s # Yielding from main thread 650s # Yielding from thread1 650s # Yielding from main thread 650s # Yielding from main thread 650s # Yielding from main thread 650s # Yielding from main thread 650s # Yielding from main thread 650s # Yielding from thread2 650s # Yielding from main thread 650s # Yielding from main thread 650s # Yielding from main thread 650s # Yielding from thread1 650s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from thread2 651s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from thread1 651s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from thread1 651s # Yielding from main thread 651s # Yielding from thread2 651s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from main thread 651s # Yielding from thread1 651s # Yielding from thread2 651s # Yielding from main thread 651s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from thread2 652s # Yielding from thread1 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from thread1 652s # Yielding from thread2 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from main thread 652s # Yielding from thread1 652s # Yielding from main thread 652s # Yielding from thread2 652s # Yielding from main thread 652s # Yielding from main thread 653s # Yielding from main thread 653s # Yielding from main thread 653s # Yielding from main thread 653s # Yielding from thread1 653s # Yielding from main thread 653s # Yielding from main thread 653s # Yielding from main thread 653s # Yielding from main thread 653s # Yielding from thread2 653s # Yielding from main thread 653s # Yielding from thread1 653s # Yielding from main thread 653s # Yielding from main thread 653s # Yielding from main thread 653s # Yielding from main thread 653s # Yielding from thread1 653s # Yielding from main thread 653s # Yielding from thread2 653s # Yielding from main thread 653s # Yielding from main thread 653s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from thread1 655s # Yielding from main thread 655s # Yielding from thread2 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from thread1 655s # Yielding from thread2 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from thread1 655s # Yielding from main thread 655s # Yielding from thread2 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from main thread 655s # Yielding from thread1 655s # Stopping 655s # Stopped 655s ok 1 /closure/refcount 655s # slow test /closure/refcount executed in 6.00 secs 655s # End of closure tests 655s ok - glib/closure-refcount.test 655s # Running test: glib/gdbus-connection-loss.test 655s TAP version 14 655s # random seed: R02Sae6bf21ab6a36cc112fc7168c9b8e290 655s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 655s 1..1 655s # Start of gdbus tests 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_CRO7W2/gdbus/connection-loss/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_CRO7W2/gdbus/connection-loss/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_CRO7W2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_CRO7W2/gdbus/connection-loss/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_CRO7W2/gdbus/connection-loss/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_CRO7W2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_CRO7W2/gdbus/connection-loss/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_CRO7W2/gdbus/connection-loss/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_CRO7W2/gdbus/connection-loss/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_CRO7W2/gdbus/connection-loss/.dirs/runtime 655s # Executing: glib/gdbus-connection-loss.test 655s ok 1 /gdbus/connection-loss 655s # End of gdbus tests 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s ok - glib/gdbus-connection-loss.test 655s # Running test: glib/macros.test 655s TAP version 14 655s # random seed: R02S7904e969d527ca7db71a13b50b7a6d78 655s 1..3 655s # Start of alignof tests 655s ok 1 /alignof/fallback 655s # End of alignof tests 655s # Start of assert tests 655s ok 2 /assert/static 655s # End of assert tests 655s # Start of struct tests 655s ok 3 /struct/sizeof_member 655s # End of struct tests 655s ok - glib/macros.test 655s # Running test: glib/assert-msg-test.py.test 655s TAP version 13 655s ok 1 __main__.TestAssertMessage.test_gassert 655s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 655s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 655s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 655s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 655s # Error: ** 655s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 655s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 655s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 655s 1..2 655s ok - glib/assert-msg-test.py.test 655s # Running test: glib/refcount.test 655s TAP version 14 655s # random seed: R02S9019b02f72cb02efca3b3cdb81af5a3d 655s 1..4 655s # Start of refcount tests 655s ok 1 /refcount/grefcount 655s ok 2 /refcount/gatomicrefcount 655s # Start of grefcount tests 655s ok 3 /refcount/grefcount/saturation 655s # End of grefcount tests 655s # Start of gatomicrefcount tests 655s ok 4 /refcount/gatomicrefcount/saturation 655s # End of gatomicrefcount tests 655s # End of refcount tests 655s ok - glib/refcount.test 655s # Running test: glib/error.test 655s TAP version 14 655s # random seed: R02Sde776d616d8616b77edecc6621e2cf69 655s 1..3 655s # Start of error tests 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_C4Q0W2/error/from-errno/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_C4Q0W2/error/from-errno/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_C4Q0W2/error/from-errno/.dirs/system-config1:/tmp/test_error_C4Q0W2/error/from-errno/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_C4Q0W2/error/from-errno/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_C4Q0W2/error/from-errno/.dirs/system-data1:/tmp/test_error_C4Q0W2/error/from-errno/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_C4Q0W2/error/from-errno/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_C4Q0W2/error/from-errno/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_C4Q0W2/error/from-errno/.dirs/runtime 655s ok 1 /error/from-errno 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_C4Q0W2/error/from-file-error/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_C4Q0W2/error/from-file-error/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_C4Q0W2/error/from-file-error/.dirs/system-config1:/tmp/test_error_C4Q0W2/error/from-file-error/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_C4Q0W2/error/from-file-error/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_C4Q0W2/error/from-file-error/.dirs/system-data1:/tmp/test_error_C4Q0W2/error/from-file-error/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_C4Q0W2/error/from-file-error/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_C4Q0W2/error/from-file-error/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_C4Q0W2/error/from-file-error/.dirs/runtime 655s ok 2 /error/from-file-error 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_C4Q0W2/error/from-win32-error/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_C4Q0W2/error/from-win32-error/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_C4Q0W2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_C4Q0W2/error/from-win32-error/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_C4Q0W2/error/from-win32-error/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_C4Q0W2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_C4Q0W2/error/from-win32-error/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_C4Q0W2/error/from-win32-error/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_C4Q0W2/error/from-win32-error/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_C4Q0W2/error/from-win32-error/.dirs/runtime 655s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 655s # End of error tests 655s ok - glib/error.test 655s # Running test: glib/mimeapps.test 655s TAP version 14 655s # random seed: R02Se1fb6502da0931c9aef54e2981f86b83 655s 1..7 655s # Start of appinfo tests 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/runtime 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/system-data1/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/data/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/data/applications/myapp.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/data/applications/myapp2.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/data/applications/myapp3.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/data/applications/myapp4.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/data/applications/myapp5.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 655s # removing '/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/data/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 655s ok 1 /appinfo/all 655s # Start of mime tests 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/runtime 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/system-data1/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/data/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 655s # removing '/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/config 655s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_KNM0W2/appinfo/all/.dirs/config to /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/config 655s ok 2 /appinfo/mime/api 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/runtime 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/system-data1/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/data/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 655s # removing '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/config 655s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_KNM0W2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/config 655s ok 3 /appinfo/mime/default 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/runtime 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/system-data1/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/data/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 655s # removing '/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/config 655s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_KNM0W2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/config 655s ok 4 /appinfo/mime/file 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/runtime 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/data/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 655s # removing '/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 655s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_KNM0W2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/config 655s ok 5 /appinfo/mime/scheme-handler 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/runtime 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/data/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 655s # removing '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/config 655s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_KNM0W2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/config 655s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/config 655s ok 6 /appinfo/mime/default-last-used 655s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/home 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/cache 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/config 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/data 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/state 655s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/runtime 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 655s # removing '/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 655s # creating '/tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 655s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_KNM0W2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_KNM0W2/appinfo/mime/ignore-nonexisting/.dirs/config 655s ok 7 /appinfo/mime/ignore-nonexisting 655s # End of mime tests 655s # End of appinfo tests 655s ok - glib/mimeapps.test 655s # Running test: glib/actions.test 655s TAP version 14 655s # random seed: R02Sce7bc0ab7e7a0bbab0f28b5e65819763 655s 1..13 655s # Start of actions tests 655s ok 1 /actions/basic 655s ok 2 /actions/name 655s ok 3 /actions/simplegroup 655s ok 4 /actions/stateful 655s ok 5 /actions/default-activate 655s ok 6 /actions/entries 655s ok 7 /actions/parse-detailed 655s ok 8 /actions/property 655s ok 9 /actions/no-properties 655s # Start of dbus tests 655s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s ok 10 /actions/dbus/export 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 655s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 655s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s ok 11 /actions/dbus/threaded 657s # slow test /actions/dbus/threaded executed in 2.02 secs 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 657s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s ok 12 /actions/dbus/bug679509 657s # Start of export tests 657s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 657s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 657s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s ok 13 /actions/dbus/export/error-handling 657s # End of export tests 657s # End of dbus tests 657s # End of actions tests 657s ok - glib/actions.test 657s # Running test: glib/memory-output-stream.test 657s TAP version 14 657s # random seed: R02S2fba49890cfc264c78209b17b981fe30 657s 1..10 657s # Start of memory-output-stream tests 657s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 657s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 657s ok 1 /memory-output-stream/truncate 657s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 657s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 657s ok 2 /memory-output-stream/get-data-size 657s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 657s ok 3 /memory-output-stream/properties 657s ok 4 /memory-output-stream/write-bytes 657s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 657s ok 5 /memory-output-stream/write-null 657s ok 6 /memory-output-stream/writev 657s ok 7 /memory-output-stream/writev_nonblocking 657s ok 8 /memory-output-stream/steal_as_bytes 657s # Start of seek tests 657s ok 9 /memory-output-stream/seek/fixed 657s ok 10 /memory-output-stream/seek/resizable 657s # End of seek tests 657s # End of memory-output-stream tests 657s ok - glib/memory-output-stream.test 657s # Running test: glib/static-link.test 657s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 657s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 657s and make sure you have glib build dependencies installed, including 657s meson. 657s ok # SKIP - glib/static-link.test 657s # Running test: glib/portal-support-flatpak-full.test 657s TAP version 14 657s # random seed: R02S1f78db2746213f29df093a0d23a3e2af 657s 1..1 657s # Start of portal-support tests 657s # Start of flatpak tests 657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_JSZIX2/portal-support/flatpak/full/.dirs/home 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_JSZIX2/portal-support/flatpak/full/.dirs/cache 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_JSZIX2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_JSZIX2/portal-support/flatpak/full/.dirs/system-config2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_JSZIX2/portal-support/flatpak/full/.dirs/config 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_JSZIX2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_JSZIX2/portal-support/flatpak/full/.dirs/system-data2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_JSZIX2/portal-support/flatpak/full/.dirs/data 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_JSZIX2/portal-support/flatpak/full/.dirs/state 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_JSZIX2/portal-support/flatpak/full/.dirs/runtime 657s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_JSZIX2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 657s ok 1 /portal-support/flatpak/full 657s # End of flatpak tests 657s # End of portal-support tests 657s ok - glib/portal-support-flatpak-full.test 657s # Running test: glib/gdbus-error.test 657s TAP version 14 657s # random seed: R02S76f7032cc3a0df477223d8eef0b57df4 657s 1..4 657s # Start of gdbus tests 657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/registered-errors/.dirs/home 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/registered-errors/.dirs/cache 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_KJWIX2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_KJWIX2/gdbus/registered-errors/.dirs/system-config2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/registered-errors/.dirs/config 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_KJWIX2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_KJWIX2/gdbus/registered-errors/.dirs/system-data2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/registered-errors/.dirs/data 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/registered-errors/.dirs/state 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_KJWIX2/gdbus/registered-errors/.dirs/runtime 657s ok 1 /gdbus/registered-errors 657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/unregistered-errors/.dirs/home 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/unregistered-errors/.dirs/cache 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_KJWIX2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_KJWIX2/gdbus/unregistered-errors/.dirs/system-config2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/unregistered-errors/.dirs/config 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_KJWIX2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_KJWIX2/gdbus/unregistered-errors/.dirs/system-data2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/unregistered-errors/.dirs/data 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/unregistered-errors/.dirs/state 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_KJWIX2/gdbus/unregistered-errors/.dirs/runtime 657s ok 2 /gdbus/unregistered-errors 657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/transparent-gerror/.dirs/home 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/transparent-gerror/.dirs/cache 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_KJWIX2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_KJWIX2/gdbus/transparent-gerror/.dirs/system-config2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/transparent-gerror/.dirs/config 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_KJWIX2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_KJWIX2/gdbus/transparent-gerror/.dirs/system-data2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/transparent-gerror/.dirs/data 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/transparent-gerror/.dirs/state 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_KJWIX2/gdbus/transparent-gerror/.dirs/runtime 657s ok 3 /gdbus/transparent-gerror 657s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/register-error/.dirs/home 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/register-error/.dirs/cache 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_KJWIX2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_KJWIX2/gdbus/register-error/.dirs/system-config2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/register-error/.dirs/config 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_KJWIX2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_KJWIX2/gdbus/register-error/.dirs/system-data2 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/register-error/.dirs/data 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_KJWIX2/gdbus/register-error/.dirs/state 657s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_KJWIX2/gdbus/register-error/.dirs/runtime 657s ok 4 /gdbus/register-error 657s # End of gdbus tests 657s ok - glib/gdbus-error.test 657s # Running test: glib/singleton.test 657s TAP version 14 657s # random seed: R02Sc7765cec2ce6b4199f13214ddc6f19e0 657s 1..2 657s # Start of gobject tests 657s # Start of singleton tests 657s ok 1 /gobject/singleton/construction 657s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 657s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 657s ok 2 /gobject/singleton/construct-property 657s # End of singleton tests 657s # End of gobject tests 657s ok - glib/singleton.test 657s # Running test: glib/dbus-appinfo.test 657s TAP version 14 657s # random seed: R02S028685af0d25d75b28bc9122a85545c5 657s 1..3 657s # Start of appinfo tests 657s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 657s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 657s ok 1 /appinfo/dbusappinfo 657s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 657s dbus-daemon[15825]: [session uid=1000 pid=15825] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=15824 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 657s # Acquired a message bus connection 657s dbus-daemon[15825]: [session uid=1000 pid=15825] Successfully activated service 'org.freedesktop.portal.Documents' 657s # Acquired the name org.freedesktop.portal.Documents 657s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 657s ok 2 /appinfo/flatpak-doc-export 657s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 657s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 657s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 657s ok 3 /appinfo/flatpak-missing-doc-export 657s # End of appinfo tests 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 657s # Lost the name org.freedesktop.portal.Documents 657s ok - glib/dbus-appinfo.test 657s # Running test: glib/atomic-c-11.test 657s TAP version 14 657s # random seed: R02S926740578afaa41ca31012ae98a470de 657s 1..2 657s # Start of atomic tests 657s ok 1 /atomic/types 657s ok 2 /atomic/threaded 657s # End of atomic tests 657s ok - glib/atomic-c-11.test 657s # Running test: glib/gsocketclient-slow.test 657s TAP version 14 657s # random seed: R02Sb03664ff91e306f3eef978257f90e9ab 657s 1..4 657s # Start of socket-client tests 657s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 657s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 657s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9ad9ad8b280 and GSocketClientAsyncConnectData 0x9ad9ad83b90 657s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 657s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 657s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x9ad9ad8d160 for GSocketClientAsyncConnectData 0x9ad9ad83b90 657s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 658s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 658s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 658s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 658s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 658s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 658s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x9ad9ad8e2c0 for GSocketClientAsyncConnectData 0x9ad9ad83b90 658s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 658s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 658s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 658s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 658s ok 1 /socket-client/connection-fail 658s # slow test /socket-client/connection-fail executed in 1.20 secs 658s # Start of happy-eyeballs tests 658s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9ad9ad90c50 and GSocketClientAsyncConnectData 0x9ad9ad8ef00 658s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 658s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 658s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x9ad9ad915d0 for GSocketClientAsyncConnectData 0x9ad9ad8ef00 658s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 659s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 659s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 659s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 659s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 659s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 659s ok 2 /socket-client/happy-eyeballs/slow 659s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 659s # Start of cancellation tests 659s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9ad9ad92240 and GSocketClientAsyncConnectData 0x9ad9ad91160 659s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 659s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 659s ok 3 /socket-client/happy-eyeballs/cancellation/instant 659s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9ad9ad90c90 and GSocketClientAsyncConnectData 0x9ad9ad924d0 659s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 659s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 659s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x9ad9ad92ca0 for GSocketClientAsyncConnectData 0x9ad9ad924d0 659s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 660s # Executing: glib/gsocketclient-slow.test 660s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 660s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 660s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 660s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 660s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 660s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 660s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 660s # End of cancellation tests 660s # End of happy-eyeballs tests 660s # End of socket-client tests 660s ok - glib/gsocketclient-slow.test 660s # Running test: glib/notify-init.test 660s TAP version 14 660s # random seed: R02S32cae8e7099279fa73e3cf5b08154815 660s 1..1 660s # Start of properties tests 660s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 660s ok 1 /properties/notify-in-init 660s # End of properties tests 660s ok - glib/notify-init.test 660s # Running test: glib/genmarshal.py.test 660s TAP version 13 660s ok 1 __main__.TestGenmarshal.test_empty_list 660s # tmpdir: /tmp/tmp1naz2iv5 660s # genmarshal: /usr/bin/glib-genmarshal 660s # /tmp/tmp1naz2iv5/tmpdd4jndi5.list: 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1naz2iv5/tmpdd4jndi5.list', '--header', '--quiet'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # 660s # #include 660s # 660s # G_BEGIN_DECLS 660s # 660s # 660s # G_END_DECLS 660s # 660s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1naz2iv5/tmpdd4jndi5.list', '--body', '--quiet'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #include 660s # 660s # #ifdef G_ENABLE_DEBUG 660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 660s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 660s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 660s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 660s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 660s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 660s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 660s # #else /* !G_ENABLE_DEBUG */ 660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 660s # * Do not access GValues directly in your code. Instead, use the 660s # * g_value_get_*() functions 660s # */ 660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 660s # #endif /* !G_ENABLE_DEBUG */ 660s ok 2 __main__.TestGenmarshal.test_help 660s # tmpdir: /tmp/tmpjj12pwmb 660s # genmarshal: /usr/bin/glib-genmarshal 660s # Running: ['/usr/bin/glib-genmarshal', '--help'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 660s # [--internal] [--valist-marshallers] [-v] 660s # [--g-fatal-warnings] [--include-header [HEADER]] 660s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 660s # [--prototypes] [--header] [--body] 660s # [--stdinc | --nostdinc] [--quiet | --verbose] 660s # [FILE ...] 660s # 660s # Generate signal marshallers for GObject 660s # 660s # positional arguments: 660s # FILE Files with lists of marshallers to generate, or "-" 660s # for standard input 660s # 660s # options: 660s # -h, --help show this help message and exit 660s # --prefix STRING Specify marshaller prefix 660s # --output FILE Write output into the specified file 660s # --skip-source Skip source location comments 660s # --internal Mark generated functions as internal 660s # --valist-marshallers Generate va_list marshallers 660s # -v, --version Print version information, and exit 660s # --g-fatal-warnings Make warnings fatal 660s # --include-header [HEADER] 660s # Include the specified header in the body 660s # --pragma-once Use "pragma once" as the inclusion guard 660s # -D CPP_DEFINES Pre-processor define 660s # -U CPP_UNDEFINES Pre-processor undefine 660s # --prototypes Generate the marshallers prototype in the C code 660s # --header Generate C headers 660s # --body Generate C code 660s # --stdinc Include standard marshallers 660s # --nostdinc Use standard marshallers 660s # --quiet Only print warnings and errors 660s # --verbose Be verbose, and include debugging information 660s ok 3 __main__.TestGenmarshal.test_no_args 660s # tmpdir: /tmp/tmpulnnts54 660s # genmarshal: /usr/bin/glib-genmarshal 660s # Running: ['/usr/bin/glib-genmarshal'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # Output: 660s ok 4 __main__.TestGenmarshal.test_void_boolean 660s # tmpdir: /tmp/tmpaa3_i1w9 660s # genmarshal: /usr/bin/glib-genmarshal 660s # /tmp/tmpaa3_i1w9/tmp70lylxkw.list: VOID:BOOLEAN 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpaa3_i1w9/tmp70lylxkw.list', '--header', '--quiet'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # 660s # #include 660s # 660s # G_BEGIN_DECLS 660s # 660s # /* VOID:BOOLEAN (/tmp/tmpaa3_i1w9/tmp70lylxkw.list:1) */ 660s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 660s # 660s # 660s # G_END_DECLS 660s # 660s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpaa3_i1w9/tmp70lylxkw.list', '--body', '--quiet'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #include 660s # 660s # #ifdef G_ENABLE_DEBUG 660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 660s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 660s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 660s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 660s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 660s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 660s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 660s # #else /* !G_ENABLE_DEBUG */ 660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 660s # * Do not access GValues directly in your code. Instead, use the 660s # * g_value_get_*() functions 660s # */ 660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 660s # #endif /* !G_ENABLE_DEBUG */ 660s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 660s # tmpdir: /tmp/tmpwbhh16tg 660s # genmarshal: /usr/bin/glib-genmarshal 660s # /tmp/tmpwbhh16tg/tmprha_fjtk.list: VOID:BOOLEAN,INT64 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwbhh16tg/tmprha_fjtk.list', '--header', '--quiet'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # 660s # #include 660s # 660s # G_BEGIN_DECLS 660s # 660s # /* VOID:BOOLEAN,INT64 (/tmp/tmpwbhh16tg/tmprha_fjtk.list:1) */ 660s # extern 660s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 660s # GValue *return_value, 660s # guint n_param_values, 660s # const GValue *param_values, 660s # gpointer invocation_hint, 660s # gpointer marshal_data); 660s # 660s # 660s # G_END_DECLS 660s # 660s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwbhh16tg/tmprha_fjtk.list', '--body', '--quiet'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #include 660s # 660s # #ifdef G_ENABLE_DEBUG 660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 660s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 660s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 660s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 660s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 660s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 660s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 660s # #else /* !G_ENABLE_DEBUG */ 660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 660s # * Do not access GValues directly in your code. Instead, use the 660s # * g_value_get_*() functions 660s # */ 660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 660s # #endif /* !G_ENABLE_DEBUG */ 660s # 660s # /* VOID:BOOLEAN,INT64 (/tmp/tmpwbhh16tg/tmprha_fjtk.list:1) */ 660s # void 660s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 660s # GValue *return_value G_GNUC_UNUSED, 660s # guint n_param_values, 660s # const GValue *param_values, 660s # gpointer invocation_hint G_GNUC_UNUSED, 660s # gpointer marshal_data) 660s # { 660s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 660s # gboolean arg1, 660s # gint64 arg2, 660s # gpointer data2); 660s # GCClosure *cc = (GCClosure *) closure; 660s # gpointer data1, data2; 660s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 660s # 660s # g_return_if_fail (n_param_values == 3); 660s # 660s # if (G_CCLOSURE_SWAP_DATA (closure)) 660s # { 660s # data1 = closure->data; 660s # data2 = g_value_peek_pointer (param_values + 0); 660s # } 660s # else 660s # { 660s # data1 = g_value_peek_pointer (param_values + 0); 660s # data2 = closure->data; 660s # } 660s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 660s # 660s # callback (data1, 660s # g_marshal_value_peek_boolean (param_values + 1), 660s # g_marshal_value_peek_int64 (param_values + 2), 660s # data2); 660s # } 660s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 660s # tmpdir: /tmp/tmpb79qlau_ 660s # genmarshal: /usr/bin/glib-genmarshal 660s # /tmp/tmpb79qlau_/tmphhjvvz9r.list: VOID:PARAM 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb79qlau_/tmphhjvvz9r.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # 660s # G_BEGIN_DECLS 660s # 660s # /* VOID:PARAM (/tmp/tmpb79qlau_/tmphhjvvz9r.list:1) */ 660s # extern 660s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 660s # GValue *return_value, 660s # guint n_param_values, 660s # const GValue *param_values, 660s # gpointer invocation_hint, 660s # gpointer marshal_data); 660s # extern 660s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 660s # GValue *return_value, 660s # gpointer instance, 660s # va_list args, 660s # gpointer marshal_data, 660s # int n_params, 660s # GType *param_types); 660s # 660s # 660s # G_END_DECLS 660s # 660s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb79qlau_/tmphhjvvz9r.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #ifdef G_ENABLE_DEBUG 660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 660s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 660s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 660s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 660s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 660s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 660s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 660s # #else /* !G_ENABLE_DEBUG */ 660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 660s # * Do not access GValues directly in your code. Instead, use the 660s # * g_value_get_*() functions 660s # */ 660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 660s # #endif /* !G_ENABLE_DEBUG */ 660s # 660s # /* VOID:PARAM (/tmp/tmpb79qlau_/tmphhjvvz9r.list:1) */ 660s # void 660s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 660s # GValue *return_value G_GNUC_UNUSED, 660s # guint n_param_values, 660s # const GValue *param_values, 660s # gpointer invocation_hint G_GNUC_UNUSED, 660s # gpointer marshal_data) 660s # { 660s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 660s # gpointer arg1, 660s # gpointer data2); 660s # GCClosure *cc = (GCClosure *) closure; 660s # gpointer data1, data2; 660s # GMarshalFunc_VOID__PARAM callback; 660s # 660s # g_return_if_fail (n_param_values == 2); 660s # 660s # if (G_CCLOSURE_SWAP_DATA (closure)) 660s # { 660s # data1 = closure->data; 660s # data2 = g_value_peek_pointer (param_values + 0); 660s # } 660s # else 660s # { 660s # data1 = g_value_peek_pointer (param_values + 0); 660s # data2 = closure->data; 660s # } 660s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 660s # 660s # callback (data1, 660s # g_marshal_value_peek_param (param_values + 1), 660s # data2); 660s # } 660s # 660s # void 660s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 660s # GValue *return_value G_GNUC_UNUSED, 660s # gpointer instance, 660s # va_list args, 660s # gpointer marshal_data, 660s # int n_params, 660s # GType *param_types) 660s # { 660s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 660s # gpointer arg1, 660s # gpointer data2); 660s # GCClosure *cc = (GCClosure *) closure; 660s # gpointer data1, data2; 660s # GMarshalFunc_VOID__PARAM callback; 660s # gpointer arg0; 660s # va_list args_copy; 660s # 660s # va_copy (args_copy, args); 660s # arg0 = (gpointer) va_arg (args_copy, gpointer); 660s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 660s # arg0 = g_param_spec_ref (arg0); 660s # va_end (args_copy); 660s # 660s # 660s # if (G_CCLOSURE_SWAP_DATA (closure)) 660s # { 660s # data1 = closure->data; 660s # data2 = instance; 660s # } 660s # else 660s # { 660s # data1 = instance; 660s # data2 = closure->data; 660s # } 660s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 660s # 660s # callback (data1, 660s # arg0, 660s # data2); 660s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 660s # g_param_spec_unref (arg0); 660s # } 660s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 660s # tmpdir: /tmp/tmp7rj3q27w 660s # genmarshal: /usr/bin/glib-genmarshal 660s # /tmp/tmp7rj3q27w/tmpttzptux3.list: VOID:STRING 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7rj3q27w/tmpttzptux3.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # 660s # G_BEGIN_DECLS 660s # 660s # /* VOID:STRING (/tmp/tmp7rj3q27w/tmpttzptux3.list:1) */ 660s # extern 660s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 660s # GValue *return_value, 660s # guint n_param_values, 660s # const GValue *param_values, 660s # gpointer invocation_hint, 660s # gpointer marshal_data); 660s # extern 660s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 660s # GValue *return_value, 660s # gpointer instance, 660s # va_list args, 660s # gpointer marshal_data, 660s # int n_params, 660s # GType *param_types); 660s # 660s # 660s # G_END_DECLS 660s # 660s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7rj3q27w/tmpttzptux3.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #ifdef G_ENABLE_DEBUG 660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 660s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 660s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 660s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 660s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 660s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 660s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 660s # #else /* !G_ENABLE_DEBUG */ 660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 660s # * Do not access GValues directly in your code. Instead, use the 660s # * g_value_get_*() functions 660s # */ 660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 660s # #endif /* !G_ENABLE_DEBUG */ 660s # 660s # /* VOID:STRING (/tmp/tmp7rj3q27w/tmpttzptux3.list:1) */ 660s # void 660s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 660s # GValue *return_value G_GNUC_UNUSED, 660s # guint n_param_values, 660s # const GValue *param_values, 660s # gpointer invocation_hint G_GNUC_UNUSED, 660s # gpointer marshal_data) 660s # { 660s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 660s # gpointer arg1, 660s # gpointer data2); 660s # GCClosure *cc = (GCClosure *) closure; 660s # gpointer data1, data2; 660s # GMarshalFunc_VOID__STRING callback; 660s # 660s # g_return_if_fail (n_param_values == 2); 660s # 660s # if (G_CCLOSURE_SWAP_DATA (closure)) 660s # { 660s # data1 = closure->data; 660s # data2 = g_value_peek_pointer (param_values + 0); 660s # } 660s # else 660s # { 660s # data1 = g_value_peek_pointer (param_values + 0); 660s # data2 = closure->data; 660s # } 660s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 660s # 660s # callback (data1, 660s # g_marshal_value_peek_string (param_values + 1), 660s # data2); 660s # } 660s # 660s # void 660s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 660s # GValue *return_value G_GNUC_UNUSED, 660s # gpointer instance, 660s # va_list args, 660s # gpointer marshal_data, 660s # int n_params, 660s # GType *param_types) 660s # { 660s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 660s # gpointer arg1, 660s # gpointer data2); 660s # GCClosure *cc = (GCClosure *) closure; 660s # gpointer data1, data2; 660s # GMarshalFunc_VOID__STRING callback; 660s # gpointer arg0; 660s # va_list args_copy; 660s # 660s # va_copy (args_copy, args); 660s # arg0 = (gpointer) va_arg (args_copy, gpointer); 660s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 660s # arg0 = g_strdup (arg0); 660s # va_end (args_copy); 660s # 660s # 660s # if (G_CCLOSURE_SWAP_DATA (closure)) 660s # { 660s # data1 = closure->data; 660s # data2 = instance; 660s # } 660s # else 660s # { 660s # data1 = instance; 660s # data2 = closure->data; 660s # } 660s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 660s # 660s # callback (data1, 660s # arg0, 660s # data2); 660s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 660s # g_free (arg0); 660s # } 660s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 660s # tmpdir: /tmp/tmp9shbdqst 660s # genmarshal: /usr/bin/glib-genmarshal 660s # /tmp/tmp9shbdqst/tmpp6eequke.list: VOID:VARIANT 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9shbdqst/tmpp6eequke.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 660s # 660s # G_BEGIN_DECLS 660s # 660s # /* VOID:VARIANT (/tmp/tmp9shbdqst/tmpp6eequke.list:1) */ 660s # extern 660s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 660s # GValue *return_value, 660s # guint n_param_values, 660s # const GValue *param_values, 660s # gpointer invocation_hint, 660s # gpointer marshal_data); 660s # extern 660s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 660s # GValue *return_value, 660s # gpointer instance, 660s # va_list args, 660s # gpointer marshal_data, 660s # int n_params, 660s # GType *param_types); 660s # 660s # 660s # G_END_DECLS 660s # 660s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 660s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp9shbdqst/tmpp6eequke.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 660s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 660s # 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. */ 660s # #ifdef G_ENABLE_DEBUG 660s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 660s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 660s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 660s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 660s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 660s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 660s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 660s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 660s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 660s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 660s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 660s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 660s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 660s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 660s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 660s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 660s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 660s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 660s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 660s # #else /* !G_ENABLE_DEBUG */ 660s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 660s # * Do not access GValues directly in your code. Instead, use the 660s # * g_value_get_*() functions 660s # */ 660s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 660s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 660s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 660s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 660s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 660s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 660s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 660s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 660s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 660s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 660s # #endif /* !G_ENABLE_DEBUG */ 660s # 660s # /* VOID:VARIANT (/tmp/tmp9shbdqst/tmpp6eequke.list:1) */ 660s # void 660s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 660s # GValue *return_value G_GNUC_UNUSED, 660s # guint n_param_values, 660s # const GValue *param_values, 660s # gpointer invocation_hint G_GNUC_UNUSED, 660s # gpointer marshal_data) 660s # { 660s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 660s # gpointer arg1, 660s # gpointer data2); 660s # GCClosure *cc = (GCClosure *) closure; 660s # gpointer data1, data2; 660s # GMarshalFunc_VOID__VARIANT callback; 660s # 660s # g_return_if_fail (n_param_values == 2); 660s # 660s # if (G_CCLOSURE_SWAP_DATA (closure)) 660s # { 660s # data1 = closure->data; 660s # data2 = g_value_peek_pointer (param_values + 0); 660s # } 660s # else 660s # { 660s # data1 = g_value_peek_pointer (param_values + 0); 660s # data2 = closure->data; 660s # } 660s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 660s # 660s # callback (data1, 660s # g_marshal_value_peek_variant (param_values + 1), 660s # data2); 660s # } 660s # 660s # void 660s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 660s # GValue *return_value G_GNUC_UNUSED, 660s # gpointer instance, 660s # va_list args, 660s # gpointer marshal_data, 660s # int n_params, 660s # GType *param_types) 660s # { 660s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 660s # gpointer arg1, 660s # gpointer data2); 660s # GCClosure *cc = (GCClosure *) closure; 660s # gpointer data1, data2; 660s # GMarshalFunc_VOID__VARIANT callback; 660s # gpointer arg0; 660s # va_list args_copy; 660s # 660s # va_copy (args_copy, args); 660s # arg0 = (gpointer) va_arg (args_copy, gpointer); 660s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 660s # arg0 = g_variant_ref_sink (arg0); 660s # va_end (args_copy); 660s # 660s # 660s # if (G_CCLOSURE_SWAP_DATA (closure)) 660s # { 660s # data1 = closure->data; 660s # data2 = instance; 660s # } 660s # else 660s # { 660s # data1 = instance; 660s # data2 = closure->data; 660s # } 660s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 660s # 660s # callback (data1, 660s # arg0, 660s # data2); 660s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 660s # g_variant_unref (arg0); 660s # } 660s 1..8 660s ok - glib/genmarshal.py.test 660s # Running test: glib/gdbus-proxy-unique-name.test 660s TAP version 14 660s # random seed: R02S022ad9a3a1805177f43ef5ba71f139f8 660s 1..1 660s # Start of gdbus tests 660s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_9ZMBX2/gdbus/proxy-unique-name/.dirs/home 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_9ZMBX2/gdbus/proxy-unique-name/.dirs/cache 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_9ZMBX2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_9ZMBX2/gdbus/proxy-unique-name/.dirs/system-config2 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_9ZMBX2/gdbus/proxy-unique-name/.dirs/config 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_9ZMBX2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_9ZMBX2/gdbus/proxy-unique-name/.dirs/system-data2 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_9ZMBX2/gdbus/proxy-unique-name/.dirs/data 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_9ZMBX2/gdbus/proxy-unique-name/.dirs/state 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_9ZMBX2/gdbus/proxy-unique-name/.dirs/runtime 660s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 660s ok 1 /gdbus/proxy-unique-name 660s # End of gdbus tests 660s ok - glib/gdbus-proxy-unique-name.test 660s # Running test: glib/registered-type-info.test 660s TAP version 14 660s # random seed: R02S9b7e72cfb27526c9cb4714897929f51d 660s 1..1 660s # Start of registered-type-info tests 660s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_079CX2/registered-type-info/boxed/.dirs/home 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_079CX2/registered-type-info/boxed/.dirs/cache 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_079CX2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_079CX2/registered-type-info/boxed/.dirs/system-config2 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_079CX2/registered-type-info/boxed/.dirs/config 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_079CX2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_079CX2/registered-type-info/boxed/.dirs/system-data2 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_079CX2/registered-type-info/boxed/.dirs/data 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_079CX2/registered-type-info/boxed/.dirs/state 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_079CX2/registered-type-info/boxed/.dirs/runtime 660s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 660s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 660s # Expecting CClosure to not be boxed 660s # Expecting TypeCValue to not be boxed 660s # Expecting InitiallyUnownedClass to not be boxed 660s # Expecting BookmarkFile to be boxed 660s # Expecting Closure to be boxed 660s # Expecting Object to not be boxed 660s ok 1 /registered-type-info/boxed 660s # End of registered-type-info tests 660s ok - glib/registered-type-info.test 660s # Running test: glib/gnotification.test 660s TAP version 14 660s # random seed: R02Sfc47da72b4e2a2f1673fd0eddc0805bb 660s 1..2 660s # Start of gnotification tests 660s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 660s ok 1 /gnotification/basic 660s ok 2 /gnotification/properties 660s # End of gnotification tests 660s ok - glib/gnotification.test 660s # Running test: glib/utils-c-17.test 660s TAP version 14 660s # random seed: R02S842ef714deaf0620a0405237057c115e 660s 1..40 660s # Start of utils tests 660s ok 1 /utils/language-names 660s ok 2 /utils/locale-variants 660s ok 3 /utils/version 660s ok 4 /utils/appname 660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 660s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 660s ok 5 /utils/prgname-thread-safety 660s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 660s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 660s ok 6 /utils/tmpdir 660s ok 7 /utils/basic_bits 660s ok 8 /utils/bits 660s ok 9 /utils/swap 660s ok 10 /utils/find-program 660s ok 11 /utils/find-program-for-path 660s ok 12 /utils/debug 660s ok 13 /utils/codeset 660s ok 14 /utils/codeset2 660s ok 15 /utils/console-charset 660s ok 16 /utils/gettext 660s ok 17 /utils/username 660s ok 18 /utils/realname 660s ok 19 /utils/hostname 660s ok 20 /utils/xdgdirs 660s ok 21 /utils/specialdir 660s # NAME: Ubuntu 660s ok 22 /utils/os-info 660s ok 23 /utils/clear-pointer 660s ok 24 /utils/clear-pointer-cast 660s ok 25 /utils/take-pointer 660s ok 26 /utils/clear-source 660s ok 27 /utils/misc-mem 660s # /utils/aligned-mem summary: Aligned memory allocator 660s # Alignment must not be zero 660s # Alignment must be a power of two 660s # Alignment must be a multiple of sizeof(void*) 660s ok 28 /utils/aligned-mem 660s # /utils/free-sized summary: Check that g_free_sized() works 660s ok 29 /utils/free-sized 660s ok 30 /utils/nullify 660s ok 31 /utils/atexit 660s ok 32 /utils/check-setuid 660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 660s ok 33 /utils/int-limits 660s ok 34 /utils/clear-list 660s ok 35 /utils/clear-slist 660s # Start of specialdir tests 660s ok 36 /utils/specialdir/desktop 660s # End of specialdir tests 660s # Start of clear-pointer tests 660s ok 37 /utils/clear-pointer/side-effects 660s # End of clear-pointer tests 660s # Start of aligned-mem tests 660s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 660s ok 38 /utils/aligned-mem/alignment 660s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 660s ok 39 /utils/aligned-mem/zeroed 660s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 660s ok 40 /utils/aligned-mem/free-sized 660s # Start of subprocess tests 660s # End of subprocess tests 660s # End of aligned-mem tests 660s # End of utils tests 660s ok - glib/utils-c-17.test 660s # Running test: glib/include.test 660s TAP version 14 660s # random seed: R02S20eff8e3560c4cd9d9f98f41ff46d47a 660s 1..1 660s # Start of include tests 660s ok 1 /include/rwlock 660s # End of include tests 660s ok - glib/include.test 660s # Running test: glib/gdbus-sasl.test 660s TAP version 14 660s # random seed: R02S1ca8b962ed6f8c8bf6af0c50a4011371 660s 1..1 660s # Start of gdbus tests 660s # Start of sasl tests 660s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_XMOEX2/gdbus/sasl/server/.dirs/home 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_XMOEX2/gdbus/sasl/server/.dirs/cache 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_XMOEX2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_XMOEX2/gdbus/sasl/server/.dirs/system-config2 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_XMOEX2/gdbus/sasl/server/.dirs/config 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_XMOEX2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_XMOEX2/gdbus/sasl/server/.dirs/system-data2 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_XMOEX2/gdbus/sasl/server/.dirs/data 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_XMOEX2/gdbus/sasl/server/.dirs/state 660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_XMOEX2/gdbus/sasl/server/.dirs/runtime 660s # New handshake: EXTERNAL with incorrect initial response 660s # C:“AUTH EXTERNAL 30†660s # Expect: /^REJECTED.*$/ 660s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†660s # New handshake: EXTERNAL without initial response, failing to authenticate 660s # C:“AUTH EXTERNAL†660s # Expect: /^DATA$/ 660s # S:“DATA†660s # C:“DATA 30†660s # Expect: /^REJECTED.*$/ 660s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†660s # New handshake: EXTERNAL with initial response 660s # C:“AUTH EXTERNAL 31303030†660s # Expect: /^OK [0-9a-f]+$/ 660s # S:“OK b15f49718803f32f6b38dfe467349f90†660s # New handshake: EXTERNAL without initial response 660s # C:“AUTH EXTERNAL†660s # Expect: /^DATA$/ 660s # S:“DATA†660s # C:“DATA 31303030†660s # Expect: /^OK [0-9a-f]+$/ 660s # S:“OK b15f49718803f32f6b38dfe467349f90†660s # New handshake: EXTERNAL with empty authorization identity 660s # C:“AUTH EXTERNAL†660s # Expect: /^DATA$/ 660s # S:“DATA†660s # C:“DATA†660s # Expect: /^OK [0-9a-f]+$/ 660s # S:“OK b15f49718803f32f6b38dfe467349f90†660s # New handshake: EXTERNAL with empty authorization identity and whitespace 660s # C:“AUTH EXTERNAL†660s # Expect: /^DATA$/ 660s # S:“DATA†660s # C:“DATA †660s # Expect: /^OK [0-9a-f]+$/ 660s # S:“OK b15f49718803f32f6b38dfe467349f90†660s ok 1 /gdbus/sasl/server 660s # End of sasl tests 660s # End of gdbus tests 660s ok - glib/gdbus-sasl.test 660s # Running test: glib/node.test 660s TAP version 14 660s # random seed: R02S48fe896dfae41397778d86fc9d1085a3 660s 1..6 660s # Start of node tests 660s ok 1 /node/allocation 660s ok 2 /node/construction 660s ok 3 /node/traversal 660s ok 4 /node/misc 660s ok 5 /node/unlink 660s ok 6 /node/copy 660s # End of node tests 660s ok - glib/node.test 660s # Running test: glib/io-stream.test 660s TAP version 14 660s # random seed: R02Se50d439ec90e634905ed7d18f85e4730 660s 1..3 660s # Start of io-stream tests 660s ok 1 /io-stream/copy-chunks 660s # Start of close tests 660s # Start of async tests 660s ok 2 /io-stream/close/async/memory 660s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 660s ok 3 /io-stream/close/async/file 660s # End of async tests 660s # End of close tests 660s # End of io-stream tests 660s ok - glib/io-stream.test 660s # Running test: glib/dir.test 660s TAP version 14 660s # random seed: R02S1de2febfd06360412ea949932de9031d 660s 1..3 660s # Start of dir tests 660s ok 1 /dir/read 660s ok 2 /dir/nonexisting 660s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 660s ok 3 /dir/refcounting 660s # End of dir tests 660s ok - glib/dir.test 660s # Running test: glib/onceinit.test 660s TAP version 14 660s # random seed: R02S6ce67b9b5f854add6f39b0027ef92baa 660s 1..1 660s # Start of thread tests 661s ok 1 /thread/onceinit 661s # End of thread tests 661s ok - glib/onceinit.test 661s # Running test: glib/sequence.test 661s TAP version 14 661s # random seed: R02Sd799f355c35ff15df6f33da01fbe09d3 661s 1..16 661s # Start of sequence tests 661s ok 1 /sequence/out-of-range-jump 661s ok 2 /sequence/iter-move 661s ok 3 /sequence/insert-sorted-non-pointer 661s ok 4 /sequence/stable-sort 661s ok 5 /sequence/is_empty 661s # Start of random tests 661s ok 6 /sequence/random/seed:825541564 661s # slow test /sequence/random/seed:825541564 executed in 0.74 secs 662s ok 7 /sequence/random/seed:801678400 662s # slow test /sequence/random/seed:801678400 executed in 0.70 secs 663s ok 8 /sequence/random/seed:1477639090 663s # slow test /sequence/random/seed:1477639090 executed in 0.72 secs 664s ok 9 /sequence/random/seed:3369132895 664s # slow test /sequence/random/seed:3369132895 executed in 0.66 secs 664s ok 10 /sequence/random/seed:1192944867 664s # slow test /sequence/random/seed:1192944867 executed in 0.70 secs 665s # Executing: glib/sequence.test 665s ok 11 /sequence/random/seed:770458294 665s # slow test /sequence/random/seed:770458294 executed in 0.74 secs 666s ok 12 /sequence/random/seed:1099575817 666s # slow test /sequence/random/seed:1099575817 executed in 0.70 secs 666s ok 13 /sequence/random/seed:590523467 666s # slow test /sequence/random/seed:590523467 executed in 0.72 secs 667s ok 14 /sequence/random/seed:3583571454 667s # slow test /sequence/random/seed:3583571454 executed in 0.73 secs 668s ok 15 /sequence/random/seed:579241222 668s # slow test /sequence/random/seed:579241222 executed in 0.72 secs 669s ok 16 /sequence/random/seed:1274861171 669s # slow test /sequence/random/seed:1274861171 executed in 0.71 secs 669s # End of random tests 669s # End of sequence tests 669s ok - glib/sequence.test 669s # Running test: glib/cxx-03.test 669s TAP version 14 669s # random seed: R02Sda3a61f032e2d1694c7bcabd0d90da24 669s 1..2 669s # Start of gtask tests 669s # 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. 669s ok 1 /gtask/name 669s # Start of name tests 669s # 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. 669s ok 2 /gtask/name/macro-wrapper 669s # End of name tests 669s # End of gtask tests 669s ok - glib/cxx-03.test 669s # Running test: glib/socket-service.test 669s TAP version 14 669s # random seed: R02S43d25700cd4118a4aa928d5faa4f382c 669s 1..4 669s # Start of socket-service tests 669s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 669s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a37bb74c370 and GSocketClientAsyncConnectData 0x1a37bb744620 669s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 669s ok 1 /socket-service/start-stop 669s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a37bb74ded0 and GSocketClientAsyncConnectData 0x1a37bb74dc70 669s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 669s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 669s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a37bb74e3e0 for GSocketClientAsyncConnectData 0x1a37bb744620 669s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 669s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 669s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 669s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 669s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 669s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a37bb74f260 for GSocketClientAsyncConnectData 0x1a37bb74dc70 669s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 669s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 669s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 669s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 669s ok 2 /socket-service/read_write_async 669s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a37bb751fb0 and GSocketClientAsyncConnectData 0x1a37bb74f9d0 669s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 669s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 669s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a37bb750190 for GSocketClientAsyncConnectData 0x1a37bb74f9d0 669s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 669s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 669s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 669s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 669s ok 3 /socket-service/read_writev_async 669s # Start of threaded tests 669s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 669s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a37bb753710 and GSocketClientAsyncConnectData 0x1a37bb74fd50 669s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 669s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 669s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a37bb753940 for GSocketClientAsyncConnectData 0x1a37bb74fd50 669s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 669s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 669s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 669s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 669s ok 4 /socket-service/threaded/712570 669s # End of threaded tests 669s # End of socket-service tests 669s ok - glib/socket-service.test 669s # Running test: glib/messages-low-memory.py.test 669s TAP version 13 669s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 669s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 669s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 669s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.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': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-jsyF4e9scO,guid=1effac8233ce0b5abfe344d467349e30', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.4RlHhU/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.GNpFjmgAtw', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.OwhaTC/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.4RlHhU/wrapper.sh --artifacts=/tmp/autopkgtest.4RlHhU/installed-tests-artifacts --chdir=/tmp/autopkgtest.4RlHhU/build.7fc/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.4RlHhU/installed-tests-stderr --stdout=/tmp/autopkgtest.4RlHhU/installed-tests-stdout --tmp=/tmp/autopkgtest.4RlHhU/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=python3-defaults/3.12.7-1 python3-stdlib-extensions/3.12.7-1' --make-executable=/tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests -- /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=2', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.4RlHhU/build.7fc/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.4RlHhU/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 669s # Return code: -6 669s # Output: 669s # Error: GLib-Message: 12:46:17.109: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 669s # GLib-Message: 12:46:17.109: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 669s # ../../../glib/gprintf.c:350: failed to allocate memory 669s 1..1 669s ok - glib/messages-low-memory.py.test 669s # Running test: glib/search-utils.test 669s TAP version 14 669s # random seed: R02S321d6a981a6f1ab4a848d309e24c660c 669s # GLib-DEBUG: Current user locale: C.UTF-8 669s 1..6 669s # Start of search tests 669s # GLib-DEBUG: Started 669s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 669s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 669s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 669s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 669s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 669s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 669s ok 1 /search/basic 669s # GLib-DEBUG: Started 669s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 669s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 669s # GLib-DEBUG: 'ele' - 'élève' should match: OK 669s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 669s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 669s ok 2 /search/composed 669s # GLib-DEBUG: Started 669s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 669s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 669s ok 3 /search/decomposed 669s # GLib-DEBUG: Started 669s # GLib-DEBUG: 'ist' - 'Ä°stanbul' should match: OK 669s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 669s ok 4 /search/turkish 669s # GLib-DEBUG: Started 669s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 669s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 669s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 669s ok 5 /search/c_locale_unicode 669s # GLib-DEBUG: Started 669s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 669s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 669s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 669s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 669s ok 6 /search/multi_words 669s # End of search tests 669s ok - glib/search-utils.test 669s # Running test: glib/gdbus-non-socket.test 669s TAP version 14 669s # random seed: R02Sa6898fc549769fd968a58dd2fddc98c5 669s 1..1 669s # Start of gdbus tests 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_HNK7W2/gdbus/non-socket/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_HNK7W2/gdbus/non-socket/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_HNK7W2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_HNK7W2/gdbus/non-socket/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_HNK7W2/gdbus/non-socket/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_HNK7W2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_HNK7W2/gdbus/non-socket/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_HNK7W2/gdbus/non-socket/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_HNK7W2/gdbus/non-socket/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_HNK7W2/gdbus/non-socket/.dirs/runtime 669s ok 1 /gdbus/non-socket 669s # End of gdbus tests 669s ok - glib/gdbus-non-socket.test 669s # Running test: glib/pattern.test 669s TAP version 14 669s # random seed: R02S5a1e0fe46f33168e028abad155317aad 669s 1..90 669s # Start of pattern tests 669s # Start of compile tests 669s ok 1 /pattern/compile/0 669s ok 2 /pattern/compile/1 669s ok 3 /pattern/compile/2 669s ok 4 /pattern/compile/3 669s ok 5 /pattern/compile/4 669s ok 6 /pattern/compile/5 669s ok 7 /pattern/compile/6 669s ok 8 /pattern/compile/7 669s ok 9 /pattern/compile/8 669s ok 10 /pattern/compile/9 669s ok 11 /pattern/compile/10 669s ok 12 /pattern/compile/11 669s ok 13 /pattern/compile/12 669s ok 14 /pattern/compile/13 669s # End of compile tests 669s # Start of copy tests 669s ok 15 /pattern/copy/0 669s ok 16 /pattern/copy/1 669s ok 17 /pattern/copy/2 669s ok 18 /pattern/copy/3 669s ok 19 /pattern/copy/4 669s ok 20 /pattern/copy/5 669s ok 21 /pattern/copy/6 669s ok 22 /pattern/copy/7 669s ok 23 /pattern/copy/8 669s ok 24 /pattern/copy/9 669s ok 25 /pattern/copy/10 669s ok 26 /pattern/copy/11 669s ok 27 /pattern/copy/12 669s ok 28 /pattern/copy/13 669s # End of copy tests 669s # Start of match tests 669s ok 29 /pattern/match/0 669s ok 30 /pattern/match/1 669s ok 31 /pattern/match/2 669s ok 32 /pattern/match/3 669s ok 33 /pattern/match/4 669s ok 34 /pattern/match/5 669s ok 35 /pattern/match/6 669s ok 36 /pattern/match/7 669s ok 37 /pattern/match/8 669s ok 38 /pattern/match/9 669s ok 39 /pattern/match/10 669s ok 40 /pattern/match/11 669s ok 41 /pattern/match/12 669s ok 42 /pattern/match/13 669s ok 43 /pattern/match/14 669s ok 44 /pattern/match/15 669s ok 45 /pattern/match/16 669s ok 46 /pattern/match/17 669s ok 47 /pattern/match/18 669s ok 48 /pattern/match/19 669s ok 49 /pattern/match/20 669s ok 50 /pattern/match/21 669s ok 51 /pattern/match/22 669s ok 52 /pattern/match/23 669s ok 53 /pattern/match/24 669s ok 54 /pattern/match/25 669s ok 55 /pattern/match/26 669s ok 56 /pattern/match/27 669s ok 57 /pattern/match/28 669s ok 58 /pattern/match/29 669s ok 59 /pattern/match/30 669s ok 60 /pattern/match/31 669s ok 61 /pattern/match/32 669s ok 62 /pattern/match/33 669s ok 63 /pattern/match/34 669s ok 64 /pattern/match/35 669s ok 65 /pattern/match/36 669s ok 66 /pattern/match/37 669s ok 67 /pattern/match/38 669s ok 68 /pattern/match/39 669s ok 69 /pattern/match/40 669s ok 70 /pattern/match/41 669s ok 71 /pattern/match/42 669s ok 72 /pattern/match/43 669s ok 73 /pattern/match/44 669s ok 74 /pattern/match/45 669s ok 75 /pattern/match/46 669s ok 76 /pattern/match/47 669s ok 77 /pattern/match/48 669s ok 78 /pattern/match/49 669s ok 79 /pattern/match/50 669s # End of match tests 669s # Start of equal tests 669s ok 80 /pattern/equal/0 669s ok 81 /pattern/equal/1 669s ok 82 /pattern/equal/2 669s ok 83 /pattern/equal/3 669s ok 84 /pattern/equal/4 669s ok 85 /pattern/equal/5 669s ok 86 /pattern/equal/6 669s ok 87 /pattern/equal/7 669s ok 88 /pattern/equal/8 669s ok 89 /pattern/equal/9 669s ok 90 /pattern/equal/10 669s # End of equal tests 669s # End of pattern tests 669s ok - glib/pattern.test 669s # Running test: glib/portal-support-snap-classic.test 669s TAP version 14 669s # random seed: R02Sa8d78d51f2036e4c6292471153660414 669s 1..3 669s # Start of portal-support tests 669s # Start of snap-classic tests 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/no-snapctl/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/no-snapctl/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/no-snapctl/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/no-snapctl/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/no-snapctl/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/no-snapctl/.dirs/runtime 669s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/no-snapctl: No such file or directory 669s ok 1 /portal-support/snap-classic/no-snapctl 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none/.dirs/runtime 669s # Created snap.yaml in /tmp/test_portal-support-snap-classic_6HE9W2/meta/snap.yaml 669s # Created snapctl in /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none/.dirs/runtime/snapctl 669s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/none: No such file or directory 669s ok 2 /portal-support/snap-classic/none 669s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all/.dirs/home 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all/.dirs/cache 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all/.dirs/system-config2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all/.dirs/config 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all/.dirs/system-data2 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all/.dirs/data 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all/.dirs/state 669s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all/.dirs/runtime 669s # Created snap.yaml in /tmp/test_portal-support-snap-classic_6HE9W2/meta/snap.yaml 669s # Created snapctl in /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all/.dirs/runtime/snapctl 669s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_6HE9W2/portal-support/snap-classic/all: No such file or directory 669s ok 3 /portal-support/snap-classic/all 669s # End of snap-classic tests 669s # End of portal-support tests 669s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_6HE9W2: No such file or directory 669s ok - glib/portal-support-snap-classic.test 669s # Running test: glib/signals-refcount1.test 669s TAP version 14 669s # random seed: R02S08194bebec66512530cc6889c34348be 669s 1..1 669s # Start of gobject tests 669s # Start of refcount tests 669s # init 0xcbbc03ef420 669s # 669s # init 0xcbbc03ef5c0 669s # 670s # Executing: glib/signals-refcount1.test 674s # dispose 0xcbbc03ef420! 674s # 674s # dispose 0xcbbc03ef5c0! 674s # 674s ok 1 /gobject/refcount/signals 674s # slow test /gobject/refcount/signals executed in 5.00 secs 674s # End of refcount tests 674s # End of gobject tests 674s ok - glib/signals-refcount1.test 674s # Running test: glib/gdbus-proxy-threads.test 674s TAP version 14 674s # random seed: R02S528e316d38d39cf1322c602e52611115 674s 1..1 674s # Start of gdbus tests 674s # Start of proxy tests 674s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_1TG8W2/gdbus/proxy/vs-threads/.dirs/home 674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_1TG8W2/gdbus/proxy/vs-threads/.dirs/cache 674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_1TG8W2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_1TG8W2/gdbus/proxy/vs-threads/.dirs/system-config2 674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_1TG8W2/gdbus/proxy/vs-threads/.dirs/config 674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_1TG8W2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_1TG8W2/gdbus/proxy/vs-threads/.dirs/system-data2 674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_1TG8W2/gdbus/proxy/vs-threads/.dirs/data 674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_1TG8W2/gdbus/proxy/vs-threads/.dirs/state 674s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_1TG8W2/gdbus/proxy/vs-threads/.dirs/runtime 674s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 675s # Executing: glib/gdbus-proxy-threads.test 677s ok 1 /gdbus/proxy/vs-threads 677s # slow test /gdbus/proxy/vs-threads executed in 3.05 secs 677s # End of proxy tests 677s # End of gdbus tests 677s cleaning up pid 15993 677s ok - glib/gdbus-proxy-threads.test 677s # Running test: glib/memory-input-stream.test 677s TAP version 14 677s # random seed: R02S5553f1be1c19e72b3c17bb5e97290894 677s 1..6 677s # Start of memory-input-stream tests 677s ok 1 /memory-input-stream/read-chunks 677s ok 2 /memory-input-stream/async 677s ok 3 /memory-input-stream/seek 677s ok 4 /memory-input-stream/truncate 677s ok 5 /memory-input-stream/read-bytes 677s ok 6 /memory-input-stream/from-bytes 677s # End of memory-input-stream tests 677s ok - glib/memory-input-stream.test 677s # Running test: glib/gobject-private.test 677s TAP version 14 677s # random seed: R02S7b01f04d47409aad528f92935a8a375a 677s 1..3 677s # Start of private tests 677s ok 1 /private/instance 677s ok 2 /private/derived-instance 677s ok 3 /private/mixed-derived-instance 677s # End of private tests 677s ok - glib/gobject-private.test 677s # Running test: glib/spawn-path-search.test 677s TAP version 14 677s # random seed: R02S3e203a4312c519386069541d4445d4b4 677s 1..7 677s # Start of spawn tests 677s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 677s # 677s # this is spawn-test-helper from glib/tests 677s # 677s ok 1 /spawn/do-not-search 677s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 677s # 677s # this is spawn-test-helper from path-test-subdir 677s # 677s ok 2 /spawn/search-path 677s # /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. 677s # 677s # this is spawn-test-helper from path-test-subdir 677s # 677s ok 3 /spawn/search-path-from-envp 677s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 677s # 677s # this is spawn-test-helper from path-test-subdir 677s # 677s ok 4 /spawn/search-path-ambiguous 677s # 677s # this is spawn-test-helper from path-test-subdir 677s # 677s ok 5 /spawn/search-path-heap-allocation 677s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 677s # 677s # this is spawn-test-helper from glib/tests 677s # 677s ok 6 /spawn/search-path-fallback-in-environ 677s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 677s # 677s # this is spawn-test-helper from glib/tests 677s # 677s ok 7 /spawn/search-path-fallback-in-envp 677s # End of spawn tests 677s ok - glib/spawn-path-search.test 677s # Running test: glib/private.test 677s TAP version 14 677s # random seed: R02S877086d58b490be7a232cd06620f7589 677s 1..8 677s # Start of thread tests 677s ok 1 /thread/private1 678s ok 2 /thread/private2 678s # slow test /thread/private2 executed in 1.15 secs 678s ok 3 /thread/private3 678s ok 4 /thread/staticprivate1 678s ok 5 /thread/staticprivate2 678s ok 6 /thread/staticprivate3 679s ok 7 /thread/staticprivate4 679s # slow test /thread/staticprivate4 executed in 1.14 secs 679s ok 8 /thread/staticprivate5 679s # End of thread tests 679s ok - glib/private.test 679s # Running test: glib/g-file-info-filesystem-readonly.test 679s TAP version 14 679s # random seed: R02S9ddf65373660c1570771c83be36f2b6f 679s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 679s 1..2 679s # Start of g-file-info-filesystem-readonly tests 679s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 679s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 679s # End of g-file-info-filesystem-readonly tests 679s ok - glib/g-file-info-filesystem-readonly.test 679s # Running test: glib/unicode-normalize.test 679s TAP version 14 679s # random seed: R02S804940a0de9a7a17c6bf0385def9e25c 679s 1..3 679s # Start of unicode tests 679s # Processing Part0 # Specific cases 679s # Processing Part1 # Character by character test 679s # Processing Part2 # Canonical Order Test 679s # Processing Part3 # PRI #29 Test 679s ok 1 /unicode/normalize 679s # Invalid UTF-8 vector 0 679s # Invalid UTF-8 vector 1 679s # Invalid UTF-8 vector 2 679s # Invalid UTF-8 vector 3 679s # Invalid UTF-8 vector 4 679s # Invalid UTF-8 vector 5 679s # Invalid UTF-8 vector 6 679s # Invalid UTF-8 vector 7 679s # Invalid UTF-8 vector 8 679s # Invalid UTF-8 vector 9 679s # Invalid UTF-8 vector 10 679s # Invalid UTF-8 vector 11 679s # Invalid UTF-8 vector 12 679s ok 2 /unicode/normalize-invalid 679s # Start of normalize tests 679s ok 3 /unicode/normalize/bad-length 679s # End of normalize tests 679s # End of unicode tests 679s ok - glib/unicode-normalize.test 679s # Running test: glib/strvbuilder.test 679s TAP version 14 679s # random seed: R02S601e2b6eb7f10fd23d7503f0f934b882 679s 1..7 679s # Start of strvbuilder tests 679s ok 1 /strvbuilder/empty 679s ok 2 /strvbuilder/add 679s ok 3 /strvbuilder/addv 679s ok 4 /strvbuilder/add_many 679s ok 5 /strvbuilder/take 679s ok 6 /strvbuilder/ref 679s ok 7 /strvbuilder/unref_to_strv 679s # End of strvbuilder tests 679s ok - glib/strvbuilder.test 679s # Running test: glib/cxx-17.test 679s TAP version 14 679s # random seed: R02Sab1c6330b3a790817146d9399d07fca8 679s 1..2 679s # Start of gtask tests 679s # 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. 679s ok 1 /gtask/name 679s # Start of name tests 679s # 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. 679s ok 2 /gtask/name/macro-wrapper 679s # End of name tests 679s # End of gtask tests 679s ok - glib/cxx-17.test 679s # Running test: glib/thread.test 679s TAP version 14 679s # random seed: R02Sf425f203d8aad5efc9df916b96f419a1 679s 1..7 679s # Start of thread tests 679s ok 1 /thread/thread1 679s ok 2 /thread/thread2 679s ok 3 /thread/thread3 679s ok 4 /thread/thread4 679s ok 5 /thread/thread5 679s ok 6 /thread/thread6 679s ok 7 /thread/thread7 679s # End of thread tests 679s ok - glib/thread.test 679s # Running test: glib/g-icon.test 679s TAP version 14 679s # random seed: R02S496051ece1dce3d451e89f02805cf866 679s 1..6 679s # Start of icons tests 679s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 679s ok 1 /icons/to-string 679s ok 2 /icons/serialize 679s ok 3 /icons/themed 679s ok 4 /icons/emblemed 679s ok 5 /icons/file 679s ok 6 /icons/bytes 679s # End of icons tests 679s ok - glib/g-icon.test 679s # Running test: glib/repository.test 679s TAP version 14 679s # random seed: R02S18db88d7170f8c4586c969531d6bd2d0 679s 1..23 679s # Start of repository tests 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/basic/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/basic/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/basic/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/basic/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/basic/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/basic/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/basic/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/basic/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/basic/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/basic/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 679s ok 1 /repository/basic 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/info/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/info/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/info/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/info/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/info/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/info/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/info/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/info/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/info/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/info/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/info summary: Test retrieving some basic info blobs from a typelib 679s ok 2 /repository/info 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/dependencies/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/dependencies/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/dependencies/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/dependencies/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/dependencies/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/dependencies/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/dependencies/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/dependencies/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 679s ok 3 /repository/dependencies 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/arg-info/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/arg-info/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/arg-info/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/arg-info/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/arg-info/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/arg-info/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/arg-info/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/arg-info/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 679s ok 4 /repository/arg-info 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/callable-info/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/callable-info/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/callable-info/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/callable-info/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/callable-info/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/callable-info/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/callable-info/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/callable-info/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 679s ok 5 /repository/callable-info 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/callback-info/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/callback-info/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/callback-info/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/callback-info/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/callback-info/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/callback-info/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/callback-info/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/callback-info/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 679s ok 6 /repository/callback-info 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/char-types/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/char-types/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/char-types/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/char-types/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/char-types/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/char-types/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/char-types/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/char-types/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/char-types/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/char-types/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 679s ok 7 /repository/char-types 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/constructor-return-type/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/constructor-return-type/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/constructor-return-type/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/constructor-return-type/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/constructor-return-type/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/constructor-return-type/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/constructor-return-type/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/constructor-return-type/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 679s ok 8 /repository/constructor-return-type 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/enum-info-c-identifier/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/enum-info-c-identifier/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/enum-info-c-identifier/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/enum-info-c-identifier/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/enum-info-c-identifier/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/enum-info-c-identifier/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/enum-info-c-identifier/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/enum-info-c-identifier/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 679s ok 9 /repository/enum-info-c-identifier 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/enum-info-static-methods/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/enum-info-static-methods/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/enum-info-static-methods/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/enum-info-static-methods/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/enum-info-static-methods/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/enum-info-static-methods/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/enum-info-static-methods/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/enum-info-static-methods/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/enum-info-static-methods summary: Test an enum with methods 679s ok 10 /repository/enum-info-static-methods 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/error-quark/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/error-quark/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/error-quark/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/error-quark/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/error-quark/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/error-quark/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/error-quark/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/error-quark/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/error-quark summary: Test finding an error quark by error domain 679s ok 11 /repository/error-quark 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/flags-info-c-identifier/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/flags-info-c-identifier/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/flags-info-c-identifier/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/flags-info-c-identifier/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/flags-info-c-identifier/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/flags-info-c-identifier/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/flags-info-c-identifier/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/flags-info-c-identifier/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 679s ok 12 /repository/flags-info-c-identifier 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/fundamental-ref-func/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/fundamental-ref-func/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/fundamental-ref-func/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/fundamental-ref-func/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/fundamental-ref-func/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/fundamental-ref-func/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/fundamental-ref-func/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/fundamental-ref-func/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 679s ok 13 /repository/fundamental-ref-func 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/instance-method-ownership-transfer/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/instance-method-ownership-transfer/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/instance-method-ownership-transfer/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/instance-method-ownership-transfer/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/instance-method-ownership-transfer/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/instance-method-ownership-transfer/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/instance-method-ownership-transfer/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/instance-method-ownership-transfer/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 679s ok 14 /repository/instance-method-ownership-transfer 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/object-gtype-interfaces/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/object-gtype-interfaces/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/object-gtype-interfaces/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/object-gtype-interfaces/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/object-gtype-interfaces/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/object-gtype-interfaces/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/object-gtype-interfaces/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/object-gtype-interfaces/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 679s ok 15 /repository/object-gtype-interfaces 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/signal-info-with-array-length-arg/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/signal-info-with-array-length-arg/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/signal-info-with-array-length-arg/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/signal-info-with-array-length-arg/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/signal-info-with-array-length-arg/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/signal-info-with-array-length-arg/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/signal-info-with-array-length-arg/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/signal-info-with-array-length-arg/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 679s ok 16 /repository/signal-info-with-array-length-arg 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/type-info-name/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/type-info-name/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/type-info-name/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/type-info-name/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/type-info-name/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/type-info-name/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/type-info-name/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/type-info-name/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 679s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 679s ok 17 /repository/type-info-name 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-no-invoker/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-no-invoker/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-no-invoker/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-no-invoker/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-no-invoker/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-no-invoker/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 679s ok 18 /repository/vfunc-info-with-no-invoker 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 679s ok 19 /repository/vfunc-info-with-invoker-on-interface 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-object/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-object/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-object/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-object/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 679s ok 20 /repository/vfunc-info-with-invoker-on-object 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/find-by-gtype/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/find-by-gtype/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/find-by-gtype/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/find-by-gtype/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/find-by-gtype/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/find-by-gtype/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/find-by-gtype/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/find-by-gtype/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/find-by-gtype summary: Test finding a GType 679s ok 21 /repository/find-by-gtype 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/loaded-namespaces/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/loaded-namespaces/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/loaded-namespaces/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/loaded-namespaces/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/loaded-namespaces/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/loaded-namespaces/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/loaded-namespaces/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/loaded-namespaces/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/loaded-namespaces summary: Test listing loaded namespaces 679s ok 22 /repository/loaded-namespaces 679s # Start of base-info tests 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_FLHLX2/repository/base-info/clear/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_FLHLX2/repository/base-info/clear/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_FLHLX2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_FLHLX2/repository/base-info/clear/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_FLHLX2/repository/base-info/clear/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_FLHLX2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_FLHLX2/repository/base-info/clear/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_FLHLX2/repository/base-info/clear/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_FLHLX2/repository/base-info/clear/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_FLHLX2/repository/base-info/clear/.dirs/runtime 679s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 679s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 679s ok 23 /repository/base-info/clear 679s # End of base-info tests 679s # End of repository tests 679s ok - glib/repository.test 679s # Running test: glib/contenttype.test 679s TAP version 14 679s # random seed: R02S39e93ca817b39cfebb55b0b2a33216e2 679s 1..13 679s # Start of contenttype tests 679s ok 1 /contenttype/guess 679s ok 2 /contenttype/guess_svg_from_data 679s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 679s ok 4 /contenttype/unknown 679s ok 5 /contenttype/subtype 679s ok 6 /contenttype/list 679s ok 7 /contenttype/executable 679s ok 8 /contenttype/description 679s ok 9 /contenttype/icon 679s ok 10 /contenttype/symbolic-icon 679s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 679s ok 11 /contenttype/tree 679s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 679s ok 12 /contenttype/tree_invalid_encoding 679s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 679s ok 13 /contenttype/test_type_is_a_special_case 679s # End of contenttype tests 679s ok - glib/contenttype.test 679s # Running test: glib/autoptr.test 679s TAP version 14 679s # random seed: R02S9dd60c4bed5a0e4fd4fe5a9f86c95ed5 679s 1..6 679s # Start of autoptr tests 679s ok 1 /autoptr/autoptr 679s ok 2 /autoptr/autoptr_steal 679s ok 3 /autoptr/autolist 679s ok 4 /autoptr/autoslist 679s ok 5 /autoptr/autoqueue 679s ok 6 /autoptr/autoclass 679s # End of autoptr tests 679s ok - glib/autoptr.test 679s # Running test: glib/gmenumodel.test 679s TAP version 14 679s # random seed: R02S27091a473694626e11483349425a5bb1 679s 1..15 679s # Start of gmenu tests 680s # Executing: glib/gmenumodel.test 681s ok 1 /gmenu/equality 681s # slow test /gmenu/equality executed in 1.84 secs 684s ok 2 /gmenu/random 684s # slow test /gmenu/random executed in 2.41 secs 684s ok 3 /gmenu/attributes 684s ok 4 /gmenu/links 684s ok 5 /gmenu/mutable 684s ok 6 /gmenu/convenience 684s ok 7 /gmenu/menuitem 684s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 684s ok 8 /gmenu/input-validation 684s # Start of dbus tests 684s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 685s # Executing: glib/gmenumodel.test 685s ok 9 /gmenu/dbus/roundtrip 685s # slow test /gmenu/dbus/roundtrip executed in 1.06 secs 685s ok 10 /gmenu/dbus/subscriptions 687s ok 11 /gmenu/dbus/threaded 687s # slow test /gmenu/dbus/threaded executed in 1.56 secs 687s # Start of peer tests 688s ok 12 /gmenu/dbus/peer/roundtrip 688s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 688s ok 13 /gmenu/dbus/peer/subscriptions 688s # End of peer tests 688s # Start of export tests 688s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 688s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 688s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 688s ok 14 /gmenu/dbus/export/error-handling 688s # End of export tests 688s # End of dbus tests 688s # Start of attributes tests 688s ok 15 /gmenu/attributes/iterate 688s # End of attributes tests 688s # End of gmenu tests 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 688s ok - glib/gmenumodel.test 688s # Running test: glib/memory-settings-backend.test 688s TAP version 14 688s # random seed: R02Sd8642719d116a012a4b2d906f9272c5c 688s 1..1 688s # Start of memory-settings-backend tests 688s ok 1 /memory-settings-backend/extension-point-registered 688s # End of memory-settings-backend tests 688s ok - glib/memory-settings-backend.test 688s # Running test: glib/properties-introspection.test 688s TAP version 14 688s # random seed: R02Sf4ae480d390ca130d02ada2a0f14b108 688s 1..2 688s # Start of properties tests 688s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 688s ok 1 /properties/introspection 688s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 688s ok 2 /properties/collision 688s # End of properties tests 688s ok - glib/properties-introspection.test 688s # Running test: glib/srvtarget.test 688s TAP version 14 688s # random seed: R02S7efe2e800369e7159587fc0793f002f8 688s 1..1 688s # Start of srvtarget tests 689s ok 1 /srvtarget/srv-target-ordering 689s # slow test /srvtarget/srv-target-ordering executed in 0.83 secs 689s # End of srvtarget tests 689s ok - glib/srvtarget.test 689s # Running test: glib/option-context.test 689s TAP version 14 689s # random seed: R02Sd3922044127f6206f375e928d1b6088f 689s 1..57 689s # Start of option tests 689s ok 1 /option/basic 689s ok 2 /option/translate 689s ok 3 /option/strict-posix 689s # Start of help tests 689s ok 4 /option/help/options 689s ok 5 /option/help/no-options 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 689s ok 6 /option/help/no-help-options 689s # End of help tests 689s # Start of group tests 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 689s ok 7 /option/group/captions 689s ok 8 /option/group/main 689s ok 9 /option/group/error-hook 689s ok 10 /option/group/parse 689s # Start of captions tests 689s # Start of subprocess tests 689s # End of subprocess tests 689s # End of captions tests 689s # End of group tests 689s # Start of restoration tests 689s ok 11 /option/restoration/int 689s ok 12 /option/restoration/string 689s ok 13 /option/restoration/boolean 689s # End of restoration tests 689s # Start of arg tests 689s ok 14 /option/arg/reverse-string 689s ok 15 /option/arg/optional-int 689s # Start of repetition tests 689s ok 16 /option/arg/repetition/int 689s ok 17 /option/arg/repetition/string 689s ok 18 /option/arg/repetition/filename 689s ok 19 /option/arg/repetition/double 689s ok 20 /option/arg/repetition/locale 689s ok 21 /option/arg/repetition/int64 689s # End of repetition tests 689s # Start of array tests 689s ok 22 /option/arg/array/string 689s # End of array tests 689s # Start of callback tests 689s ok 23 /option/arg/callback/string 689s ok 24 /option/arg/callback/count 689s ok 25 /option/arg/callback/optional1 689s ok 26 /option/arg/callback/optional2 689s ok 27 /option/arg/callback/optional3 689s ok 28 /option/arg/callback/optional4 689s ok 29 /option/arg/callback/optional5 689s ok 30 /option/arg/callback/optional6 689s ok 31 /option/arg/callback/optional7 689s ok 32 /option/arg/callback/optional8 689s # End of callback tests 689s # Start of remaining tests 689s ok 33 /option/arg/remaining/callback 689s ok 34 /option/arg/remaining/callback-false 689s ok 35 /option/arg/remaining/non-option 689s ok 36 /option/arg/remaining/separator 689s ok 37 /option/arg/remaining/array 689s # End of remaining tests 689s # Start of ignore tests 689s ok 38 /option/arg/ignore/long 689s ok 39 /option/arg/ignore/short 689s ok 40 /option/arg/ignore/arg 689s # End of ignore tests 689s # Start of rest tests 689s ok 41 /option/arg/rest/non-option 689s ok 42 /option/arg/rest/separator1 689s ok 43 /option/arg/rest/separator2 689s ok 44 /option/arg/rest/separator3 689s ok 45 /option/arg/rest/separator4 689s ok 46 /option/arg/rest/separator5 689s # End of rest tests 689s # End of arg tests 689s # Start of context tests 689s ok 47 /option/context/add 689s ok 48 /option/context/empty2 689s ok 49 /option/context/empty3 689s # End of context tests 689s # Start of bug tests 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 689s ok 50 /option/bug/unknown-short 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 689s ok 51 /option/bug/lonely-dash 689s ok 52 /option/bug/triple-dash 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 689s ok 53 /option/bug/missing-arg 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 689s ok 54 /option/bug/dash-arg 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 689s ok 55 /option/bug/short-remaining 689s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 689s ok 56 /option/bug/double-free 689s ok 57 /option/bug/double-zero 689s # End of bug tests 689s # End of option tests 689s ok - glib/option-context.test 689s # Running test: glib/unix-mounts.test 689s TAP version 14 689s # random seed: R02S5e4457475878f6fb9483eee4c191f366 689s 1..4 689s # Start of unix-mounts tests 689s ok 1 /unix-mounts/is-system-fs-type 689s ok 2 /unix-mounts/is-system-device-path 689s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 689s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 689s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 689s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 689s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 689s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 689s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 689s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 689s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 689s ok 3 /unix-mounts/get-mount-points 689s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 689s ok 4 /unix-mounts/get-mount-entries 689s # End of unix-mounts tests 689s ok - glib/unix-mounts.test 689s # Running test: glib/volumemonitor.test 689s TAP version 14 689s # random seed: R02S7513dc0bec475fe29b695fd405f1484b 689s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 689s 1..3 689s # Start of volumemonitor tests 689s ok 1 /volumemonitor/connected_drives 689s ok 2 /volumemonitor/volumes 689s ok 3 /volumemonitor/mounts 689s # End of volumemonitor tests 689s ok - glib/volumemonitor.test 689s # Running test: glib/tree.test 689s TAP version 14 689s # random seed: R02Sc12d95a7b7177e905ff6368a06cd5f60 689s 1..7 689s # Start of tree tests 689s ok 1 /tree/search 689s ok 2 /tree/remove 689s ok 3 /tree/destroy 689s ok 4 /tree/traverse 689s ok 5 /tree/insert 689s ok 6 /tree/bounds 689s ok 7 /tree/remove-all 689s # End of tree tests 689s ok - glib/tree.test 689s # Running test: glib/shell.test 689s TAP version 14 689s # random seed: R02Sbe64348702e28dee83380c5ffcbbe688 689s 1..51 689s # Start of shell tests 689s # Start of cmdline tests 689s test cmdline: foo bar 689s ok 1 /shell/cmdline/0 689s test cmdline: foo 'bar' 689s ok 2 /shell/cmdline/1 689s test cmdline: foo "bar" 689s ok 3 /shell/cmdline/2 689s test cmdline: foo '' 'bar' 689s ok 4 /shell/cmdline/3 689s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 689s ok 5 /shell/cmdline/4 689s test cmdline: foo blah foo bar baz 689s ok 6 /shell/cmdline/5 689s test cmdline: foo ' spaces more spaces lots of spaces in this ' 689s ok 7 /shell/cmdline/6 689s test cmdline: foo \ 689s bar 689s ok 8 /shell/cmdline/7 689s test cmdline: foo '' '' 689s ok 9 /shell/cmdline/8 689s test cmdline: foo \" la la la 689s ok 10 /shell/cmdline/9 689s test cmdline: foo \ foo woo woo\ 689s ok 11 /shell/cmdline/10 689s test cmdline: foo "yada yada \$\"" 689s ok 12 /shell/cmdline/11 689s test cmdline: foo "c:\\" 689s ok 13 /shell/cmdline/12 689s test cmdline: foo # bla bla bla 689s bar 689s ok 14 /shell/cmdline/13 689s test cmdline: foo a#b 689s ok 15 /shell/cmdline/14 689s test cmdline: #foo 689s ok 16 /shell/cmdline/15 689s test cmdline: foo bar \ 689s ok 17 /shell/cmdline/16 689s test cmdline: foo 'bar baz 689s ok 18 /shell/cmdline/17 689s test cmdline: foo '"bar" baz 689s ok 19 /shell/cmdline/18 689s test cmdline: 689s ok 20 /shell/cmdline/19 689s test cmdline: 689s ok 21 /shell/cmdline/20 689s test cmdline: # foo bar 689s ok 22 /shell/cmdline/21 689s test cmdline: foo '/bar/summer'\''09 tours.pdf' 689s ok 23 /shell/cmdline/22 689s # End of cmdline tests 689s # Start of quote tests 689s ok 24 /shell/quote/0 689s ok 25 /shell/quote/1 689s ok 26 /shell/quote/2 689s ok 27 /shell/quote/3 689s ok 28 /shell/quote/4 689s ok 29 /shell/quote/5 689s ok 30 /shell/quote/6 689s # End of quote tests 689s # Start of unquote tests 689s ok 31 /shell/unquote/0 689s ok 32 /shell/unquote/1 689s ok 33 /shell/unquote/2 689s ok 34 /shell/unquote/3 689s ok 35 /shell/unquote/4 689s ok 36 /shell/unquote/5 689s ok 37 /shell/unquote/6 689s ok 38 /shell/unquote/7 689s ok 39 /shell/unquote/8 689s ok 40 /shell/unquote/9 689s ok 41 /shell/unquote/10 689s ok 42 /shell/unquote/11 689s ok 43 /shell/unquote/12 689s ok 44 /shell/unquote/13 689s ok 45 /shell/unquote/14 689s ok 46 /shell/unquote/15 689s ok 47 /shell/unquote/16 689s ok 48 /shell/unquote/17 689s ok 49 /shell/unquote/18 689s ok 50 /shell/unquote/19 689s ok 51 /shell/unquote/20 689s # End of unquote tests 689s # End of shell tests 689s ok - glib/shell.test 689s # Running test: glib/gdbus-exit-on-close.test 689s TAP version 14 689s # random seed: R02Sf380944f2ac0095f043e6cc22df5a1ab 689s 1..4 689s # Start of gdbus tests 689s # Start of exit-on-close tests 689s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/default/.dirs/home 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/default/.dirs/cache 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/default/.dirs/system-config2 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/default/.dirs/config 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/default/.dirs/system-data2 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/default/.dirs/data 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/default/.dirs/state 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/default/.dirs/runtime 689s ok 1 /gdbus/exit-on-close/default 689s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/true/.dirs/home 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/true/.dirs/cache 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/true/.dirs/system-config2 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/true/.dirs/config 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/true/.dirs/system-data2 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/true/.dirs/data 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/true/.dirs/state 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/true/.dirs/runtime 689s ok 2 /gdbus/exit-on-close/true 689s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/false/.dirs/home 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/false/.dirs/cache 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/false/.dirs/system-config2 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/false/.dirs/config 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/false/.dirs/system-data2 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/false/.dirs/data 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/false/.dirs/state 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/false/.dirs/runtime 689s ok 3 /gdbus/exit-on-close/false 689s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/we-close/.dirs/home 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/we-close/.dirs/cache 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/we-close/.dirs/system-config2 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/we-close/.dirs/config 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/we-close/.dirs/system-data2 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/we-close/.dirs/data 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/we-close/.dirs/state 689s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_RZPHX2/gdbus/exit-on-close/we-close/.dirs/runtime 689s ok 4 /gdbus/exit-on-close/we-close 689s # Start of default tests 689s # End of default tests 689s # Start of true tests 689s # End of true tests 689s # Start of false tests 689s # End of false tests 689s # Start of we-close tests 689s # End of we-close tests 689s # End of exit-on-close tests 689s # End of gdbus tests 689s ok - glib/gdbus-exit-on-close.test 689s # Running test: glib/basic-signals.test 689s TAP version 14 689s # random seed: R02S31ec89edccd38efbbe74f1a907713a4b 689s 1..1 689s # Start of gobject tests 689s ok 1 /gobject/basic-signals 689s # End of gobject tests 689s ok - glib/basic-signals.test 689s # Running test: glib/hook.test 689s TAP version 14 689s # random seed: R02S5d9aebbc6a2d17ce404e1b04a867215c 689s 1..2 689s # Start of hook tests 689s ok 1 /hook/basics 689s ok 2 /hook/corner-cases 689s # End of hook tests 689s ok - glib/hook.test 689s # Running test: glib/spawn-test.test 689s TAP version 14 689s # random seed: R02Sd0c3da59002a4e2c4e55720c79dff31d 689s 1..2 689s # Start of spawn tests 689s ok 1 /spawn/basics 689s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 689s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 689s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 689s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 689s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 689s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 689s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 689s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 689s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 689s # Fetching GSpawn result output with stdin open, stdout open, stderr open 689s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 689s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 689s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 689s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 689s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 689s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 689s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 689s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 689s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 689s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 689s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 689s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 689s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 689s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 689s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 689s # Fetching GSpawn result with stdin open, stdout open, stderr open 689s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 689s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 689s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 689s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 689s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 689s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 689s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 689s ok 2 /spawn/stdio-overwrite 689s # End of spawn tests 689s ok - glib/spawn-test.test 689s # Running test: glib/accumulator.test 689s TAP version 14 689s # random seed: R02Sc4c315fc23842b9abbd949c01e0da978 689s 1..1 689s # Start of gobject tests 689s ok 1 /gobject/accumulator 689s # End of gobject tests 689s ok - glib/accumulator.test 689s # Running test: glib/signal-handler.test 689s TAP version 14 689s # random seed: R02S95236c8287a06576facf6a36f8dbc02e 689s 1..7 689s # Start of signal tests 689s # Start of handler tests 689s # min perf: connected 1 handlers in 0.000 seconds 689s ok 1 /signal/handler/connect-many 689s # min perf: disconnected 1 handlers in 0.000 seconds 689s ok 2 /signal/handler/disconnect-many-ordered 689s # min perf: disconnected 1 handlers in 0.000 seconds 689s ok 3 /signal/handler/disconnect-many-inverse 689s # min perf: disconnected 1 handlers in 0.000 seconds 689s ok 4 /signal/handler/disconnect-many-random 689s # min perf: disconnected 1 handlers in 0.000 seconds 689s ok 5 /signal/handler/disconnect-2-signals 689s # min perf: disconnected 1 handlers in 0.000 seconds 689s ok 6 /signal/handler/disconnect-2-objects 689s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 689s ok 7 /signal/handler/block-many 689s # End of handler tests 689s # End of signal tests 689s ok - glib/signal-handler.test 689s # Running test: glib/io-channel-basic.test 689s TAP version 14 689s # random seed: R02S0ac52d96bc9aba1938a3ef46e01d6c37 689s 1..1 689s # Start of gio tests 689s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 689s # random seed: R02S51b8331c47d02e99266e28e0c08edf06 690s # Executing: glib/io-channel-basic.test 690s # GLib-DEBUG: io-channel-basic: child writing 8+1048 bytes to 6 690s # GLib-DEBUG: io-channel-basic: ...from 5: IN 690s # GLib-DEBUG: io-channel-basic: ...from 5: 1048 bytes 690s # GLib-DEBUG: io-channel-basic: ...from 5: OK 690s # GLib-DEBUG: io-channel-basic: child writing 8+4290 bytes to 6 690s # GLib-DEBUG: io-channel-basic: ...from 5: IN 690s # GLib-DEBUG: io-channel-basic: ...from 5: 4290 bytes 690s # GLib-DEBUG: io-channel-basic: ...from 5: OK 690s # GLib-DEBUG: io-channel-basic: child writing 8+2113 bytes to 6 690s # GLib-DEBUG: io-channel-basic: ...from 5: IN 690s # GLib-DEBUG: io-channel-basic: ...from 5: 2113 bytes 690s # GLib-DEBUG: io-channel-basic: ...from 5: OK 691s # GLib-DEBUG: io-channel-basic: child writing 8+3065 bytes to 6 691s # GLib-DEBUG: io-channel-basic: ...from 5: IN 691s # GLib-DEBUG: io-channel-basic: ...from 5: 3065 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 5: OK 691s # GLib-DEBUG: io-channel-basic: child writing 8+3363 bytes to 6 691s # GLib-DEBUG: io-channel-basic: ...from 5: IN 691s # GLib-DEBUG: io-channel-basic: ...from 5: 3363 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 5: OK 691s # GLib-DEBUG: io-channel-basic: child writing 8+1625 bytes to 6 691s # GLib-DEBUG: io-channel-basic: ...from 5: IN 691s # GLib-DEBUG: io-channel-basic: ...from 5: 1625 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 5: OK 691s # GLib-DEBUG: io-channel-basic: child writing 8+3272 bytes to 6 691s # GLib-DEBUG: io-channel-basic: ...from 5: IN 691s # GLib-DEBUG: io-channel-basic: ...from 5: 3272 bytes 691s # GLib-DEBUG: io-channel-basic: ...from 5: OK 692s # GLib-DEBUG: io-channel-basic: child writing 8+1101 bytes to 6 692s # GLib-DEBUG: io-channel-basic: ...from 5: IN 692s # GLib-DEBUG: io-channel-basic: ...from 5: 1101 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 5: OK 692s # GLib-DEBUG: io-channel-basic: child writing 8+61 bytes to 6 692s # GLib-DEBUG: io-channel-basic: ...from 5: IN 692s # GLib-DEBUG: io-channel-basic: ...from 5: 61 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 5: OK 692s # GLib-DEBUG: io-channel-basic: child writing 8+3057 bytes to 6 692s # GLib-DEBUG: io-channel-basic: ...from 5: IN 692s # GLib-DEBUG: io-channel-basic: ...from 5: 3057 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 5: OK 692s # GLib-DEBUG: io-channel-basic: child writing 8+1411 bytes to 6 692s # GLib-DEBUG: io-channel-basic: ...from 5: IN 692s # GLib-DEBUG: io-channel-basic: ...from 5: 1411 bytes 692s # GLib-DEBUG: io-channel-basic: ...from 5: OK 693s # GLib-DEBUG: io-channel-basic: child writing 8+4387 bytes to 6 693s # GLib-DEBUG: io-channel-basic: ...from 5: IN 693s # GLib-DEBUG: io-channel-basic: ...from 5: 4387 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 5: OK 693s # GLib-DEBUG: io-channel-basic: child writing 8+974 bytes to 6 693s # GLib-DEBUG: io-channel-basic: ...from 5: IN 693s # GLib-DEBUG: io-channel-basic: ...from 5: 974 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 5: OK 693s # GLib-DEBUG: io-channel-basic: child writing 8+4859 bytes to 6 693s # GLib-DEBUG: io-channel-basic: ...from 5: IN 693s # GLib-DEBUG: io-channel-basic: ...from 5: 4859 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 5: OK 693s # GLib-DEBUG: io-channel-basic: child writing 8+836 bytes to 6 693s # GLib-DEBUG: io-channel-basic: ...from 5: IN 693s # GLib-DEBUG: io-channel-basic: ...from 5: 836 bytes 693s # GLib-DEBUG: io-channel-basic: ...from 5: OK 694s # GLib-DEBUG: io-channel-basic: child writing 8+1687 bytes to 6 694s # GLib-DEBUG: io-channel-basic: ...from 5: IN 694s # GLib-DEBUG: io-channel-basic: ...from 5: 1687 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 5: OK 694s # GLib-DEBUG: io-channel-basic: child writing 8+4652 bytes to 6 694s # GLib-DEBUG: io-channel-basic: ...from 5: IN 694s # GLib-DEBUG: io-channel-basic: ...from 5: 4652 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 5: OK 694s # GLib-DEBUG: io-channel-basic: child writing 8+4910 bytes to 6 694s # GLib-DEBUG: io-channel-basic: ...from 5: IN 694s # GLib-DEBUG: io-channel-basic: ...from 5: 4910 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 5: OK 694s # GLib-DEBUG: io-channel-basic: child writing 8+121 bytes to 6 694s # GLib-DEBUG: io-channel-basic: ...from 5: IN 694s # GLib-DEBUG: io-channel-basic: ...from 5: 121 bytes 694s # GLib-DEBUG: io-channel-basic: ...from 5: OK 695s # Executing: glib/io-channel-basic.test 695s # GLib-DEBUG: io-channel-basic: child writing 8+1330 bytes to 6 695s # GLib-DEBUG: io-channel-basic: ...from 5: IN 695s # GLib-DEBUG: io-channel-basic: ...from 5: 1330 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 5: OK 695s # GLib-DEBUG: io-channel-basic: child writing 8+927 bytes to 6 695s # GLib-DEBUG: io-channel-basic: ...from 5: IN 695s # GLib-DEBUG: io-channel-basic: ...from 5: 927 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 5: OK 695s # GLib-DEBUG: io-channel-basic: child writing 8+357 bytes to 6 695s # GLib-DEBUG: io-channel-basic: ...from 5: IN 695s # GLib-DEBUG: io-channel-basic: ...from 5: 357 bytes 695s # GLib-DEBUG: io-channel-basic: ...from 5: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+2659 bytes to 6 696s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 696s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 696s # GLib-DEBUG: io-channel-basic: ...from 5: 2659 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 5: OK 696s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 696s # random seed: R02Sa1c9df7ed7326824b4abc502952e8240 696s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 696s # random seed: R02Sb03b762885c56e6de38269600c6bce82 696s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 696s # random seed: R02S7fe049f915f6e9e5244d7f1998bf7de9 696s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 696s # random seed: R02Sfe703eb4895a9c7180f6b6a180e392d1 696s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 696s # random seed: R02S3b41ddd39c35934497cdbb2e22bb3e6e 696s # GLib-DEBUG: io-channel-basic: child writing 8+4678 bytes to 13 696s # GLib-DEBUG: io-channel-basic: ...from 12: IN 696s # GLib-DEBUG: io-channel-basic: ...from 12: 4678 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 12: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+994 bytes to 11 696s # GLib-DEBUG: io-channel-basic: ...from 10: IN 696s # GLib-DEBUG: io-channel-basic: ...from 10: 994 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 10: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+873 bytes to 17 696s # GLib-DEBUG: io-channel-basic: ...from 16: IN 696s # GLib-DEBUG: io-channel-basic: ...from 16: 873 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 16: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+3509 bytes to 9 696s # GLib-DEBUG: io-channel-basic: ...from 8: IN 696s # GLib-DEBUG: io-channel-basic: ...from 8: 3509 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 8: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+2950 bytes to 15 696s # GLib-DEBUG: io-channel-basic: ...from 14: IN 696s # GLib-DEBUG: io-channel-basic: ...from 14: 2950 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 14: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+3903 bytes to 11 696s # GLib-DEBUG: io-channel-basic: ...from 10: IN 696s # GLib-DEBUG: io-channel-basic: ...from 10: 3903 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 10: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+2277 bytes to 13 696s # GLib-DEBUG: io-channel-basic: ...from 12: IN 696s # GLib-DEBUG: io-channel-basic: ...from 12: 2277 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 12: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+2654 bytes to 17 696s # GLib-DEBUG: io-channel-basic: ...from 16: IN 696s # GLib-DEBUG: io-channel-basic: ...from 16: 2654 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 16: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+918 bytes to 9 696s # GLib-DEBUG: io-channel-basic: ...from 8: IN 696s # GLib-DEBUG: io-channel-basic: ...from 8: 918 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 8: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+3146 bytes to 15 696s # GLib-DEBUG: io-channel-basic: ...from 14: IN 696s # GLib-DEBUG: io-channel-basic: ...from 14: 3146 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 14: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+878 bytes to 13 696s # GLib-DEBUG: io-channel-basic: ...from 12: IN 696s # GLib-DEBUG: io-channel-basic: ...from 12: 878 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 12: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+2267 bytes to 11 696s # GLib-DEBUG: io-channel-basic: ...from 10: IN 696s # GLib-DEBUG: io-channel-basic: ...from 10: 2267 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 10: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+537 bytes to 9 696s # GLib-DEBUG: io-channel-basic: ...from 8: IN 696s # GLib-DEBUG: io-channel-basic: ...from 8: 537 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 8: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+36 bytes to 15 696s # GLib-DEBUG: io-channel-basic: ...from 14: IN 696s # GLib-DEBUG: io-channel-basic: ...from 14: 36 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 14: OK 696s # GLib-DEBUG: io-channel-basic: child writing 8+4133 bytes to 17 696s # GLib-DEBUG: io-channel-basic: ...from 16: IN 696s # GLib-DEBUG: io-channel-basic: ...from 16: 4133 bytes 696s # GLib-DEBUG: io-channel-basic: ...from 16: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+3308 bytes to 13 697s # GLib-DEBUG: io-channel-basic: ...from 12: IN 697s # GLib-DEBUG: io-channel-basic: ...from 12: 3308 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 12: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+4813 bytes to 9 697s # GLib-DEBUG: io-channel-basic: ...from 8: IN 697s # GLib-DEBUG: io-channel-basic: ...from 8: 4813 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 8: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+3581 bytes to 15 697s # GLib-DEBUG: io-channel-basic: ...from 14: IN 697s # GLib-DEBUG: io-channel-basic: ...from 14: 3581 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 14: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+3418 bytes to 11 697s # GLib-DEBUG: io-channel-basic: ...from 10: IN 697s # GLib-DEBUG: io-channel-basic: ...from 10: 3418 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 10: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+2548 bytes to 17 697s # GLib-DEBUG: io-channel-basic: ...from 16: IN 697s # GLib-DEBUG: io-channel-basic: ...from 16: 2548 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 16: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+1385 bytes to 13 697s # GLib-DEBUG: io-channel-basic: ...from 12: IN 697s # GLib-DEBUG: io-channel-basic: ...from 12: 1385 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 12: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+1589 bytes to 9 697s # GLib-DEBUG: io-channel-basic: ...from 8: IN 697s # GLib-DEBUG: io-channel-basic: ...from 8: 1589 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 8: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+2296 bytes to 11 697s # GLib-DEBUG: io-channel-basic: ...from 10: IN 697s # GLib-DEBUG: io-channel-basic: ...from 10: 2296 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 10: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+75 bytes to 15 697s # GLib-DEBUG: io-channel-basic: ...from 14: IN 697s # GLib-DEBUG: io-channel-basic: ...from 14: 75 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 14: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+3165 bytes to 17 697s # GLib-DEBUG: io-channel-basic: ...from 16: IN 697s # GLib-DEBUG: io-channel-basic: ...from 16: 3165 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 16: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+4736 bytes to 13 697s # GLib-DEBUG: io-channel-basic: ...from 12: IN 697s # GLib-DEBUG: io-channel-basic: ...from 12: 4736 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 12: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+2669 bytes to 11 697s # GLib-DEBUG: io-channel-basic: ...from 10: IN 697s # GLib-DEBUG: io-channel-basic: ...from 10: 2669 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 10: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+1645 bytes to 15 697s # GLib-DEBUG: io-channel-basic: ...from 14: IN 697s # GLib-DEBUG: io-channel-basic: ...from 14: 1645 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 14: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+764 bytes to 9 697s # GLib-DEBUG: io-channel-basic: ...from 8: IN 697s # GLib-DEBUG: io-channel-basic: ...from 8: 764 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 8: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+1351 bytes to 17 697s # GLib-DEBUG: io-channel-basic: ...from 16: IN 697s # GLib-DEBUG: io-channel-basic: ...from 16: 1351 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 16: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+3391 bytes to 13 697s # GLib-DEBUG: io-channel-basic: ...from 12: IN 697s # GLib-DEBUG: io-channel-basic: ...from 12: 3391 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 12: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+1167 bytes to 15 697s # GLib-DEBUG: io-channel-basic: ...from 14: IN 697s # GLib-DEBUG: io-channel-basic: ...from 14: 1167 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 14: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+1099 bytes to 11 697s # GLib-DEBUG: io-channel-basic: ...from 10: IN 697s # GLib-DEBUG: io-channel-basic: ...from 10: 1099 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 10: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+1234 bytes to 9 697s # GLib-DEBUG: io-channel-basic: ...from 8: IN 697s # GLib-DEBUG: io-channel-basic: ...from 8: 1234 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 8: OK 697s # GLib-DEBUG: io-channel-basic: child writing 8+12 bytes to 17 697s # GLib-DEBUG: io-channel-basic: ...from 16: IN 697s # GLib-DEBUG: io-channel-basic: ...from 16: 12 bytes 697s # GLib-DEBUG: io-channel-basic: ...from 16: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+4118 bytes to 13 698s # GLib-DEBUG: io-channel-basic: ...from 12: IN 698s # GLib-DEBUG: io-channel-basic: ...from 12: 4118 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 12: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+4283 bytes to 9 698s # GLib-DEBUG: io-channel-basic: ...from 8: IN 698s # GLib-DEBUG: io-channel-basic: ...from 8: 4283 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 8: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+4491 bytes to 15 698s # GLib-DEBUG: io-channel-basic: ...from 14: IN 698s # GLib-DEBUG: io-channel-basic: ...from 14: 4491 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 14: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+492 bytes to 11 698s # GLib-DEBUG: io-channel-basic: ...from 10: IN 698s # GLib-DEBUG: io-channel-basic: ...from 10: 492 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 10: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+288 bytes to 17 698s # GLib-DEBUG: io-channel-basic: ...from 16: IN 698s # GLib-DEBUG: io-channel-basic: ...from 16: 288 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 16: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+4083 bytes to 13 698s # GLib-DEBUG: io-channel-basic: ...from 12: IN 698s # GLib-DEBUG: io-channel-basic: ...from 12: 4083 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 12: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+140 bytes to 15 698s # GLib-DEBUG: io-channel-basic: ...from 14: IN 698s # GLib-DEBUG: io-channel-basic: ...from 14: 140 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 14: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+877 bytes to 9 698s # GLib-DEBUG: io-channel-basic: ...from 8: IN 698s # GLib-DEBUG: io-channel-basic: ...from 8: 877 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 8: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+3151 bytes to 11 698s # GLib-DEBUG: io-channel-basic: ...from 10: IN 698s # GLib-DEBUG: io-channel-basic: ...from 10: 3151 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 10: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+1775 bytes to 17 698s # GLib-DEBUG: io-channel-basic: ...from 16: IN 698s # GLib-DEBUG: io-channel-basic: ...from 16: 1775 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 16: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+2397 bytes to 13 698s # GLib-DEBUG: io-channel-basic: ...from 12: IN 698s # GLib-DEBUG: io-channel-basic: ...from 12: 2397 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 12: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+1680 bytes to 11 698s # GLib-DEBUG: io-channel-basic: ...from 10: IN 698s # GLib-DEBUG: io-channel-basic: ...from 10: 1680 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 10: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+2609 bytes to 15 698s # GLib-DEBUG: io-channel-basic: ...from 14: IN 698s # GLib-DEBUG: io-channel-basic: ...from 14: 2609 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 14: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+121 bytes to 9 698s # GLib-DEBUG: io-channel-basic: ...from 8: IN 698s # GLib-DEBUG: io-channel-basic: ...from 8: 121 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 8: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+1958 bytes to 17 698s # GLib-DEBUG: io-channel-basic: ...from 16: IN 698s # GLib-DEBUG: io-channel-basic: ...from 16: 1958 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 16: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+4541 bytes to 13 698s # GLib-DEBUG: io-channel-basic: ...from 12: IN 698s # GLib-DEBUG: io-channel-basic: ...from 12: 4541 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 12: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+2738 bytes to 9 698s # GLib-DEBUG: io-channel-basic: ...from 8: IN 698s # GLib-DEBUG: io-channel-basic: ...from 8: 2738 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 8: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+3589 bytes to 15 698s # GLib-DEBUG: io-channel-basic: child writing 8+993 bytes to 11 698s # GLib-DEBUG: io-channel-basic: ...from 10: IN 698s # GLib-DEBUG: io-channel-basic: ...from 10: 993 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 10: OK 698s # GLib-DEBUG: io-channel-basic: ...from 14: IN 698s # GLib-DEBUG: io-channel-basic: ...from 14: 3589 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 14: OK 698s # GLib-DEBUG: io-channel-basic: child writing 8+2572 bytes to 17 698s # GLib-DEBUG: io-channel-basic: ...from 16: IN 698s # GLib-DEBUG: io-channel-basic: ...from 16: 2572 bytes 698s # GLib-DEBUG: io-channel-basic: ...from 16: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+879 bytes to 13 699s # GLib-DEBUG: io-channel-basic: ...from 12: IN 699s # GLib-DEBUG: io-channel-basic: ...from 12: 879 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 12: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+2376 bytes to 9 699s # GLib-DEBUG: io-channel-basic: ...from 8: IN 699s # GLib-DEBUG: io-channel-basic: ...from 8: 2376 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 8: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+1129 bytes to 11 699s # GLib-DEBUG: io-channel-basic: ...from 10: IN 699s # GLib-DEBUG: io-channel-basic: ...from 10: 1129 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 10: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+3488 bytes to 15 699s # GLib-DEBUG: io-channel-basic: ...from 14: IN 699s # GLib-DEBUG: io-channel-basic: ...from 14: 3488 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 14: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+1559 bytes to 17 699s # GLib-DEBUG: io-channel-basic: ...from 16: IN 699s # GLib-DEBUG: io-channel-basic: ...from 16: 1559 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 16: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+2862 bytes to 13 699s # GLib-DEBUG: io-channel-basic: ...from 12: IN 699s # GLib-DEBUG: io-channel-basic: ...from 12: 2862 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 12: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+2969 bytes to 9 699s # GLib-DEBUG: io-channel-basic: ...from 8: IN 699s # GLib-DEBUG: io-channel-basic: ...from 8: 2969 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 8: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+4948 bytes to 15 699s # GLib-DEBUG: io-channel-basic: child writing 8+128 bytes to 11 699s # GLib-DEBUG: io-channel-basic: ...from 10: IN 699s # GLib-DEBUG: io-channel-basic: ...from 10: 128 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 10: OK 699s # GLib-DEBUG: io-channel-basic: ...from 14: IN 699s # GLib-DEBUG: io-channel-basic: ...from 14: 4948 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 14: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+3180 bytes to 17 699s # GLib-DEBUG: io-channel-basic: ...from 16: IN 699s # GLib-DEBUG: io-channel-basic: ...from 16: 3180 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 16: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+694 bytes to 13 699s # GLib-DEBUG: io-channel-basic: ...from 12: IN 699s # GLib-DEBUG: io-channel-basic: ...from 12: 694 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 12: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+1142 bytes to 9 699s # GLib-DEBUG: io-channel-basic: ...from 8: IN 699s # GLib-DEBUG: io-channel-basic: ...from 8: 1142 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 8: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+1581 bytes to 15 699s # GLib-DEBUG: io-channel-basic: ...from 14: IN 699s # GLib-DEBUG: io-channel-basic: ...from 14: 1581 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 14: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+4849 bytes to 11 699s # GLib-DEBUG: io-channel-basic: ...from 10: IN 699s # GLib-DEBUG: io-channel-basic: ...from 10: 4849 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 10: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+2796 bytes to 17 699s # GLib-DEBUG: io-channel-basic: ...from 16: IN 699s # GLib-DEBUG: io-channel-basic: ...from 16: 2796 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 16: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+3190 bytes to 13 699s # GLib-DEBUG: io-channel-basic: ...from 12: IN 699s # GLib-DEBUG: io-channel-basic: ...from 12: 3190 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 12: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+4791 bytes to 9 699s # GLib-DEBUG: io-channel-basic: ...from 8: IN 699s # GLib-DEBUG: io-channel-basic: ...from 8: 4791 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 8: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+3021 bytes to 11 699s # GLib-DEBUG: io-channel-basic: ...from 10: IN 699s # GLib-DEBUG: io-channel-basic: ...from 10: 3021 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 10: OK 699s # GLib-DEBUG: io-channel-basic: child writing 8+831 bytes to 15 699s # GLib-DEBUG: io-channel-basic: ...from 14: IN 699s # GLib-DEBUG: io-channel-basic: ...from 14: 831 bytes 699s # GLib-DEBUG: io-channel-basic: ...from 14: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+3646 bytes to 17 700s # GLib-DEBUG: io-channel-basic: ...from 16: IN 700s # GLib-DEBUG: io-channel-basic: ...from 16: 3646 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 16: OK 700s # Executing: glib/io-channel-basic.test 700s # GLib-DEBUG: io-channel-basic: child writing 8+1329 bytes to 13 700s # GLib-DEBUG: io-channel-basic: ...from 12: IN 700s # GLib-DEBUG: io-channel-basic: ...from 12: 1329 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 12: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+1075 bytes to 15 700s # GLib-DEBUG: io-channel-basic: ...from 14: IN 700s # GLib-DEBUG: io-channel-basic: ...from 14: 1075 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 14: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+3190 bytes to 9 700s # GLib-DEBUG: io-channel-basic: ...from 8: IN 700s # GLib-DEBUG: io-channel-basic: ...from 8: 3190 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 8: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+2337 bytes to 11 700s # GLib-DEBUG: io-channel-basic: ...from 10: IN 700s # GLib-DEBUG: io-channel-basic: ...from 10: 2337 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 10: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+2045 bytes to 17 700s # GLib-DEBUG: io-channel-basic: ...from 16: IN 700s # GLib-DEBUG: io-channel-basic: ...from 16: 2045 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 16: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+4453 bytes to 13 700s # GLib-DEBUG: io-channel-basic: ...from 12: IN 700s # GLib-DEBUG: io-channel-basic: ...from 12: 4453 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 12: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+2983 bytes to 9 700s # GLib-DEBUG: io-channel-basic: ...from 8: IN 700s # GLib-DEBUG: io-channel-basic: ...from 8: 2983 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 8: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+4008 bytes to 15 700s # GLib-DEBUG: io-channel-basic: ...from 14: IN 700s # GLib-DEBUG: io-channel-basic: ...from 14: 4008 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 14: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+4830 bytes to 11 700s # GLib-DEBUG: io-channel-basic: ...from 10: IN 700s # GLib-DEBUG: io-channel-basic: ...from 10: 4830 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 10: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+4602 bytes to 17 700s # GLib-DEBUG: io-channel-basic: ...from 16: IN 700s # GLib-DEBUG: io-channel-basic: ...from 16: 4602 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 16: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+1448 bytes to 13 700s # GLib-DEBUG: io-channel-basic: ...from 12: IN 700s # GLib-DEBUG: io-channel-basic: ...from 12: 1448 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 12: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+573 bytes to 15 700s # GLib-DEBUG: io-channel-basic: ...from 14: IN 700s # GLib-DEBUG: io-channel-basic: ...from 14: 573 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 14: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+2223 bytes to 9 700s # GLib-DEBUG: io-channel-basic: child writing 8+688 bytes to 11 700s # GLib-DEBUG: io-channel-basic: ...from 8: IN 700s # GLib-DEBUG: io-channel-basic: ...from 8: 2223 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 8: OK 700s # GLib-DEBUG: io-channel-basic: ...from 10: IN 700s # GLib-DEBUG: io-channel-basic: ...from 10: 688 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 10: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+1700 bytes to 17 700s # GLib-DEBUG: io-channel-basic: ...from 16: IN 700s # GLib-DEBUG: io-channel-basic: ...from 16: 1700 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 16: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+1933 bytes to 13 700s # GLib-DEBUG: io-channel-basic: ...from 12: IN 700s # GLib-DEBUG: io-channel-basic: ...from 12: 1933 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 12: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+2567 bytes to 15 700s # GLib-DEBUG: io-channel-basic: ...from 14: IN 700s # GLib-DEBUG: io-channel-basic: ...from 14: 2567 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 14: OK 700s # GLib-DEBUG: io-channel-basic: child writing 8+2473 bytes to 11 700s # GLib-DEBUG: io-channel-basic: ...from 10: IN 700s # GLib-DEBUG: io-channel-basic: ...from 10: 2473 bytes 700s # GLib-DEBUG: io-channel-basic: ...from 10: OK 701s # GLib-DEBUG: io-channel-basic: child writing 8+2035 bytes to 9 701s # GLib-DEBUG: io-channel-basic: ...from 8: IN 701s # GLib-DEBUG: io-channel-basic: ...from 8: 2035 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 8: OK 701s # GLib-DEBUG: io-channel-basic: child writing 8+2982 bytes to 17 701s # GLib-DEBUG: io-channel-basic: ...from 16: IN 701s # GLib-DEBUG: io-channel-basic: ...from 16: 2982 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 16: OK 701s # GLib-DEBUG: io-channel-basic: child writing 8+1569 bytes to 13 701s # GLib-DEBUG: io-channel-basic: ...from 12: IN 701s # GLib-DEBUG: io-channel-basic: ...from 12: 1569 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 12: OK 701s # GLib-DEBUG: io-channel-basic: child writing 8+3405 bytes to 11 701s # GLib-DEBUG: io-channel-basic: ...from 10: IN 701s # GLib-DEBUG: io-channel-basic: ...from 10: 3405 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 10: OK 701s # GLib-DEBUG: io-channel-basic: child writing 8+4856 bytes to 15 701s # GLib-DEBUG: io-channel-basic: ...from 14: IN 701s # GLib-DEBUG: io-channel-basic: ...from 14: 4856 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 14: OK 701s # GLib-DEBUG: io-channel-basic: child writing 8+3400 bytes to 9 701s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 701s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 701s # GLib-DEBUG: io-channel-basic: ...from 8: 3400 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 8: OK 701s # GLib-DEBUG: io-channel-basic: child writing 8+1461 bytes to 17 701s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 701s # GLib-DEBUG: io-channel-basic: ...from 16: IN 701s # GLib-DEBUG: io-channel-basic: ...from 16: 1461 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 16: OK 701s # GLib-DEBUG: io-channel-basic: ...from 16: HUP 701s # GLib-DEBUG: io-channel-basic: child writing 8+2351 bytes to 13 701s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 701s # GLib-DEBUG: io-channel-basic: ...from 12: IN 701s # GLib-DEBUG: io-channel-basic: ...from 12: 2351 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 12: OK 701s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 701s # GLib-DEBUG: io-channel-basic: child writing 8+2576 bytes to 11 701s # GLib-DEBUG: io-channel-basic: ...from 10: IN 701s # GLib-DEBUG: io-channel-basic: ...from 10: 2576 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 10: OK 701s # GLib-DEBUG: io-channel-basic: child writing 8+575 bytes to 15 701s # GLib-DEBUG: io-channel-basic: ...from 14: IN 701s # GLib-DEBUG: io-channel-basic: ...from 14: 575 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 14: OK 701s # GLib-DEBUG: io-channel-basic: child writing 8+2712 bytes to 11 701s # GLib-DEBUG: io-channel-basic: ...from 10: IN 701s # GLib-DEBUG: io-channel-basic: ...from 10: 2712 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 10: OK 701s # GLib-DEBUG: io-channel-basic: child writing 8+290 bytes to 15 701s # GLib-DEBUG: io-channel-basic: ...from 14: IN 701s # GLib-DEBUG: io-channel-basic: ...from 14: 290 bytes 701s # GLib-DEBUG: io-channel-basic: ...from 14: OK 702s # GLib-DEBUG: io-channel-basic: child writing 8+1978 bytes to 11 702s # GLib-DEBUG: io-channel-basic: ...from 10: IN 702s # GLib-DEBUG: io-channel-basic: ...from 10: 1978 bytes 702s # GLib-DEBUG: io-channel-basic: ...from 10: OK 702s # GLib-DEBUG: io-channel-basic: child writing 8+748 bytes to 15 702s # GLib-DEBUG: io-channel-basic: ...from 14: IN 702s # GLib-DEBUG: io-channel-basic: ...from 14: 748 bytes 702s # GLib-DEBUG: io-channel-basic: ...from 14: OK 702s # GLib-DEBUG: io-channel-basic: child writing 8+526 bytes to 11 702s # GLib-DEBUG: io-channel-basic: ...from 10: IN 702s # GLib-DEBUG: io-channel-basic: ...from 10: 526 bytes 702s # GLib-DEBUG: io-channel-basic: ...from 10: OK 702s # GLib-DEBUG: io-channel-basic: child writing 8+4871 bytes to 15 702s # GLib-DEBUG: io-channel-basic: ...from 14: IN 702s # GLib-DEBUG: io-channel-basic: ...from 14: 4871 bytes 702s # GLib-DEBUG: io-channel-basic: ...from 14: OK 702s # GLib-DEBUG: io-channel-basic: child writing 8+769 bytes to 11 702s # GLib-DEBUG: io-channel-basic: ...from 10: IN 702s # GLib-DEBUG: io-channel-basic: ...from 10: 769 bytes 702s # GLib-DEBUG: io-channel-basic: ...from 10: OK 702s # GLib-DEBUG: io-channel-basic: child writing 8+2651 bytes to 15 702s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 702s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 702s # GLib-DEBUG: io-channel-basic: ...from 14: 2651 bytes 702s # GLib-DEBUG: io-channel-basic: ...from 14: OK 702s # GLib-DEBUG: io-channel-basic: child writing 8+1968 bytes to 11 702s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 702s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 702s # GLib-DEBUG: io-channel-basic: ...from 10: 1968 bytes 702s # GLib-DEBUG: io-channel-basic: ...from 10: OK 702s ok 1 /gio/io-basics 702s # slow test /gio/io-basics executed in 12.84 secs 702s # End of gio tests 702s ok - glib/io-channel-basic.test 702s # Running test: glib/protocol.test 702s TAP version 14 702s # random seed: R02S4d0606d372f35b5f40fb7a9e730b1931 702s 1..9 702s # Start of glib tests 702s # Start of testing tests 702s # Start of protocol tests 702s ok 1 /glib/testing/protocol/debug 702s ok 2 /glib/testing/protocol/info 702s ok 3 /glib/testing/protocol/message 702s ok 4 /glib/testing/protocol/warning 702s ok 5 /glib/testing/protocol/critical 702s ok 6 /glib/testing/protocol/error 702s ok 7 /glib/testing/protocol/gtest-message 702s ok 8 /glib/testing/protocol/test-message 702s ok 9 /glib/testing/protocol/test-error 702s # End of protocol tests 702s # End of testing tests 702s # End of glib tests 702s ok - glib/protocol.test 702s # Running test: glib/cancellable.test 702s TAP version 14 702s # random seed: R02S4ce56123ce768b5632f96190554d4051 702s 1..10 702s # Start of cancellable tests 702s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 702s ok 2 /cancellable/null 702s # /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 702s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 702s # /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 703s ok 4 /cancellable/resets-on-cancel-callback-hangs 703s ok 5 /cancellable/poll-fd 703s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 703s ok 6 /cancellable/poll-fd-cancelled 703s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 703s ok 7 /cancellable/poll-fd-cancelled-threaded 703s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 703s ok 8 /cancellable/cancel-reset-races 703s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 703s not ok 9 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 703s # End of cancellable tests 703s # Start of cancellable-source tests 703s # /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) 703s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 704s ok 10 /cancellable-source/threaded-dispose 704s # slow test /cancellable-source/threaded-dispose executed in 1.10 secs 704s # End of cancellable-source tests 704s ok - glib/cancellable.test 704s # Running test: glib/dynamictype.test 704s TAP version 14 704s # random seed: R02Sd7f8c4f585402c2fd184559f7a216a42 704s 1..2 704s # Start of gobject tests 704s ok 1 /gobject/dynamic-type 704s # Start of dynamic-type tests 704s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 704s ok 2 /gobject/dynamic-type/query 704s # End of dynamic-type tests 704s # End of gobject tests 704s ok - glib/dynamictype.test 704s # Running test: glib/cxx-14.test 704s TAP version 14 704s # random seed: R02Sb3379dfc3aff642db949531089ea645c 704s 1..2 704s # Start of gtask tests 704s # 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. 704s ok 1 /gtask/name 704s # Start of name tests 704s # 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. 704s ok 2 /gtask/name/macro-wrapper 704s # End of name tests 704s # End of gtask tests 704s ok - glib/cxx-14.test 704s # Running test: glib/signals-refcount3.test 704s TAP version 14 704s # random seed: R02S3ef5131e10681dba07d75b3c17335637 704s 1..1 704s # Start of gobject tests 704s # Start of refcount tests 704s # init 0x127a6dbff420 704s # 704s # init 0x127a6dbff5c0 704s # 705s # Executing: glib/signals-refcount3.test 709s # dispose 0x127a6dbff420! 709s # 709s # dispose 0x127a6dbff5c0! 709s # 709s ok 1 /gobject/refcount/signals 709s # slow test /gobject/refcount/signals executed in 5.00 secs 709s # End of refcount tests 709s # End of gobject tests 709s ok - glib/signals-refcount3.test 709s # SUMMARY: total=319; passed=318; skipped=1; failed=0; user=250.9s; system=72.9s; maxrss=155648 709s autopkgtest [12:46:57]: test installed-tests: -----------------------] 710s installed-tests PASS 710s autopkgtest [12:46:58]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 711s autopkgtest [12:46:59]: test closure-refcount: preparing testbed 712s Reading package lists... 712s Building dependency tree... 712s Reading state information... 712s Starting pkgProblemResolver with broken count: 0 712s Starting 2 pkgProblemResolver with broken count: 0 712s Done 713s The following NEW packages will be installed: 713s autopkgtest-satdep 713s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 713s Need to get 0 B/776 B of archives. 713s After this operation, 0 B of additional disk space will be used. 713s Get:1 /tmp/autopkgtest.4RlHhU/4-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 713s Selecting previously unselected package autopkgtest-satdep. 713s (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 ... 75225 files and directories currently installed.) 713s Preparing to unpack .../4-autopkgtest-satdep.deb ... 713s Unpacking autopkgtest-satdep (0) ... 713s Setting up autopkgtest-satdep (0) ... 715s (Reading database ... 75225 files and directories currently installed.) 715s Removing autopkgtest-satdep (0) ... 715s autopkgtest [12:47:03]: test closure-refcount: [----------------------- 715s Running test: glib/closure-refcount.test 715s TAP version 14 715s # random seed: R02S754e82694ca42c2a9d89a397e7a9bce3 715s 1..1 715s # Start of closure tests 715s # Init 0x55296ef0a0 716s # Yielding from main thread 716s # Yielding from main thread 716s # Yielding from main thread 716s # Yielding from main thread 716s # Yielding from thread1 716s # Yielding from main thread 716s # Yielding from thread2 716s # Yielding from main thread 716s # Yielding from main thread 716s # Yielding from main thread 716s # Yielding from main thread 716s # Yielding from main thread 716s # Yielding from thread1 716s # Yielding from main thread 716s # Yielding from thread2 716s # Yielding from main thread 716s # Yielding from main thread 716s # Yielding from main thread 716s # Yielding from main thread 716s # Yielding from main thread 716s # Yielding from thread1 716s # Yielding from main thread 716s # Yielding from thread2 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from thread1 717s # Yielding from main thread 717s # Yielding from thread2 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from thread2 717s # Yielding from thread1 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from thread2 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from main thread 717s # Yielding from thread1 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from thread2 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from thread2 718s # Yielding from thread1 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from thread2 718s # Yielding from thread1 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from main thread 718s # Yielding from thread1 718s # Yielding from main thread 719s # Yielding from main thread 719s # Yielding from thread2 719s # Yielding from main thread 719s # Yielding from main thread 719s # Yielding from main thread 719s # Yielding from main thread 719s # Yielding from thread1 719s # Yielding from main thread 719s # Yielding from main thread 719s # Yielding from thread2 719s # Yielding from main thread 719s # Yielding from main thread 719s # Yielding from main thread 719s # Yielding from main thread 719s # Yielding from thread1 719s # Yielding from main thread 719s # Yielding from main thread 719s # Yielding from thread2 719s # Yielding from main thread 719s # Yielding from main thread 719s # Yielding from main thread 719s # Yielding from thread1 719s # Yielding from main thread 720s # Yielding from main thread 720s # Yielding from main thread 720s # Yielding from main thread 720s # Yielding from thread2 720s # Yielding from main thread 720s # Yielding from thread1 720s # Yielding from main thread 720s # Yielding from main thread 720s # Yielding from main thread 720s # Yielding from main thread 720s # Yielding from thread2 720s # Yielding from main thread 720s # Yielding from main thread 720s # Yielding from main thread 720s # Yielding from thread1 720s # Yielding from main thread 720s # Yielding from main thread 720s # Yielding from main thread 720s # Yielding from main thread 720s # Yielding from thread2 720s # Yielding from thread1 720s # Yielding from main thread 720s # Yielding from main thread 721s # Yielding from main thread 721s # Yielding from main thread 721s # Yielding from thread1 721s # Yielding from main thread 721s # Yielding from thread2 721s Executing: glib/closure-refcount.test 721s # Yielding from main thread 721s # Yielding from main thread 721s # Yielding from main thread 721s # Yielding from main thread 721s # Yielding from main thread 721s # Yielding from thread1 721s # Yielding from main thread 721s # Yielding from thread2 721s # Stopping 721s # Stopped 721s ok 1 /closure/refcount 721s # slow test /closure/refcount executed in 5.58 secs 721s # End of closure tests 721s PASS: glib/closure-refcount.test 721s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=11.1s; system=0.0s; maxrss=4096 721s autopkgtest [12:47:09]: test closure-refcount: -----------------------] 722s autopkgtest [12:47:10]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 722s closure-refcount PASS 722s autopkgtest [12:47:10]: test debugcontroller: preparing testbed 724s Reading package lists... 725s Building dependency tree... 725s Reading state information... 725s Starting pkgProblemResolver with broken count: 0 725s Starting 2 pkgProblemResolver with broken count: 0 725s Done 725s The following NEW packages will be installed: 725s autopkgtest-satdep 725s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 725s Need to get 0 B/776 B of archives. 725s After this operation, 0 B of additional disk space will be used. 725s Get:1 /tmp/autopkgtest.4RlHhU/5-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 726s Selecting previously unselected package autopkgtest-satdep. 726s (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 ... 75225 files and directories currently installed.) 726s Preparing to unpack .../5-autopkgtest-satdep.deb ... 726s Unpacking autopkgtest-satdep (0) ... 726s Setting up autopkgtest-satdep (0) ... 728s (Reading database ... 75225 files and directories currently installed.) 728s Removing autopkgtest-satdep (0) ... 729s autopkgtest [12:47:17]: test debugcontroller: [----------------------- 729s Running test: glib/debugcontroller.test 729s TAP version 14 729s # random seed: R02Se470543839d9adf131449e33345e94b7 729s 1..3 729s # Start of debug-controller tests 729s # Start of dbus tests 729s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 729s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 729s # GLib-GIO-DEBUG: Debug output enabled 729s # GLib-GIO-DEBUG: Debug output disabled 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s ok 1 /debug-controller/dbus/basic 729s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 729s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s ok 2 /debug-controller/dbus/duplicate 729s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 729s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 729s # GLib-GIO-DEBUG: Debug output enabled 729s # GLib-GIO-DEBUG: Debug output disabled 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 729s ok 3 /debug-controller/dbus/properties 729s # End of dbus tests 729s # End of debug-controller tests 729s PASS: glib/debugcontroller.test 729s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 729s autopkgtest [12:47:17]: test debugcontroller: -----------------------] 730s autopkgtest [12:47:18]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 730s debugcontroller PASS 730s autopkgtest [12:47:18]: test gdbus-server-auth: preparing testbed 731s Reading package lists... 731s Building dependency tree... 731s Reading state information... 732s Starting pkgProblemResolver with broken count: 0 732s Starting 2 pkgProblemResolver with broken count: 0 732s Done 732s The following NEW packages will be installed: 732s autopkgtest-satdep 732s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 732s Need to get 0 B/772 B of archives. 732s After this operation, 0 B of additional disk space will be used. 732s Get:1 /tmp/autopkgtest.4RlHhU/6-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 732s Selecting previously unselected package autopkgtest-satdep. 732s (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 ... 75225 files and directories currently installed.) 732s Preparing to unpack .../6-autopkgtest-satdep.deb ... 732s Unpacking autopkgtest-satdep (0) ... 732s Setting up autopkgtest-satdep (0) ... 734s (Reading database ... 75225 files and directories currently installed.) 734s Removing autopkgtest-satdep (0) ... 735s autopkgtest [12:47:23]: test gdbus-server-auth: [----------------------- 735s Running test: glib/gdbus-server-auth.test 735s TAP version 14 735s # random seed: R02S70faaa4a7137a2f04f11fdc3aee50576 735s 1..9 735s # Start of gdbus tests 735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/.dirs/home 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/.dirs/cache 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/.dirs/system-config2 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/.dirs/config 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/.dirs/system-data2 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/.dirs/data 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/.dirs/state 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/.dirs/runtime 735s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-X2THX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 735s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-X2THX2/dbus-xY4h2BFK 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 17038 735s ok 1 /gdbus/server-auth 735s # Start of server-auth tests 735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/abstract/.dirs/home 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/abstract/.dirs/cache 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/abstract/.dirs/system-config2 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/abstract/.dirs/config 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/abstract/.dirs/system-data2 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/abstract/.dirs/data 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/abstract/.dirs/state 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/abstract/.dirs/runtime 735s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-PW1GX2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 735s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-PW1GX2/dbus-kTCaYjq5 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 17038 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 735s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 17038 735s ok 2 /gdbus/server-auth/abstract 735s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/tcp/.dirs/home 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/tcp/.dirs/cache 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/tcp/.dirs/system-config2 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/tcp/.dirs/config 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/tcp/.dirs/system-data2 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/tcp/.dirs/data 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/tcp/.dirs/state 735s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/tcp/.dirs/runtime 735s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 735s # Connectable address: tcp:host=127.0.0.1,port=45711 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 735s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 735s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 735s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 735s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 735s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 735s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 736s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 736s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 736s ok 3 /gdbus/server-auth/tcp 736s # slow test /gdbus/server-auth/tcp executed in 0.92 secs 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/.dirs/runtime 736s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-4BG4W2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 736s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-4BG4W2/dbus-OdpE0QYQ 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 17038 736s ok 4 /gdbus/server-auth/anonymous 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/.dirs/runtime 736s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-KSYHX2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 736s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-KSYHX2/dbus-ncyV1Pec 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 736s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 17038 736s ok 5 /gdbus/server-auth/external 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/.dirs/runtime 736s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-CKTGX2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 736s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-CKTGX2/dbus-cmt2rWmW 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 17038 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 736s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 17038 736s ok 6 /gdbus/server-auth/sha1 736s # Start of anonymous tests 736s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/tcp/.dirs/home 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/tcp/.dirs/cache 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/tcp/.dirs/config 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/tcp/.dirs/data 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/tcp/.dirs/state 736s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 736s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 736s # Connectable address: tcp:host=127.0.0.1,port=40467 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 736s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 736s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 736s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 736s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 736s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 737s ok 7 /gdbus/server-auth/anonymous/tcp 737s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 737s # End of anonymous tests 737s # Start of external tests 737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/require-same-user/.dirs/home 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/require-same-user/.dirs/cache 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/require-same-user/.dirs/config 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/require-same-user/.dirs/data 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/require-same-user/.dirs/state 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/external/require-same-user/.dirs/runtime 737s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-8AF4W2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 737s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_VQUHX2/gdbus-server-auth-8AF4W2/dbus-kweM04km 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 17038 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 737s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=17038,uid=1000,gid=1000 737s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 17038 737s ok 8 /gdbus/server-auth/external/require-same-user 737s # End of external tests 737s # Start of sha1 tests 737s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/tcp/.dirs/home 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/tcp/.dirs/cache 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/tcp/.dirs/config 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/tcp/.dirs/data 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/tcp/.dirs/state 737s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_VQUHX2/gdbus/server-auth/sha1/tcp/.dirs/runtime 737s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 737s # Connectable address: tcp:host=127.0.0.1,port=40357 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 737s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 737s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 737s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 737s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 737s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 738s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 738s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 738s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 738s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 738s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 738s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 738s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 738s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 738s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 738s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 738s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 738s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 738s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 738s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 738s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 738s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 738s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 738s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 738s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 738s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 738s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 738s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 738s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 738s ok 9 /gdbus/server-auth/sha1/tcp 738s # slow test /gdbus/server-auth/sha1/tcp executed in 0.90 secs 738s # End of sha1 tests 738s # End of server-auth tests 738s # End of gdbus tests 738s PASS: glib/gdbus-server-auth.test 738s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8192 738s autopkgtest [12:47:26]: test gdbus-server-auth: -----------------------] 739s autopkgtest [12:47:27]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 739s gdbus-server-auth PASS 739s autopkgtest [12:47:27]: test gdbus-threading: preparing testbed 741s Reading package lists... 741s Building dependency tree... 741s Reading state information... 742s Starting pkgProblemResolver with broken count: 0 742s Starting 2 pkgProblemResolver with broken count: 0 742s Done 742s The following NEW packages will be installed: 742s autopkgtest-satdep 742s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 742s Need to get 0 B/776 B of archives. 742s After this operation, 0 B of additional disk space will be used. 742s Get:1 /tmp/autopkgtest.4RlHhU/7-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 743s Selecting previously unselected package autopkgtest-satdep. 743s (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 ... 75225 files and directories currently installed.) 743s Preparing to unpack .../7-autopkgtest-satdep.deb ... 743s Unpacking autopkgtest-satdep (0) ... 743s Setting up autopkgtest-satdep (0) ... 745s (Reading database ... 75225 files and directories currently installed.) 745s Removing autopkgtest-satdep (0) ... 745s autopkgtest [12:47:33]: test gdbus-threading: [----------------------- 746s Running test: glib/gdbus-threading.test 746s TAP version 14 746s # random seed: R02S98c7ebea5d2d3c8095e32a1e4cbb64ad 746s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 746s 1..3 746s # Start of gdbus tests 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/delivery-in-thread/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/delivery-in-thread/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_SG6FX2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_SG6FX2/gdbus/delivery-in-thread/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/delivery-in-thread/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_SG6FX2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_SG6FX2/gdbus/delivery-in-thread/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/delivery-in-thread/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/delivery-in-thread/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_SG6FX2/gdbus/delivery-in-thread/.dirs/runtime 746s ok 1 /gdbus/delivery-in-thread 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/method-calls-in-thread/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/method-calls-in-thread/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_SG6FX2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_SG6FX2/gdbus/method-calls-in-thread/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/method-calls-in-thread/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_SG6FX2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_SG6FX2/gdbus/method-calls-in-thread/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/method-calls-in-thread/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/method-calls-in-thread/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_SG6FX2/gdbus/method-calls-in-thread/.dirs/runtime 746s ok 2 /gdbus/method-calls-in-thread 746s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/threaded-singleton/.dirs/home 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/threaded-singleton/.dirs/cache 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_SG6FX2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_SG6FX2/gdbus/threaded-singleton/.dirs/system-config2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/threaded-singleton/.dirs/config 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_SG6FX2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_SG6FX2/gdbus/threaded-singleton/.dirs/system-data2 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/threaded-singleton/.dirs/data 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_SG6FX2/gdbus/threaded-singleton/.dirs/state 746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_SG6FX2/gdbus/threaded-singleton/.dirs/runtime 746s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 746s # GLib-GIO-DEBUG: refcount of 0x68a038001c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 746s # GLib-GIO-DEBUG: refcount of 0x68a038001c30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 746s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 746s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 746s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 746s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 746s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 746s # GLib-GIO-DEBUG: refcount of 0x68a038000e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038004b60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038002d20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038000dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a0380017f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a0380054a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038005620 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038002510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 747s # GLib-GIO-DEBUG: refcount of 0x68a038002510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: refcount of 0x68a038000d90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: refcount of 0x68a0380020f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: refcount of 0x68a038000c80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: refcount of 0x68a038001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: refcount of 0x68a038002140 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 748s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: refcount of 0x68a038000c80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 749s ok 3 /gdbus/threaded-singleton 749s # slow test /gdbus/threaded-singleton executed in 2.79 secs 749s # End of gdbus tests 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 749s PASS: glib/gdbus-threading.test 749s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.7s; system=0.3s; maxrss=8192 750s autopkgtest [12:47:38]: test gdbus-threading: -----------------------] 750s gdbus-threading PASS 750s autopkgtest [12:47:38]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 750s autopkgtest [12:47:38]: test gmenumodel: preparing testbed 752s Reading package lists... 753s Building dependency tree... 753s Reading state information... 753s Starting pkgProblemResolver with broken count: 0 753s Starting 2 pkgProblemResolver with broken count: 0 753s Done 754s The following NEW packages will be installed: 754s autopkgtest-satdep 754s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 754s Need to get 0 B/776 B of archives. 754s After this operation, 0 B of additional disk space will be used. 754s Get:1 /tmp/autopkgtest.4RlHhU/8-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 754s Selecting previously unselected package autopkgtest-satdep. 754s (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 ... 75225 files and directories currently installed.) 754s Preparing to unpack .../8-autopkgtest-satdep.deb ... 754s Unpacking autopkgtest-satdep (0) ... 754s Setting up autopkgtest-satdep (0) ... 756s (Reading database ... 75225 files and directories currently installed.) 756s Removing autopkgtest-satdep (0) ... 757s autopkgtest [12:47:45]: test gmenumodel: [----------------------- 757s Running test: glib/gmenumodel.test 757s TAP version 14 757s # random seed: R02S34e804aab9521d1cfd6d7224d8f93f2f 757s 1..15 757s # Start of gmenu tests 759s ok 1 /gmenu/equality 759s # slow test /gmenu/equality executed in 1.99 secs 762s ok 2 /gmenu/random 762s # slow test /gmenu/random executed in 2.58 secs 762s ok 3 /gmenu/attributes 762s ok 4 /gmenu/links 762s ok 5 /gmenu/mutable 762s ok 6 /gmenu/convenience 762s ok 7 /gmenu/menuitem 762s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 762s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 762s ok 8 /gmenu/input-validation 762s # Start of dbus tests 762s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 763s Executing: glib/gmenumodel.test 763s ok 9 /gmenu/dbus/roundtrip 763s # slow test /gmenu/dbus/roundtrip executed in 1.03 secs 763s ok 10 /gmenu/dbus/subscriptions 765s ok 11 /gmenu/dbus/threaded 765s # slow test /gmenu/dbus/threaded executed in 1.68 secs 765s # Start of peer tests 766s ok 12 /gmenu/dbus/peer/roundtrip 766s # slow test /gmenu/dbus/peer/roundtrip executed in 1.04 secs 766s ok 13 /gmenu/dbus/peer/subscriptions 766s # End of peer tests 766s # Start of export tests 766s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 766s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 766s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 766s ok 14 /gmenu/dbus/export/error-handling 766s # End of export tests 766s # End of dbus tests 766s # Start of attributes tests 766s ok 15 /gmenu/attributes/iterate 766s # End of attributes tests 766s # End of gmenu tests 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 766s PASS: glib/gmenumodel.test 766s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=7.7s; system=0.2s; maxrss=32768 767s autopkgtest [12:47:55]: test gmenumodel: -----------------------] 767s autopkgtest [12:47:55]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 767s gmenumodel PASS 768s autopkgtest [12:47:56]: test mainloop: preparing testbed 771s Reading package lists... 771s Building dependency tree... 771s Reading state information... 771s Starting pkgProblemResolver with broken count: 0 771s Starting 2 pkgProblemResolver with broken count: 0 771s Done 772s The following NEW packages will be installed: 772s autopkgtest-satdep 772s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 772s Need to get 0 B/776 B of archives. 772s After this operation, 0 B of additional disk space will be used. 772s Get:1 /tmp/autopkgtest.4RlHhU/9-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 772s Selecting previously unselected package autopkgtest-satdep. 772s (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 ... 75225 files and directories currently installed.) 772s Preparing to unpack .../9-autopkgtest-satdep.deb ... 772s Unpacking autopkgtest-satdep (0) ... 772s Setting up autopkgtest-satdep (0) ... 775s (Reading database ... 75225 files and directories currently installed.) 775s Removing autopkgtest-satdep (0) ... 775s autopkgtest [12:48:03]: test mainloop: [----------------------- 775s Running test: glib/mainloop.test 775s TAP version 14 775s # random seed: R02Sc2dab284e8f5e03b3d73e47c63f37886 775s 1..45 775s # Start of maincontext tests 775s ok 1 /maincontext/basic 775s # Add same-priority sources: 23 775s # Find each source: 7 776s # Remove in random order: 41 776s ok 2 /maincontext/nsources_same_priority 776s # Add different-priority sources: 29 776s # Find each source: 7 776s # Remove in random order: 49 776s ok 3 /maincontext/nsources_different_priority 776s # Add sources from threads: 233 776s # Remove sources from threads: 91 776s ok 4 /maincontext/nsources_threadpool 776s ok 5 /maincontext/source_finalization 776s # /maincontext/idle-once summary: Test g_idle_add_once() works 776s ok 6 /maincontext/idle-once 776s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 776s ok 7 /maincontext/timeout-once 776s # Start of source_finalization_from_source tests 776s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 776s ok 8 /maincontext/source_finalization_from_source/0 776s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 776s ok 9 /maincontext/source_finalization_from_source/1 776s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 776s ok 10 /maincontext/source_finalization_from_source/2 776s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 776s ok 11 /maincontext/source_finalization_from_source/3 776s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 776s ok 12 /maincontext/source_finalization_from_source/4 776s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 776s ok 13 /maincontext/source_finalization_from_source/5 776s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 776s ok 14 /maincontext/source_finalization_from_source/6 776s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 776s ok 15 /maincontext/source_finalization_from_source/7 776s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 776s ok 16 /maincontext/source_finalization_from_source/8 776s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 776s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 776s ok 17 /maincontext/source_finalization_from_source/9 776s # End of source_finalization_from_source tests 776s # Start of source_finalization_from_dispatch tests 776s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 776s ok 18 /maincontext/source_finalization_from_dispatch/0 776s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 776s ok 19 /maincontext/source_finalization_from_dispatch/1 776s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 776s ok 20 /maincontext/source_finalization_from_dispatch/2 776s # End of source_finalization_from_dispatch tests 776s # End of maincontext tests 776s # Start of mainloop tests 776s ok 21 /mainloop/basic 776s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 776s ok 23 /mainloop/priorities 777s ok 24 /mainloop/invoke 777s # slow test /mainloop/invoke executed in 0.50 secs 778s ok 25 /mainloop/child_sources 778s # slow test /mainloop/child_sources executed in 1.19 secs 780s ok 26 /mainloop/recursive_child_sources 780s # slow test /mainloop/recursive_child_sources executed in 2.23 secs 780s ok 27 /mainloop/recursive_loop_child_sources 780s ok 28 /mainloop/swapping_child_sources 780s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 780s ok 29 /mainloop/blocked_child_sources 781s Executing: glib/mainloop.test 781s ok 30 /mainloop/source_time 781s # slow test /mainloop/source_time executed in 1.00 secs 781s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 781s ok 31 /mainloop/overflow 782s ok 32 /mainloop/ready-time 782s # slow test /mainloop/ready-time executed in 0.50 secs 782s ok 33 /mainloop/wakeup 782s ok 34 /mainloop/remove-invalid 782s ok 35 /mainloop/unref-while-pending 783s ok 36 /mainloop/unix-fd 783s # slow test /mainloop/unix-fd executed in 1.47 secs 783s ok 37 /mainloop/unix-fd-source 783s ok 38 /mainloop/source-unix-fd-api 783s ok 39 /mainloop/wait 783s ok 40 /mainloop/unix-file-poll 783s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 783s ok 41 /mainloop/unix-fd-priority 783s ok 42 /mainloop/nfds 783s ok 43 /mainloop/steal-fd 783s # Start of ownerless-polling tests 783s ok 44 /mainloop/ownerless-polling/attach-first 783s ok 45 /mainloop/ownerless-polling/pop-first 783s # End of ownerless-polling tests 783s # End of mainloop tests 783s PASS: glib/mainloop.test 783s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.2s; system=1.2s; maxrss=16384 784s autopkgtest [12:48:12]: test mainloop: -----------------------] 784s autopkgtest [12:48:12]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 784s mainloop PASS 784s autopkgtest [12:48:12]: test memory-monitor-dbus: preparing testbed 786s Reading package lists... 786s Building dependency tree... 786s Reading state information... 786s Starting pkgProblemResolver with broken count: 0 786s Starting 2 pkgProblemResolver with broken count: 0 786s Done 787s The following NEW packages will be installed: 787s autopkgtest-satdep 787s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 787s Need to get 0 B/772 B of archives. 787s After this operation, 0 B of additional disk space will be used. 787s Get:1 /tmp/autopkgtest.4RlHhU/10-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 787s Selecting previously unselected package autopkgtest-satdep. 787s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75225 files and directories currently installed.) 787s Preparing to unpack .../10-autopkgtest-satdep.deb ... 787s Unpacking autopkgtest-satdep (0) ... 787s Setting up autopkgtest-satdep (0) ... 789s (Reading database ... 75225 files and directories currently installed.) 789s Removing autopkgtest-satdep (0) ... 790s autopkgtest [12:48:18]: test memory-monitor-dbus: [----------------------- 790s Running test: glib/memory-monitor-dbus.test 791s TAP version 13 791s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 791s # Received memory warning signal, level 791s # Received memory warning signal, level 791s # Received memory warning signal, level 791s 1..1 791s PASS: glib/memory-monitor-dbus.test 791s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=34816 791s autopkgtest [12:48:19]: test memory-monitor-dbus: -----------------------] 791s autopkgtest [12:48:19]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 791s memory-monitor-dbus PASS 792s autopkgtest [12:48:20]: test socket: preparing testbed 793s Reading package lists... 794s Building dependency tree... 794s Reading state information... 794s Starting pkgProblemResolver with broken count: 0 794s Starting 2 pkgProblemResolver with broken count: 0 794s Done 794s The following NEW packages will be installed: 794s autopkgtest-satdep 794s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 794s Need to get 0 B/780 B of archives. 794s After this operation, 0 B of additional disk space will be used. 794s Get:1 /tmp/autopkgtest.4RlHhU/11-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 795s Selecting previously unselected package autopkgtest-satdep. 795s (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 ... 75225 files and directories currently installed.) 795s Preparing to unpack .../11-autopkgtest-satdep.deb ... 795s Unpacking autopkgtest-satdep (0) ... 795s Setting up autopkgtest-satdep (0) ... 797s (Reading database ... 75225 files and directories currently installed.) 797s Removing autopkgtest-satdep (0) ... 797s autopkgtest [12:48:25]: test socket: [----------------------- 798s Running test: glib/socket.test 798s TAP version 14 798s # random seed: R02S6a7cdca2c6994ec53b358046e2b820e4 798s 1..28 798s # Start of socket tests 799s ok 1 /socket/ipv4_sync 799s # slow test /socket/ipv4_sync executed in 1.00 secs 800s ok 2 /socket/ipv4_async 800s # slow test /socket/ipv4_async executed in 1.00 secs 800s ok 3 /socket/ipv6_sync 800s ok 4 /socket/ipv6_async 800s ok 5 /socket/ipv6_v4mapped 801s ok 6 /socket/close_graceful 801s # slow test /socket/close_graceful executed in 1.00 secs 801s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 801s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 801s ok 8 /socket/fd_reuse 801s ok 9 /socket/address 801s ok 10 /socket/unix-from-fd 801s ok 11 /socket/unix-connection 801s ok 12 /socket/unix-connection-ancillary-data 801s ok 13 /socket/source-postmortem 801s ok 14 /socket/read_write 801s ok 15 /socket/read_writev 801s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 801s ok 16 /socket/receive_bytes 801s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 801s ok 17 /socket/receive_bytes_from 801s # Start of ipv4_sync tests 801s ok 18 /socket/ipv4_sync/datagram 801s # Start of datagram tests 802s ok 19 /socket/ipv4_sync/datagram/timeouts 802s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 802s # End of datagram tests 802s # End of ipv4_sync tests 802s # Start of ipv6_sync tests 802s ok 20 /socket/ipv6_sync/datagram 802s # Start of datagram tests 803s Executing: glib/socket.test 803s ok 21 /socket/ipv6_sync/datagram/timeouts 803s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 803s # End of datagram tests 803s # End of ipv6_sync tests 803s # Start of reuse tests 803s ok 22 /socket/reuse/tcp 803s ok 23 /socket/reuse/udp 803s # End of reuse tests 803s # Start of get_available tests 803s ok 24 /socket/get_available/datagram 803s ok 25 /socket/get_available/stream 803s # End of get_available tests 803s # Start of credentials tests 803s # Supported on this OS: GCredentials:linux-ucred:pid=0 803s ok 26 /socket/credentials/tcp_client 803s # Supported on this OS: GCredentials:linux-ucred:pid=0 803s ok 27 /socket/credentials/tcp_server 803s # Supported on this OS: GCredentials:linux-ucred:pid=19390,uid=1000,gid=1000 803s ok 28 /socket/credentials/unix_socketpair 803s # End of credentials tests 803s # End of socket tests 803s PASS: glib/socket.test 803s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 803s autopkgtest [12:48:31]: test socket: -----------------------] 804s socket PASS 804s autopkgtest [12:48:32]: test socket: - - - - - - - - - - results - - - - - - - - - - 804s autopkgtest [12:48:32]: test testfilemonitor: preparing testbed 805s Reading package lists... 806s Building dependency tree... 806s Reading state information... 806s Starting pkgProblemResolver with broken count: 0 806s Starting 2 pkgProblemResolver with broken count: 0 806s Done 807s The following NEW packages will be installed: 807s autopkgtest-satdep 807s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 807s Need to get 0 B/772 B of archives. 807s After this operation, 0 B of additional disk space will be used. 807s Get:1 /tmp/autopkgtest.4RlHhU/12-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 807s Selecting previously unselected package autopkgtest-satdep. 807s (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 ... 75225 files and directories currently installed.) 807s Preparing to unpack .../12-autopkgtest-satdep.deb ... 807s Unpacking autopkgtest-satdep (0) ... 807s Setting up autopkgtest-satdep (0) ... 809s (Reading database ... 75225 files and directories currently installed.) 809s Removing autopkgtest-satdep (0) ... 810s autopkgtest [12:48:38]: test testfilemonitor: [----------------------- 810s Running test: glib/testfilemonitor.test 810s TAP version 14 810s # random seed: R02S73baf891ed55f2482432f5b4f1b0b230 810s 1..8 810s # Start of monitor tests 810s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 810s # Using temporary directory: /tmp/gio-test-testfilemonitor_GRH0W2 810s # Using GFileMonitor GInotifyFileMonitor 812s ok 1 /monitor/atomic-replace 812s # slow test /monitor/atomic-replace executed in 2.00 secs 812s # Using temporary directory: /tmp/gio-test-testfilemonitor_WEK0W2 812s # Using GFileMonitor GInotifyFileMonitor 814s ok 2 /monitor/file-changes 814s # slow test /monitor/file-changes executed in 2.50 secs 814s # Using temporary directory: /tmp/gio-test-testfilemonitor_D3CBX2 814s # Using GFileMonitor GInotifyFileMonitor 815s Executing: glib/testfilemonitor.test 818s ok 3 /monitor/dir-monitor 818s # slow test /monitor/dir-monitor executed in 3.51 secs 818s # Using temporary directory: /tmp/gio-test-testfilemonitor_F651W2 818s # Using GFileMonitor GInotifyFileMonitor 820s Executing: glib/testfilemonitor.test 825s Executing: glib/testfilemonitor.test 830s Executing: glib/testfilemonitor.test 835s Executing: glib/testfilemonitor.test 840s Executing: glib/testfilemonitor.test 843s ok 4 /monitor/dir-not-existent 843s # slow test /monitor/dir-not-existent executed in 25.02 secs 843s # Using temporary directory: /tmp/gio-test-testfilemonitor_IKO2W2 843s # Using GFileMonitor 0 GInotifyFileMonitor 843s # Using GFileMonitor 1 GInotifyFileMonitor 845s Executing: glib/testfilemonitor.test 845s ok 5 /monitor/cross-dir-moves 845s # slow test /monitor/cross-dir-moves executed in 2.00 secs 845s # Using temporary directory: /tmp/gio-test-testfilemonitor_C2D2W2 845s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 845s ok 6 /monitor/finalize-in-callback 845s # Using temporary directory: /tmp/gio-test-testfilemonitor_16H2W2 845s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 845s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 845s ok 7 /monitor/root 845s # Start of file tests 845s # Using temporary directory: /tmp/gio-test-testfilemonitor_NGI2W2 845s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 845s # Running with hard link tests 845s # Using GFileMonitor GInotifyFileMonitor 848s # Event 0 at expected index 7 skipped because it is marked as optional 848s # Event 2 at expected index 11 skipped because it is marked as optional 848s ok 8 /monitor/file/hard-links 848s # slow test /monitor/file/hard-links executed in 3.51 secs 848s # End of file tests 848s # End of monitor tests 848s PASS: glib/testfilemonitor.test 848s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 849s autopkgtest [12:49:17]: test testfilemonitor: -----------------------] 849s autopkgtest [12:49:17]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 849s testfilemonitor PASS 850s autopkgtest [12:49:18]: test thread-pool-slow: preparing testbed 851s Reading package lists... 851s Building dependency tree... 851s Reading state information... 851s Starting pkgProblemResolver with broken count: 0 851s Starting 2 pkgProblemResolver with broken count: 0 851s Done 852s The following NEW packages will be installed: 852s autopkgtest-satdep 852s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 852s Need to get 0 B/776 B of archives. 852s After this operation, 0 B of additional disk space will be used. 852s Get:1 /tmp/autopkgtest.4RlHhU/13-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 852s Selecting previously unselected package autopkgtest-satdep. 852s (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 ... 75225 files and directories currently installed.) 852s Preparing to unpack .../13-autopkgtest-satdep.deb ... 852s Unpacking autopkgtest-satdep (0) ... 852s Setting up autopkgtest-satdep (0) ... 854s (Reading database ... 75225 files and directories currently installed.) 854s Removing autopkgtest-satdep (0) ... 855s autopkgtest [12:49:23]: test thread-pool-slow: [----------------------- 855s Running test: glib/thread-pool-slow.test 855s TAP version 14 855s # random seed: R02S903d07a49043013b4895b99ae0384348 855s 1..7 855s # Start of threadpool tests 855s ok 1 /threadpool/functions 856s ok 2 /threadpool/stop-unused 856s # slow test /threadpool/stop-unused executed in 0.51 secs 856s ok 3 /threadpool/pools 856s # [unsorted] ===> pushed new thread with id:52, number of threads:1, unprocessed:1 856s # [unsorted] ===> pushed new thread with id:48, number of threads:2, unprocessed:2 856s # [unsorted] ===> pushed new thread with id:49, number of threads:3, unprocessed:3 856s # [unsorted] ===> pushed new thread with id:67, number of threads:4, unprocessed:4 856s # [unsorted] ===> pushed new thread with id:67, number of threads:5, unprocessed:5 856s # [unsorted] ===> pushed new thread with id:69, number of threads:6, unprocessed:6 856s # [unsorted] ===> pushed new thread with id:9, number of threads:7, unprocessed:7 856s # [unsorted] ===> pushed new thread with id:36, number of threads:8, unprocessed:8 856s # [unsorted] ===> pushed new thread with id:71, number of threads:9, unprocessed:6 856s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:7 856s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:7 856s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:8 856s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:8 856s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:8 856s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:5 856s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:6 856s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:7 856s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:8 856s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:9 856s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:10 856s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:11 856s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:12 856s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:13 856s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:14 856s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:15 856s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:16 856s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:17 856s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:18 856s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:19 856s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:20 856s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:21 856s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:22 856s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:23 856s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:24 856s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:25 856s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:26 856s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:27 856s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:28 856s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:29 856s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:30 856s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:31 856s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:32 856s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:33 856s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:34 856s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:35 856s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:36 856s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:37 856s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:38 856s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:39 856s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:40 856s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:41 856s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:42 856s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:43 856s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:44 856s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:45 856s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:46 856s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:47 856s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:48 856s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:49 856s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:50 856s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:51 856s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:52 856s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:53 856s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:54 856s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:55 856s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:56 856s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:57 856s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:58 856s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:59 856s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:60 856s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:61 856s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:62 856s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:63 856s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:64 856s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:65 856s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:66 856s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:67 856s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:68 856s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:69 856s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:70 856s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:71 856s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:72 856s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:73 856s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:74 856s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:75 856s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:76 856s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:77 856s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:78 856s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:79 856s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:80 856s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:81 856s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:82 856s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:83 856s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:84 856s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:85 856s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:86 856s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:87 856s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:88 856s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:89 856s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:90 856s ok 4 /threadpool/no-sort 856s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:1 856s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:2 856s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:3 856s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:4 856s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:5 856s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:6 856s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:7 856s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:8 856s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:9 856s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:10 856s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:11 856s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:12 856s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:13 856s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:14 856s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:15 856s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:16 856s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:17 856s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:18 856s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:19 856s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:20 856s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:21 856s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:22 856s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:23 856s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:24 856s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:25 856s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:26 856s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:27 856s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:28 856s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:29 856s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:30 856s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:31 856s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:32 856s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:33 856s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:34 856s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:35 856s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:36 856s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:37 856s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:38 856s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:39 856s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:40 856s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:41 856s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:42 856s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:43 856s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:44 856s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:45 856s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:46 856s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:47 856s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:48 856s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:49 856s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:50 856s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:51 856s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:52 856s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:53 856s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:54 856s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:55 856s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:56 856s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:57 856s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:58 856s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:59 856s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:60 856s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:61 856s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:62 856s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:63 856s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:64 856s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:65 856s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:66 856s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:67 856s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:68 856s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:69 856s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:70 856s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:71 856s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:72 856s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:73 856s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:74 856s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:75 856s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:76 856s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:77 856s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:78 856s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:79 856s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:80 856s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:81 856s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:82 856s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:83 856s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:84 856s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:85 856s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:86 856s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:87 856s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:88 856s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:89 856s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:90 856s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:91 856s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:92 856s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:93 856s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:94 856s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:95 856s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:96 856s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:97 856s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:98 856s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:99 856s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:100 856s # Starting thread pool processing 856s ok 5 /threadpool/sort 856s ok 6 /threadpool/stop-unused-multiple 856s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 856s # Pool idle thread count: 0, unprocessed jobs: 40 857s # Pool idle thread count: 0, unprocessed jobs: 0 857s # Pool idle thread count: 0, unprocessed jobs: 0 857s # Pool idle thread count: 10, unprocessed jobs: 0 857s # Pool idle thread count: 10, unprocessed jobs: 0 858s # Pool idle thread count: 10, unprocessed jobs: 0 858s # Pool idle thread count: 10, unprocessed jobs: 0 858s # Pool idle thread count: 10, unprocessed jobs: 0 858s # Pool idle thread count: 10, unprocessed jobs: 0 859s # Pool idle thread count: 10, unprocessed jobs: 0 859s # Pool idle thread count: 10, unprocessed jobs: 0 859s # Pool idle thread count: 10, unprocessed jobs: 0 859s # Pool idle thread count: 10, unprocessed jobs: 0 860s # Pool idle thread count: 10, unprocessed jobs: 0 860s # Pool idle thread count: 10, unprocessed jobs: 0 860s # Pool idle thread count: 10, unprocessed jobs: 0 860s # Pool idle thread count: 10, unprocessed jobs: 0 861s Executing: glib/thread-pool-slow.test 861s # Pool idle thread count: 10, unprocessed jobs: 0 861s # Pool idle thread count: 10, unprocessed jobs: 0 861s # Pool idle thread count: 10, unprocessed jobs: 0 861s # Pool idle thread count: 10, unprocessed jobs: 0 862s # Pool idle thread count: 10, unprocessed jobs: 0 862s # Pool idle thread count: 10, unprocessed jobs: 0 862s # Pool idle thread count: 10, unprocessed jobs: 0 862s # Pool idle thread count: 10, unprocessed jobs: 0 863s # Pool idle thread count: 10, unprocessed jobs: 0 863s # Pool idle thread count: 10, unprocessed jobs: 0 863s # Pool idle thread count: 10, unprocessed jobs: 0 863s # Pool idle thread count: 10, unprocessed jobs: 0 864s # Pool idle thread count: 10, unprocessed jobs: 0 864s # Pool idle thread count: 10, unprocessed jobs: 0 864s # Pool idle thread count: 10, unprocessed jobs: 0 864s # Pool idle thread count: 10, unprocessed jobs: 0 865s # Pool idle thread count: 10, unprocessed jobs: 0 865s # Pool idle thread count: 10, unprocessed jobs: 0 865s # Pool idle thread count: 10, unprocessed jobs: 2 865s # Pool idle thread count: 10, unprocessed jobs: 2 865s # Pool idle thread count: 8, unprocessed jobs: 0 865s # Pool idle thread count: 8, unprocessed jobs: 0 866s Executing: glib/thread-pool-slow.test 866s # Pool idle thread count: 10, unprocessed jobs: 0 866s # Pool idle thread count: 10, unprocessed jobs: 0 866s # Pool idle thread count: 10, unprocessed jobs: 0 866s # Pool idle thread count: 10, unprocessed jobs: 0 867s # Pool idle thread count: 10, unprocessed jobs: 0 867s # Pool idle thread count: 10, unprocessed jobs: 0 867s # Pool idle thread count: 2, unprocessed jobs: 0 867s # Pool idle thread count: 2, unprocessed jobs: 0 868s # Pool idle thread count: 2, unprocessed jobs: 0 868s # Pool idle thread count: 2, unprocessed jobs: 0 868s # Pool idle thread count: 2, unprocessed jobs: 0 868s # Pool idle thread count: 2, unprocessed jobs: 0 869s # Pool idle thread count: 2, unprocessed jobs: 0 869s # Pool idle thread count: 2, unprocessed jobs: 0 869s # Pool idle thread count: 2, unprocessed jobs: 0 869s # Pool idle thread count: 2, unprocessed jobs: 0 870s # Pool idle thread count: 2, unprocessed jobs: 0 870s # Pool idle thread count: 2, unprocessed jobs: 0 870s # Pool idle thread count: 2, unprocessed jobs: 0 870s # Pool idle thread count: 2, unprocessed jobs: 0 871s Executing: glib/thread-pool-slow.test 871s # Pool idle thread count: 2, unprocessed jobs: 0 871s # Pool idle thread count: 2, unprocessed jobs: 0 871s # Pool idle thread count: 2, unprocessed jobs: 0 871s # Pool idle thread count: 2, unprocessed jobs: 0 872s # Pool idle thread count: 2, unprocessed jobs: 0 872s # Pool idle thread count: 2, unprocessed jobs: 0 872s # Pool idle thread count: 2, unprocessed jobs: 0 872s # Pool idle thread count: 2, unprocessed jobs: 0 873s # Pool idle thread count: 2, unprocessed jobs: 0 873s # Pool idle thread count: 2, unprocessed jobs: 0 873s # Pool idle thread count: 2, unprocessed jobs: 0 873s # Pool idle thread count: 2, unprocessed jobs: 0 874s # Pool idle thread count: 2, unprocessed jobs: 0 874s # Pool idle thread count: 2, unprocessed jobs: 0 874s # Pool idle thread count: 2, unprocessed jobs: 0 874s # Pool idle thread count: 2, unprocessed jobs: 0 875s # Pool idle thread count: 2, unprocessed jobs: 0 875s # Pool idle thread count: 2, unprocessed jobs: 0 875s # Pool idle thread count: 2, unprocessed jobs: 0 875s # Pool idle thread count: 2, unprocessed jobs: 0 876s Executing: glib/thread-pool-slow.test 876s ok 7 /threadpool/idle-time 876s # slow test /threadpool/idle-time executed in 19.53 secs 876s # End of threadpool tests 876s PASS: glib/thread-pool-slow.test 876s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=10240 876s autopkgtest [12:49:44]: test thread-pool-slow: -----------------------] 877s autopkgtest [12:49:45]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 877s thread-pool-slow PASS 877s autopkgtest [12:49:45]: test threadtests: preparing testbed 879s Reading package lists... 879s Building dependency tree... 879s Reading state information... 879s Starting pkgProblemResolver with broken count: 0 879s Starting 2 pkgProblemResolver with broken count: 0 879s Done 880s The following NEW packages will be installed: 880s autopkgtest-satdep 880s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 880s Need to get 0 B/776 B of archives. 880s After this operation, 0 B of additional disk space will be used. 880s Get:1 /tmp/autopkgtest.4RlHhU/14-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 880s Selecting previously unselected package autopkgtest-satdep. 880s (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 ... 75225 files and directories currently installed.) 880s Preparing to unpack .../14-autopkgtest-satdep.deb ... 880s Unpacking autopkgtest-satdep (0) ... 880s Setting up autopkgtest-satdep (0) ... 882s (Reading database ... 75225 files and directories currently installed.) 882s Removing autopkgtest-satdep (0) ... 883s autopkgtest [12:49:51]: test threadtests: [----------------------- 883s Running test: glib/threadtests.test 883s TAP version 14 883s # random seed: R02Sa5277e1fcd1e37fba3fa712f6d3aae36 883s 1..5 883s # Start of GObject tests 883s ok 1 /GObject/threaded-object-init 884s ok 2 /GObject/threaded-weak-ref 884s # slow test /GObject/threaded-weak-ref executed in 0.94 secs 884s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 884s # /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 884s ok 3 /GObject/threaded-toggle-notify 884s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 884s # Start of threaded-weak-ref tests 884s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 884s # /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. 884s ok 5 /GObject/threaded-weak-ref/on-finalization 884s # End of threaded-weak-ref tests 884s # End of GObject tests 884s PASS: glib/threadtests.test 884s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.0s; system=0.6s; maxrss=4096 885s autopkgtest [12:49:53]: test threadtests: -----------------------] 885s threadtests PASS 885s autopkgtest [12:49:53]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 886s autopkgtest [12:49:54]: test timeout: preparing testbed 887s Reading package lists... 887s Building dependency tree... 887s Reading state information... 888s Starting pkgProblemResolver with broken count: 0 888s Starting 2 pkgProblemResolver with broken count: 0 888s Done 888s The following NEW packages will be installed: 888s autopkgtest-satdep 888s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 888s Need to get 0 B/780 B of archives. 888s After this operation, 0 B of additional disk space will be used. 888s Get:1 /tmp/autopkgtest.4RlHhU/15-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 889s Selecting previously unselected package autopkgtest-satdep. 889s (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 ... 75225 files and directories currently installed.) 889s Preparing to unpack .../15-autopkgtest-satdep.deb ... 889s Unpacking autopkgtest-satdep (0) ... 889s Setting up autopkgtest-satdep (0) ... 891s (Reading database ... 75225 files and directories currently installed.) 891s Removing autopkgtest-satdep (0) ... 892s autopkgtest [12:50:00]: test timeout: [----------------------- 892s Running test: glib/timeout.test 892s TAP version 14 892s # random seed: R02Sce343491fbfb9f9c8e83550c83ad35ae 892s 1..5 892s # Start of timeout tests 892s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 894s ok 1 /timeout/seconds 894s # slow test /timeout/seconds executed in 2.10 secs 896s ok 2 /timeout/seconds-once 896s # slow test /timeout/seconds-once executed in 2.10 secs 896s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 897s Executing: glib/timeout.test 898s ok 3 /timeout/weeks-overflow 898s # slow test /timeout/weeks-overflow executed in 2.10 secs 898s ok 4 /timeout/far-future-ready-time 902s Executing: glib/timeout.test 907s Executing: glib/timeout.test 909s ok 5 /timeout/rounding 909s # slow test /timeout/rounding executed in 10.65 secs 909s # End of timeout tests 909s PASS: glib/timeout.test 909s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 909s autopkgtest [12:50:17]: test timeout: -----------------------] 910s autopkgtest [12:50:18]: test timeout: - - - - - - - - - - results - - - - - - - - - - 910s timeout PASS 910s autopkgtest [12:50:18]: test timer: preparing testbed 911s Reading package lists... 911s Building dependency tree... 911s Reading state information... 912s Starting pkgProblemResolver with broken count: 0 912s Starting 2 pkgProblemResolver with broken count: 0 912s Done 912s The following NEW packages will be installed: 912s autopkgtest-satdep 912s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 912s Need to get 0 B/780 B of archives. 912s After this operation, 0 B of additional disk space will be used. 912s Get:1 /tmp/autopkgtest.4RlHhU/16-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 912s Selecting previously unselected package autopkgtest-satdep. 912s (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 ... 75225 files and directories currently installed.) 912s Preparing to unpack .../16-autopkgtest-satdep.deb ... 912s Unpacking autopkgtest-satdep (0) ... 912s Setting up autopkgtest-satdep (0) ... 914s (Reading database ... 75225 files and directories currently installed.) 915s Removing autopkgtest-satdep (0) ... 915s autopkgtest [12:50:23]: test timer: [----------------------- 915s Running test: glib/timer.test 915s TAP version 14 915s # random seed: R02S7586f65efdd3a0b958c75da33e378bc9 915s 1..10 915s # Start of timer tests 915s ok 1 /timer/basic 915s ok 2 /timer/stop 915s ok 3 /timer/continue 915s ok 4 /timer/reset 915s ok 5 /timer/is_active 915s # End of timer tests 915s # Start of timeval tests 915s ok 6 /timeval/add 915s ok 7 /timeval/from-iso8601 915s ok 8 /timeval/to-iso8601 915s # Start of to-iso8601 tests 915s ok 9 /timeval/to-iso8601/overflow 915s # End of to-iso8601 tests 915s # End of timeval tests 915s # Start of usleep tests 915s ok 10 /usleep/with-zero-wait 915s # End of usleep tests 915s PASS: glib/timer.test 915s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 916s autopkgtest [12:50:24]: test timer: -----------------------] 916s autopkgtest [12:50:24]: test timer: - - - - - - - - - - results - - - - - - - - - - 916s timer PASS 917s autopkgtest [12:50:25]: test 1065022-futureproofing: preparing testbed 1037s autopkgtest [12:52:25]: testbed dpkg architecture: ppc64el 1037s autopkgtest [12:52:25]: testbed apt version: 2.9.8 1037s autopkgtest [12:52:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1038s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 1038s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [16.5 kB] 1039s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [104 kB] 1039s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [967 kB] 1039s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 1039s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el Packages [107 kB] 1039s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe ppc64el Packages [668 kB] 1039s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse ppc64el Packages [20.4 kB] 1039s Fetched 1963 kB in 1s (2032 kB/s) 1039s Reading package lists... 1041s Reading package lists... 1041s Building dependency tree... 1041s Reading state information... 1042s Calculating upgrade... 1042s The following NEW packages will be installed: 1042s python3.13-gdbm 1042s The following packages will be upgraded: 1042s libpython3-stdlib python3 python3-gdbm python3-minimal 1042s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1042s Need to get 102 kB of archives. 1042s After this operation, 141 kB of additional disk space will be used. 1042s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-minimal ppc64el 3.12.7-1 [27.4 kB] 1042s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3 ppc64el 3.12.7-1 [24.0 kB] 1042s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el libpython3-stdlib ppc64el 3.12.7-1 [10.0 kB] 1042s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el python3.13-gdbm ppc64el 3.13.0-2 [31.5 kB] 1042s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main ppc64el python3-gdbm ppc64el 3.12.7-1 [8640 B] 1043s Fetched 102 kB in 0s (281 kB/s) 1043s (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 ... 73767 files and directories currently installed.) 1043s Preparing to unpack .../python3-minimal_3.12.7-1_ppc64el.deb ... 1043s Unpacking python3-minimal (3.12.7-1) over (3.12.6-0ubuntu1) ... 1043s Setting up python3-minimal (3.12.7-1) ... 1043s (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 ... 73767 files and directories currently installed.) 1043s Preparing to unpack .../python3_3.12.7-1_ppc64el.deb ... 1043s Unpacking python3 (3.12.7-1) over (3.12.6-0ubuntu1) ... 1043s Preparing to unpack .../libpython3-stdlib_3.12.7-1_ppc64el.deb ... 1043s Unpacking libpython3-stdlib:ppc64el (3.12.7-1) over (3.12.6-0ubuntu1) ... 1043s Selecting previously unselected package python3.13-gdbm. 1043s Preparing to unpack .../python3.13-gdbm_3.13.0-2_ppc64el.deb ... 1043s Unpacking python3.13-gdbm (3.13.0-2) ... 1043s Preparing to unpack .../python3-gdbm_3.12.7-1_ppc64el.deb ... 1043s Unpacking python3-gdbm:ppc64el (3.12.7-1) over (3.12.6-1ubuntu1) ... 1043s Setting up python3.13-gdbm (3.13.0-2) ... 1043s Setting up libpython3-stdlib:ppc64el (3.12.7-1) ... 1043s Setting up python3 (3.12.7-1) ... 1043s Setting up python3-gdbm:ppc64el (3.12.7-1) ... 1043s Processing triggers for man-db (2.12.1-3) ... 1044s Reading package lists... 1044s Building dependency tree... 1044s Reading state information... 1045s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1045s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 1045s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1045s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1045s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1046s Reading package lists... 1046s Reading package lists... 1047s Building dependency tree... 1047s Reading state information... 1047s Calculating upgrade... 1047s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1047s Reading package lists... 1048s Building dependency tree... 1048s Reading state information... 1048s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1052s Reading package lists... 1052s Building dependency tree... 1052s Reading state information... 1052s Starting pkgProblemResolver with broken count: 0 1052s Starting 2 pkgProblemResolver with broken count: 0 1052s Done 1053s The following additional packages will be installed: 1053s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1053s libdconf1 1053s Suggested packages: 1053s fakeroot 1053s The following NEW packages will be installed: 1053s autopkgtest-satdep dconf-gsettings-backend dconf-service dpkg-repack 1053s gsettings-desktop-schemas libdconf1 1053s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 1053s Need to get 150 kB/150 kB of archives. 1053s After this operation, 824 kB of additional disk space will be used. 1053s Get:1 /tmp/autopkgtest.4RlHhU/17-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [760 B] 1053s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el libdconf1 ppc64el 0.40.0-4build2 [44.0 kB] 1053s Get:3 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-service ppc64el 0.40.0-4build2 [31.1 kB] 1053s Get:4 http://ftpmaster.internal/ubuntu plucky/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-4build2 [26.5 kB] 1053s Get:5 http://ftpmaster.internal/ubuntu plucky/main ppc64el dpkg-repack all 1.54 [11.2 kB] 1053s Get:6 http://ftpmaster.internal/ubuntu plucky/main ppc64el gsettings-desktop-schemas all 47.1-1ubuntu1 [36.9 kB] 1053s Fetched 150 kB in 0s (364 kB/s) 1053s Selecting previously unselected package libdconf1:ppc64el. 1053s (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 ... 73774 files and directories currently installed.) 1053s Preparing to unpack .../0-libdconf1_0.40.0-4build2_ppc64el.deb ... 1053s Unpacking libdconf1:ppc64el (0.40.0-4build2) ... 1053s Selecting previously unselected package dconf-service. 1053s Preparing to unpack .../1-dconf-service_0.40.0-4build2_ppc64el.deb ... 1053s Unpacking dconf-service (0.40.0-4build2) ... 1053s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1053s Preparing to unpack .../2-dconf-gsettings-backend_0.40.0-4build2_ppc64el.deb ... 1053s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1053s Selecting previously unselected package dpkg-repack. 1053s Preparing to unpack .../3-dpkg-repack_1.54_all.deb ... 1053s Unpacking dpkg-repack (1.54) ... 1053s Selecting previously unselected package gsettings-desktop-schemas. 1053s Preparing to unpack .../4-gsettings-desktop-schemas_47.1-1ubuntu1_all.deb ... 1053s Unpacking gsettings-desktop-schemas (47.1-1ubuntu1) ... 1053s Selecting previously unselected package autopkgtest-satdep. 1053s Preparing to unpack .../5-17-autopkgtest-satdep.deb ... 1053s Unpacking autopkgtest-satdep (0) ... 1054s Setting up dpkg-repack (1.54) ... 1054s Setting up libdconf1:ppc64el (0.40.0-4build2) ... 1054s Setting up dconf-service (0.40.0-4build2) ... 1054s Setting up dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1054s Setting up gsettings-desktop-schemas (47.1-1ubuntu1) ... 1054s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1054s Processing triggers for man-db (2.12.1-3) ... 1054s Processing triggers for libglib2.0-0t64:ppc64el (2.82.1-0ubuntu1) ... 1054s Setting up autopkgtest-satdep (0) ... 1056s (Reading database ... 73842 files and directories currently installed.) 1056s Removing autopkgtest-satdep (0) ... 1063s autopkgtest [12:52:51]: test 1065022-futureproofing: [----------------------- 1063s + export DEBIAN_FRONTEND=noninteractive 1063s + n=0 1063s + failed=0 1063s + binary_package=libglib2.0-0t64 1063s + future_binary_package=libglib2.0-0xyz 1063s + pwd 1063s + srcdir=/tmp/autopkgtest.4RlHhU/build.7fc/src 1063s + mktemp -d 1063s + tmpdir=/tmp/tmp.X26PEttAly 1063s + cd /tmp/tmp.X26PEttAly 1063s + [ -e /tmp/autopkgtest.4RlHhU/build.7fc/src/debian/tests/manual/local-1065022.sources ] 1063s + dpkg-query -W dpkg-repack 1063s + dpkg-repack --generate libglib2.0-0t64 1063s dpkg-repack 1.54 1064s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1064s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.OmRwHa for libglib2.0-0t64 1064s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.OmRwHa ." 1064s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.OmRwHa/DEBIAN/control 1064s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.OmRwHa/DEBIAN/control 1064s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.OmRwHa/DEBIAN/control 1064s + 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.OmRwHa/DEBIAN/control 1064s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.OmRwHa libglib2.0-0xyz.deb 1064s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1065s + apt-get -y install ./libglib2.0-0xyz.deb 1066s Reading package lists... 1066s Building dependency tree... 1066s Reading state information... 1066s The following packages were automatically installed and are no longer required: 1066s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 1066s libcurl3t64-gnutls libflashrom1 libftdi1-2 libgpgme11t64 libjq1 1066s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 1066s python3-apport python3-certifi python3-chardet python3-configobj 1066s python3-debconf python3-markdown-it python3-mdurl python3-openssl 1066s python3-problem-report python3-pygments python3-requests python3-rich 1066s python3-systemd python3-urllib3 1066s Use 'sudo apt autoremove' to remove them. 1066s The following additional packages will be installed: 1066s xdg-user-dirs 1066s Suggested packages: 1066s low-memory-monitor 1066s Recommended packages: 1066s shared-mime-info 1066s The following packages will be REMOVED: 1066s apport apport-core-dump-handler bolt cloud-init dconf-gsettings-backend 1066s dconf-service fwupd gir1.2-girepository-2.0 gir1.2-glib-2.0 1066s gsettings-desktop-schemas libblockdev-crypto3 libblockdev-fs3 1066s libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 1066s libblockdev-swap3 libblockdev-utils3 libblockdev3 libdconf1 libfwupd2 1066s libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0 libgusb2 libjcat1 1066s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 1066s libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5 libqmi-proxy 1066s libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 netplan-generator 1066s netplan.io networkd-dispatcher python3-dbus python3-gi python3-netplan 1066s shared-mime-info ubuntu-minimal udisks2 1066s The following NEW packages will be installed: 1066s libglib2.0-0xyz xdg-user-dirs 1066s 0 upgraded, 2 newly installed, 48 to remove and 0 not upgraded. 1066s Need to get 20.2 kB/1804 kB of archives. 1066s After this operation, 37.7 MB disk space will be freed. 1066s Get:1 /tmp/tmp.X26PEttAly/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.82.1-0ubuntu1 [1784 kB] 1066s Get:2 http://ftpmaster.internal/ubuntu plucky/main ppc64el xdg-user-dirs ppc64el 0.18-1build1 [20.2 kB] 1067s Fetched 20.2 kB in 0s (90.0 kB/s) 1067s (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 ... 73842 files and directories currently installed.) 1067s Removing bolt (0.9.8-1) ... 1067s Removing cloud-init (24.4~3+really24.3.1-0ubuntu4) ... 1068s Removing gsettings-desktop-schemas (47.1-1ubuntu1) ... 1068s Removing dconf-gsettings-backend:ppc64el (0.40.0-4build2) ... 1068s Removing dconf-service (0.40.0-4build2) ... 1068s Removing fwupd (1.9.26-2) ... 1068s Removing networkd-dispatcher (2.2.4-1.1) ... 1069s Removing udisks2 (2.10.1-11ubuntu1) ... 1069s Removing libblockdev-crypto3:ppc64el (3.2.1-1) ... 1069s Removing libblockdev-fs3:ppc64el (3.2.1-1) ... 1069s Removing libblockdev-loop3:ppc64el (3.2.1-1) ... 1069s Removing libblockdev-mdraid3:ppc64el (3.2.1-1) ... 1069s Removing libblockdev-nvme3:ppc64el (3.2.1-1) ... 1069s Removing libblockdev-part3:ppc64el (3.2.1-1) ... 1069s Removing libblockdev-swap3:ppc64el (3.2.1-1) ... 1069s Removing libblockdev3:ppc64el (3.2.1-1) ... 1069s Removing libblockdev-utils3:ppc64el (3.2.1-1) ... 1069s Removing libdconf1:ppc64el (0.40.0-4build2) ... 1069s Removing libfwupd2:ppc64el (1.9.26-2) ... 1069s Removing shared-mime-info (2.4-5) ... 1069s Removing python3-dbus (1.3.2-5build3) ... 1070s Removing libgudev-1.0-0:ppc64el (1:238-5ubuntu1) ... 1070s Removing libgusb2:ppc64el (0.4.9-1) ... 1070s Removing libjcat1:ppc64el (0.2.0-2build3) ... 1070s Removing libjson-glib-1.0-0:ppc64el (1.10.0+ds-2) ... 1070s Removing libqmi-proxy (1.35.2-0ubuntu2) ... 1070s Removing libqmi-glib5:ppc64el (1.35.2-0ubuntu2) ... 1070s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 1070s Removing libmbim-glib4:ppc64el (1.31.2-0ubuntu4) ... 1070s Removing libmm-glib0:ppc64el (1.23.4-0ubuntu2) ... 1070s Removing ubuntu-minimal (1.543) ... 1070s Removing netplan.io (1.1.1-1) ... 1070s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 1070s Removing python3-netplan (1.1.1-1) ... 1070s Removing netplan-generator (1.1.1-1) ... 1070s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 1070s Removing libnetplan1:ppc64el (1.1.1-1) ... 1070s Removing libpolkit-agent-1-0:ppc64el (124-2ubuntu1) ... 1070s Removing libpolkit-gobject-1-0:ppc64el (124-2ubuntu1) ... 1070s Removing libqrtr-glib0:ppc64el (1.2.2-1ubuntu4) ... 1070s Removing libudisks2-0:ppc64el (2.10.1-11ubuntu1) ... 1070s Removing libvolume-key1:ppc64el (0.3.12-8) ... 1070s Removing libxmlb2:ppc64el (0.3.21-1) ... 1071s Removing apport (2.30.0-0ubuntu5) ... 1071s Removing apport-core-dump-handler (2.30.0-0ubuntu5) ... 1072s Removing python3-gi (3.50.0-3) ... 1072s Removing gir1.2-girepository-2.0:ppc64el (1.80.1-4) ... 1072s Removing gir1.2-glib-2.0:ppc64el (2.82.1-0ubuntu1) ... 1072s Removing libgirepository-1.0-1:ppc64el (1.80.1-4) ... 1072s Removing libglib2.0-0t64:ppc64el (2.82.1-0ubuntu1) ... 1072s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1072s (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 ... 72786 files and directories currently installed.) 1072s Preparing to unpack .../libglib2.0-0xyz.deb ... 1072s Unpacking libglib2.0-0xyz:ppc64el (2.82.1-0ubuntu1) ... 1072s Selecting previously unselected package xdg-user-dirs. 1072s Preparing to unpack .../xdg-user-dirs_0.18-1build1_ppc64el.deb ... 1072s Unpacking xdg-user-dirs (0.18-1build1) ... 1072s Setting up xdg-user-dirs (0.18-1build1) ... 1072s Setting up libglib2.0-0xyz:ppc64el (2.82.1-0ubuntu1) ... 1072s No schema files found: removed existing output file. 1072s Processing triggers for dbus (1.14.10-4ubuntu5) ... 1072s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1072s Processing triggers for man-db (2.12.1-3) ... 1074s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1074s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1074s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1074s + n=1 1074s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1074s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1074s + failed=1 1074s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1074s + n=2 1074s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1074s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1074s + failed=1 1074s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1074s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1074s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1074s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1074s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1074s + n=3 1074s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1074s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1074s + failed=1 1074s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1074s + n=4 1074s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1074s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1074s + failed=1 1074s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1074s + n=5 1074s + test -e /usr/lib/*/gio/modules/giomodule.cache 1074s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1074s + failed=1 1074s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1074s + n=6 1074s + test -s /usr/lib/*/gio/modules/giomodule.cache 1074s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1074s + failed=1 1074s + apt-get -y purge libglib2.0-0t64 1074s Reading package lists... 1074s Building dependency tree... 1074s Reading state information... 1074s The following packages were automatically installed and are no longer required: 1074s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 1074s libcurl3t64-gnutls libflashrom1 libftdi1-2 libgpgme11t64 libjq1 1074s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 1074s python3-apport python3-certifi python3-chardet python3-configobj 1074s python3-debconf python3-markdown-it python3-mdurl python3-openssl 1074s python3-problem-report python3-pygments python3-requests python3-rich 1074s python3-systemd python3-urllib3 1074s Use 'sudo apt autoremove' to remove them. 1074s The following packages will be REMOVED: 1074s libglib2.0-0t64* 1074s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1074s After this operation, 0 B of additional disk space will be used. 1074s (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 ... 72821 files and directories currently installed.) 1074s Purging configuration files for libglib2.0-0t64:ppc64el (2.82.1-0ubuntu1) ... 1075s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1075s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1075s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1075s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1075s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1075s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1075s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1075s + n=7 1075s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1075s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 1075s + failed=1 1075s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1075s + n=8 1075s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1075s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 1075s + failed=1 1075s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 1075s + n=9 1075s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1075s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1075s + failed=1 1075s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 1075s + n=10 1075s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 1075s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 1075s + failed=1 1075s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 1075s + n=11 1075s + test -e /usr/lib/*/gio/modules/giomodule.cache 1075s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 1075s + failed=1 1075s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 1075s + n=12 1075s + test -s /usr/lib/*/gio/modules/giomodule.cache 1075s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 1075s + failed=1 1075s + apt-get -y purge libglib2.0-0xyz 1075s Reading package lists... 1075s Building dependency tree... 1075s Reading state information... 1075s The following packages were automatically installed and are no longer required: 1075s apport-symptoms jq libatasmart4 libatomic1 libbytesize-common libbytesize1 1075s libcurl3t64-gnutls libflashrom1 libftdi1-2 libglib2.0-data libgpgme11t64 1075s libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 1075s libprotobuf-c1 python3-apport python3-certifi python3-chardet 1075s python3-configobj python3-debconf python3-markdown-it python3-mdurl 1075s python3-openssl python3-problem-report python3-pygments python3-requests 1075s python3-rich python3-systemd python3-urllib3 xdg-user-dirs 1075s Use 'sudo apt autoremove' to remove them. 1075s The following packages will be REMOVED: 1075s libglib2.0-0xyz* 1076s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1076s After this operation, 6008 kB disk space will be freed. 1076s (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 ... 72821 files and directories currently installed.) 1076s Removing libglib2.0-0xyz:ppc64el (2.82.1-0ubuntu1) ... 1076s Processing triggers for libc-bin (2.40-1ubuntu3) ... 1076s (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 ... 72796 files and directories currently installed.) 1076s Purging configuration files for libglib2.0-0xyz:ppc64el (2.82.1-0ubuntu1) ... 1076s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1076s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1076s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1076s + n=13 1076s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1076s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1076s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1076s + n=14 1076s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1076s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1076s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 1076s + n=15 1076s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 1076s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1076s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 1076s + assert_notok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1076s 1..16 1076s test -e /usr/lib/*/gio/modules/giomodule.cache 1076s + n=16 1076s + test -e /usr/lib/*/gio/modules/giomodule.cache 1076s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 1076s + echo 1..16 1076s + exit 1 1076s autopkgtest [12:53:04]: test 1065022-futureproofing: -----------------------] 1077s autopkgtest [12:53:05]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1077s 1065022-futureproofing FLAKY non-zero exit status 1 1077s autopkgtest [12:53:05]: @@@@@@@@@@@@@@@@@@@@ summary 1077s build PASS (superficial) 1077s build-static PASS (superficial) 1077s installed-tests PASS 1077s closure-refcount PASS 1077s debugcontroller PASS 1077s gdbus-server-auth PASS 1077s gdbus-threading PASS 1077s gmenumodel PASS 1077s mainloop PASS 1077s memory-monitor-dbus PASS 1077s socket PASS 1077s testfilemonitor PASS 1077s thread-pool-slow PASS 1077s threadtests PASS 1077s timeout PASS 1077s timer PASS 1077s 1065022-futureproofing FLAKY non-zero exit status 1 1082s nova [W] Using flock in prodstack6-ppc64el 1082s Creating nova instance adt-plucky-ppc64el-glib2.0-20241113-123508-juju-7f2275-prod-proposed-migration-environment-15-e44635f6-3cc2-45fb-8f64-3dd1fcfe7f7e from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)... 1082s nova [W] Using flock in prodstack6-ppc64el 1082s flock: timeout while waiting to get lock 1082s Creating nova instance adt-plucky-ppc64el-glib2.0-20241113-123508-juju-7f2275-prod-proposed-migration-environment-15-e44635f6-3cc2-45fb-8f64-3dd1fcfe7f7e from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)... 1082s nova [W] Using flock in prodstack6-ppc64el 1082s flock: timeout while waiting to get lock 1082s Creating nova instance adt-plucky-ppc64el-glib2.0-20241113-123508-juju-7f2275-prod-proposed-migration-environment-15-e44635f6-3cc2-45fb-8f64-3dd1fcfe7f7e from image adt/ubuntu-plucky-ppc64el-server-20241113.img (UUID 0c5715b6-5cca-4485-b8bf-b85dfd917a5f)...